[CentOS-announce] CESA-2008:0153 Important CentOS 4 ia64 cups - security update

2008-02-27 Thread Pasi Pirhonen
CentOS Errata and Security Advisory 2009:0153

https://rhn.redhat.com/errata/RHSA-2008-0153.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

ia64:
updates/ia64/RPMS/cups-1.1.17-13.3.51.ia64.rpm
updates/ia64/RPMS/cups-devel-1.1.17-13.3.51.ia64.rpm
updates/ia64/RPMS/cups-libs-1.1.17-13.3.51.ia64.rpm


-- 
Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/
Top-postings silently ignored


signature.asc
Description: Digital signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2008:0161 Important CentOS 4 ia64 cups - security update

2008-02-27 Thread Pasi Pirhonen
CentOS Errata and Security Advisory 2009:0161

https://rhn.redhat.com/errata/RHSA-2008-0161.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

ia64:
updates/ia64/RPMS/cups-1.1.22-0.rc1.9.20.2.c4.5.ia64.rpm
updates/ia64/RPMS/cups-devel-1.1.22-0.rc1.9.20.2.c4.5.ia64.rpm
updates/ia64/RPMS/cups-libs-1.1.22-0.rc1.9.20.2.c4.5.ia64.rpm


-- 
Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/
Top-postings silently ignored


signature.asc
Description: Digital signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2008:0153 Important CentOS 3 s390(x) cups - security update

2008-02-27 Thread Pasi Pirhonen
CentOS Errata and Security Advisory 2009:0153

https://rhn.redhat.com/errata/RHSA-2008-0153.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

s390:
updates/s390/RPMS/cups-1.1.17-13.3.51.s390.rpm
updates/s390/RPMS/cups-devel-1.1.17-13.3.51.s390.rpm
updates/s390/RPMS/cups-libs-1.1.17-13.3.51.s390.rpm

s390x:
updates/s390x/RPMS/cups-1.1.17-13.3.51.s390x.rpm
updates/s390x/RPMS/cups-devel-1.1.17-13.3.51.s390x.rpm
updates/s390x/RPMS/cups-libs-1.1.17-13.3.51.s390x.rpm


-- 
Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/
Top-postings silently ignored


signature.asc
Description: Digital signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


[CentOS-announce] CESA-2008:0161 Important CentOS 4 s390(x) cups - security update

2008-02-27 Thread Pasi Pirhonen
CentOS Errata and Security Advisory 2009:0161

https://rhn.redhat.com/errata/RHSA-2008-0161.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

s390:
updates/s390/RPMS/cups-1.1.22-0.rc1.9.20.2.c4.5.s390.rpm
updates/s390/RPMS/cups-devel-1.1.22-0.rc1.9.20.2.c4.5.s390.rpm
updates/s390/RPMS/cups-libs-1.1.22-0.rc1.9.20.2.c4.5.s390.rpm

s390x:
updates/s390x/RPMS/cups-1.1.22-0.rc1.9.20.2.c4.5.s390x.rpm
updates/s390x/RPMS/cups-devel-1.1.22-0.rc1.9.20.2.c4.5.s390x.rpm
updates/s390x/RPMS/cups-libs-1.1.22-0.rc1.9.20.2.c4.5.s390x.rpm


-- 
Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/
Top-postings silently ignored


signature.asc
Description: Digital signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


Re: [CentOS-es] RE: Problema con Squid

2008-02-27 Thread jacass cruz
Umm..borra esos simples logs, no creo que pase nada..

root ] # echo   *.log
has un backup porsiaca..


2008/2/26, Hector Martínez Romo [EMAIL PROTECTED]:

 Muchas gracias Michel, con find . -exec rm {} \; los pude borrar.

 Aun así sigo teniendo problemas, en el access.log encontré lo
 siguiente

 2008-02-26 08:00:00 [4129] recalculating alarm in 30 seconds
 2008-02-26 08:00:00 [4130] recalculating alarm in 30 seconds
 2008-02-26 08:00:00 [4131] recalculating alarm in 30 seconds
 2008-02-26 08:00:00 [4132] recalculating alarm in 30 seconds
 2008-02-26 08:00:00 [4133] recalculating alarm in 30 seconds
 2008-02-26 08:00:30 [4129] recalculating alarm in 30 seconds
 2008-02-26 08:00:30 [4130] recalculating alarm in 30 seconds
 2008-02-26 08:00:30 [4131] recalculating alarm in 30 seconds
 2008-02-26 08:00:30 [4132] recalculating alarm in 30 seconds
 2008-02-26 08:00:30 [4133] recalculating alarm in 30 seconds
 2008-02-26 08:01:00 [4129] recalculating alarm in 30540 seconds
 2008-02-26 08:01:00 [4130] recalculating alarm in 30540 seconds
 2008-02-26 08:01:00 [4131] recalculating alarm in 30540 seconds
 2008-02-26 08:01:00 [4132] recalculating alarm in 30540 seconds
 2008-02-26 08:01:00 [4133] recalculating alarm in 30540 seconds
 2008-02-26 08:05:33 [4129] squidGuard stopped (1204023933.343)
 2008-02-26 08:05:33 [4131] squidGuard stopped (1204023933.343)
 2008-02-26 08:05:33 [4130] squidGuard stopped (1204023933.343)
 2008-02-26 08:05:33 [4133] squidGuard stopped (1204023933.343)
 2008-02-26 08:05:33 [4132] squidGuard stopped (1204023933.345)
 2008/02/26 08:05:36| Starting Squid Cache version 2.5.STABLE3 for
 i386-redhat-linux-gnu...
 2008-02-26 08:05:36 [4669] (squidguard): can't write to logfile
 /var/log/squidguard/squidGuard.log
 2008-02-26 08:05:36 [4669] init domainlist
 /etc/squid/filtros/denegados/porn/domains
 2008-02-26 08:05:36 [4670] (squidguard): can't write to logfile
 /var/log/squidguard/squidGuard.log
 2008-02-26 08:05:36 [4670] init domainlist
 /etc/squid/filtros/denegados/porn/domains
 2008-02-26 08:05:36 [4671] (squidguard): can't write to logfile
 /var/log/squidguard/squidGuard.log
 2008-02-26 08:05:36 [4671] init domainlist
 /etc/squid/filtros/denegados/porn/domains
 2008-02-26 08:05:36 [4672] (squidguard): can't write to logfile
 /var/log/squidguard/squidGuard.log
 2008-02-26 08:05:36 [4672] init domainlist
 /etc/squid/filtros/denegados/porn/domains
 2008-02-26 08:05:36 [4673] (squidguard): can't write to logfile
 /var/log/squidguard/squidGuard.log
 2008-02-26 08:05:36 [4673] init domainlist
 /etc/squid/filtros/denegados/porn/domains
 2008-02-26 08:05:41 [4673] init urllist
 /etc/squid/filtros/denegados/porn/urls
 2008-02-26 08:05:41 [4672] init urllist
 /etc/squid/filtros/denegados/porn/urls
 2008-02-26 08:05:41 [4669] init urllist
 /etc/squid/filtros/denegados/porn/urls
 2008-02-26 08:05:42 [4673] init expressionlist
 /etc/squid/filtros/denegados/porn/expressions
 2008-02-26 08:05:42 [4673] init domainlist
 /etc/squid/filtros/denegados/hacking/domains
 2008-02-26 08:05:42 [4673] init urllist
 /etc/squid/filtros/denegados/hacking/urls
 2008-02-26 08:05:42 [4673] init domainlist
 /etc/squid/filtros/denegados/warez/domains
 2008-02-26 08:05:42 [4673] init urllist
 /etc/squid/filtros/denegados/warez/urls
 2008-02-26 08:05:42 [4673] init domainlist
 /etc/squid/filtros/denegados/music/domains
 2008-02-26 08:05:42 [4671] init urllist
 /etc/squid/filtros/denegados/porn/urls
 2008-02-26 08:05:42 [4672] init expressionlist
 /etc/squid/filtros/denegados/porn/expressions
 2008-02-26 08:05:42 [4672] init domainlist
 /etc/squid/filtros/denegados/hacking/domains


 Y en squidguard.log 

 2008-02-26 09:52:44 [5233] init domainlist
 /etc/squid/filtros/denegados/porn/domains
 2008-02-26 09:52:44 [5234] init domainlist
 /etc/squid/filtros/denegados/porn/domains
 2008-02-26 09:52:44 [5235] init domainlist
 /etc/squid/filtros/denegados/porn/domains
 2008-02-26 09:52:44 [5236] init domainlist
 /etc/squid/filtros/denegados/porn/domains
 2008-02-26 09:52:44 [5237] init domainlist
 /etc/squid/filtros/denegados/porn/domains
 2008-02-26 09:52:49 [5233] init urllist
 /etc/squid/filtros/denegados/porn/urls
 2008-02-26 09:52:49 [5237] init urllist
 /etc/squid/filtros/denegados/porn/urls
 2008-02-26 09:52:49 [5236] init urllist
 /etc/squid/filtros/denegados/porn/urls
 2008-02-26 09:52:49 [5234] init urllist
 /etc/squid/filtros/denegados/porn/urls
 2008-02-26 09:52:49 [5233] init expressionlist
 /etc/squid/filtros/denegados/porn/expressions
 2008-02-26 09:52:49 [5233] init domainlist
 /etc/squid/filtros/denegados/hacking/domains
 2008-02-26 09:52:49 [5233] init urllist
 /etc/squid/filtros/denegados/hacking/urls
 2008-02-26 09:52:49 [5233] init domainlist
 /etc/squid/filtros/denegados/warez/domains
 2008-02-26 09:52:49 [5233] init urllist
 /etc/squid/filtros/denegados/warez/urls
 2008-02-26 09:52:49 [5233] init domainlist
 /etc/squid/filtros/denegados/music/domains
 2008-02-26 09:52:49 [5237] init 

Re: [CentOS] bash - safely pass untrusted strings?

2008-02-27 Thread Garrick Staples
On Tue, Feb 26, 2008 at 11:16:27PM -0600, Les Mikesell alleged:
 Yes, but I'm looking for what happens before and after.  Why does
 unset foo
 foo=bar $foo

This is interesting.  I would have guessed a syntax error.  I was surprised
when it worked.

This is a special case because there isn't a command being executed.  I can't
find this syntax in the manpage but it is behaving like two different
expressions because the variable is getting set in the _current_ shell:

  $ unset foo
  $ foo=bar $foo
  $ echo $foo
  bar

So it syntactical equivalent with:
  foo=bar; $foo

In the end, I think this may be a parsing bug.


 do something you might expect, but
 unset foo
 foo=bar echo  $foo $foo
 doesn't?
 
 Or why doesn't
 unset foo
 foo=bar echo $foo
 work like you'd expect while
 unset foo
 foo=bar some_other_command
 will put foo in the environment for the other command?

These examples do make sense to me.  They put foo in the env of the commands
(meaning, inside of the child process), but the string has already been
interpreted before execution.  some_other_command is free to use $foo
internally, but its args will be interpreted by the _current_ shell.

Looking at the second example, the first thing we see is variable replacement
turning it into 'foo=bar echo'; which then executes as you'd expect.

Also, I think these examples are a bit forced because it's not how you would do
it.  The point of supplying the env is for the use of child processes.  'echo'
is a shell-builtin.  The correct way is:
  (foo=bar; echo $foo)

Or a less likely:
  foo=bar eval echo \$foo


 
 Quotes are
 obeyed the entire time, but are actually _removed_ after the expansion.  
 And
 finally, file descriptors are opened the command is executed.
 
 And how does this relate to ||,  and things on the right hand side of 
 |'s in terms of evaluation order and side effects?

The boolean operators are not part of the expressions.  They are looked at
first to divide the string into expressions.

 
 I don't think you can write a simple list because the actual process is too
 complex.  It would really be a tree or flowchart.
 
 I'm sure I saw a simple list of the order of operations for the bourne 
 shell years ago with about 6 steps and which are repeated if you add an 
 eval to the line.  Bash handles some more complex expressions, but it 
 must still do the steps in the same order to be compatible.  You really 
 need to know this to do anything even slightly complicated and I'm 
 having trouble finding it again.

Well, let us know if you find it :)

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


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


[CentOS] CentOS-announce Digest, Vol 36, Issue 14

2008-02-27 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
[EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
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-announce digest...


Today's Topics:

   1. CESA-2008:0161 Important CentOS 5 x86_64 cups -   security
  update (Johnny Hughes)
   2. CESA-2008:0161 Important CentOS 5 i386 cups - security update
  (Johnny Hughes)


--

Message: 1
Date: Tue, 26 Feb 2008 08:54:28 -0600
From: Johnny Hughes [EMAIL PROTECTED]
Subject: [CentOS-announce] CESA-2008:0161 Important CentOS 5 x86_64
cups -  security update
To: CentOS-Announce [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

CentOS Errata and Security Advisory 2009:0161

https://rhn.redhat.com/errata/RHSA-2008-0161.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

x86_64:
cups-1.1.22-0.rc1.9.20.2.el4_6.5.x86_64.rpm
cups-devel-1.1.22-0.rc1.9.20.2.el4_6.5.x86_64.rpm
cups-libs-1.1.22-0.rc1.9.20.2.el4_6.5.i386.rpm
cups-libs-1.1.22-0.rc1.9.20.2.el4_6.5.x86_64.rpm

src:
cups-1.1.22-0.rc1.9.20.2.el4_6.5.src.rpm

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20080226/c4dc6d9b/signature-0001.bin

--

Message: 2
Date: Tue, 26 Feb 2008 08:54:40 -0600
From: Johnny Hughes [EMAIL PROTECTED]
Subject: [CentOS-announce] CESA-2008:0161 Important CentOS 5 i386 cups
-   security update
To: CentOS-Announce [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

CentOS Errata and Security Advisory 2009:0161

https://rhn.redhat.com/errata/RHSA-2008-0161.html

The following updated files have been uploaded and are currently
syncing to the mirrors:

i386:
cups-1.1.22-0.rc1.9.20.2.el4_6.5.i386.rpm
cups-devel-1.1.22-0.rc1.9.20.2.el4_6.5.i386.rpm
cups-libs-1.1.22-0.rc1.9.20.2.el4_6.5.i386.rpm

src:
cups-1.1.22-0.rc1.9.20.2.el4_6.5.src.rpm

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : 
http://lists.centos.org/pipermail/centos-announce/attachments/20080226/2de23e13/signature-0001.bin

--

___
CentOS-announce mailing list
[EMAIL PROTECTED]
http://lists.centos.org/mailman/listinfo/centos-announce


End of CentOS-announce Digest, Vol 36, Issue 14
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Huge mailq

2008-02-27 Thread Christopher Chan

Benjamin Smith wrote:

On Monday 25 February 2008, Christopher Chan wrote:

Hmm...it will still build. To really fix it, you need to do one more step:

rpm -e --nodeps sendmail

Now that is a permanent solution.


Like a hand grenade is a solution. Not likely to help him much, tho. =/ 
Doesn't even begin to address his situation since sendmail wasn't the problem 
to begin with. 


Whooosh! Did you see that flying over your head?



Seems to me that it's a bad idea to use NFS as a mail store. For example, the 
RedHat documentation specifically recommends strongly *against* it. Very 
flatly: 


/me shrugs. Pick your poison. Besides, Redhat is not the absolute 
authority on how to run a mail system.





Never put the mail spool directory, /var/spool/mail/, on an NFS shared
volume. 


http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/s1-server-mail.html

Also, NFS has various locking problems which prevent its use in a proper mail 
cluster. Read up on sendmail's mbox vs qmail's maildir for more details. Not 
suggesting that you switch to qmail, with it's recompile the whole [EMAIL PROTECTED] 
thing every time you change a config option mentality, but it's useful 
information nonetheless, especially when you get into having multiple mail 
receipt hosts. 


procmail, postfix local, maildrop all support maildir. qmail is not even 
necessary. Or is this your excuse to do a bit of qmail bashing?




The additional complexity of NFS is what seems to have caused this gentleman's 
problem - not only did sendmail itself have to work properly, so did NFS, 
DNS, and the spam filter.  


Yawn. postfix + mysql + courier-authlib + cyrus-sasl + vpopmail + 
spamassassin + clamav + maildrop.




How to avoid it? Either: 

1) Reduce complexity. (get rid of the need for DNS, NFS, etc. or 


What is your proposal for getting rid of DNS? I, for one, would like to 
see how you intend to make email work without dns.




2) Beef up the various pieces so they don't fail - make sure you are using 
high quality servers and equipment, or 

3) Increase redundancy, so that no single point of failure exists. 

Why is he depending on a single DNS server? Why is he using NFS, with it's 
implicit single-point-of-failure rather than GlusterFS, which provides 
multiple-primary-host redundancy and automatic failover?  
http://www.gluster.org/




I do not know the answer to that one hotshot. Maybe you can ask the OP 
nicely?


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


[CentOS] Xen or VMWARE on CentOS 5

2008-02-27 Thread Ern jura
Does anyone out there have a comprehensive tutorial on installing VMware and
successfully managing virtual machines with either xen or vmware?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum not updating kernel

2008-02-27 Thread Johnny Hughes

Bob Taylor wrote:

On Tue, 2008-02-26 at 16:09 -0600, Johnny Hughes wrote:

[snip]
 

Would anaconda even allow C5 to install on such a class cpu?
no ... and we have no i386 kernel ... no idea how that file got changed, 
but the only code to make it happen would be a pentium classic 
processor.  C5 would just die, as there is not one. (c4 too)


OK! Thanks Johnny. You just confirmed a bug here. Now I will, as time
allows, see if I can discover why /etc/rpm/platform is incorrect. Since
the file is in an rpm directory, shall I look at rpm? I promise *not* to
begin another thread like this one! I'm a nice guy, really!



This file (/etc/rpm/platform) is created by anaconda on install and is 
NOT owned by RPM or any other package.  It is USED by rpm to determine 
your real arch where there are possibly multiple arches (based on your 
processor type).


I[3,4,5,6]86 packages can coexist with each other in an i386 distro 
install, however you can not install an i386 package and another 
i[4,5,6]86 package with the same Name and Epoch-Version-Release (EVR) at 
the same time.  On Red Hat based distros, /etc/rpm/platform is used to 
define the main arch where more than one (based on the processor) could 
be main.


Also I[3,4,5,6]86 packages can exist in an x86_64 arch install and 
I[3,4,5,6]86 packages can exist in an ia64 arch install. These (x86_64 
and ia64) are 64bit/32bit library (aka multilib) arches.  They can have 
lib64 and lib directories and have both an i[3,4,5,6]86 package and an 
x86_64 (or ia64) package installed that have the same Name and EVR.


Other examples of 32bit/64bit (multilib) arches are s390 and s390x, ppc 
and ppc64, and finally sparc and sparc64.  In each of these you can have 
a 32bit (lib) and a 64bit (lib64) package of the same Name and EVR 
installed at the same time.



So, on x86_64, you CAN have glibc.x86_64 and glibc.i686. On sparc, you 
CAN have glibc.sparc and glibc.sparc64 .. but on i386 you CAN NOT have 
glibc.i386 and glibc.i686.


I can think of nothing that will (or should) change that file 
(/etc/rpm/platform) except running anaconda (the installer from a CentOS 
CD / DVD).


If something does modify that file it is definitely a bug.  Well, if you 
are BUILDING files with rpmbuild then sometimes on some of the multilib 
arches you might want to change /etc/rpm/platform to get specific 
results ... but that would be a controlled process and I know of no 
packages that do it automatically.


Some of the links by Ross seem to indicate that unixODBC-devel might 
impact /etc/rpm/platform ... however the version i386 version in 
centos-5 does not seem to as I have installed it several times for 
testing and it did not change my /etc/rpm/platform.


I have looked at several i386 machines, and all of them have an 
/etc/rpm/platform that is created on the install date, none of them have 
a file that has been modified.


If we can nail down something that changed /etc/rpm/platform it would be 
good, as that file should never change.


Thanks,
Johnny Hughes



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xen or VMWARE on CentOS 5

2008-02-27 Thread Rudi Ahlers



Ross S. W. Walker wrote:


I'm not a big fan of Redhat's version of Xen and use the Xen 3.2 
packages from xen.org as it has better management features through 
'xm'. You will need to compile your own for 64-bit though as they only 
provide 32-bit binaries by default and if you want to run Xen as a 
hosting server you really must use 64-bit, but thankfully they provide 
the SRPM for it which makes that trivial.


As far as VMware goes. It works exactly as it does on Redhat 
Enterprise Linux, so if you go over to the VMware forums and search 
RHEL, those comments should apply equally well to CentOS.


-Ross


- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: CentOS mailing list centos@centos.org
Sent: Wed Feb 27 07:12:04 2008
Subject: [CentOS] Xen or VMWARE on CentOS 5

Does anyone out there have a comprehensive tutorial on installing 
VMware and successfully managing virtual machines with either xen or 
vmware?






Hi Ross

I'm looking for the same thing, but you have stirred somethings up in me.

If I want to setup CentOS 5.1 64bit, and make it a XEN host, then 
install CentOS 5.0 / FreeBSD 6.0 / Fedora Core 7 32bit guests on it, 
would it work well?


And if you say it needs to be pre-compiled, can you please tell me howto 
do this? What / which files do I need, and how do I get them to work on 
a 64bit CentOS 5.1?
Currently I'm busy creating a custom installation CD for CentOS 5.1 
64bit, and would like to then include the re-compiled XEN components in 
my kickstart. The installation CD installs the bare minimum for CentOS 
to run as an OS, since we're using cPanel - which installs the rest


Kind Regards
Rudi Ahlers
CEO, SoftDux


Web:   http://www.SoftDux.com
Forum: http://Forum.SoftDux.com

Join SA WebHostingTalk today, on http://www.WebHostingTalk.co.za


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


Re: [CentOS] Xen or VMWARE on CentOS 5

2008-02-27 Thread Ross S. W. Walker

I'm not a big fan of Redhat's version of Xen and use the Xen 3.2 packages from 
xen.org as it has better management features through 'xm'. You will need to 
compile your own for 64-bit though as they only provide 32-bit binaries by 
default and if you want to run Xen as a hosting server you really must use 
64-bit, but thankfully they provide the SRPM for it which makes that trivial.

As far as VMware goes. It works exactly as it does on Redhat Enterprise Linux, 
so if you go over to the VMware forums and search RHEL, those comments should 
apply equally well to CentOS.

-Ross


- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: CentOS mailing list centos@centos.org
Sent: Wed Feb 27 07:12:04 2008
Subject: [CentOS] Xen or VMWARE on CentOS 5

Does anyone out there have a comprehensive tutorial on installing VMware and 
successfully managing virtual machines with either xen or vmware?


__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] Xen or VMWARE on CentOS 5

2008-02-27 Thread Les Mikesell

Ern jura wrote:

Does anyone out there have a comprehensive tutorial on installing VMware and
successfully managing virtual machines with either xen or vmware?


VMware is pretty simple: download the server rpm, install it, run the 
vmware-config.pl setup script to set the options and install your (free) 
license key.  Then run vmware locally or from some other machine to 
access the console where you can create and start the virtual machines. 
 Once created, you can treat the virtual machines like they were 
separate physical boxes except that they contend for host resources (and 
once they are up on the network I prefer to connect directly to them 
with ssh, X, freenx, or vnc instead of using the VMware console.  You'll 
want plenty of RAM on the host machine and if you run several VM's they 
will perform better if you can spread them over different disk drives.


With VMware you can copy your disk images over to a Windows or Mac host 
and run them with no changes (Mac version isn't free, though).


--
  Les Mikesell
   [EMAIL PROTECTED]


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


Re: [CentOS] bash - safely pass untrusted strings?

2008-02-27 Thread Stephen Harris
On Tue, Feb 26, 2008 at 11:16:27PM -0600, Les Mikesell wrote:

 Yes, but I'm looking for what happens before and after.  Why does
 unset foo
 foo=bar $foo
 do something you might expect, but
 unset foo
 foo=bar echo  $foo $foo
 doesn't?

What would you expect the last to do? foo=bar echo $foo only sets foo
inside the scope of the echo statement, so in the scope of $foo the
variable is unset.  In the first case there's no command so the shell is
evaluating left-to-right and it works.   I actually wouldn't code written
that, myself!  Too close to obfuscation; much easier written as two lines;
  foo=bar
   $foo
for ease of understanding.

 Or why doesn't
 unset foo
 foo=bar echo $foo
 work like you'd expect while

It does work like I'd expect; $foo is evaulated by the current shell to be
null, and then it's set to bar for the execution of the echo statement.
But echo doesn't use the variable, it merely prints what was passed on
the command line (ie nothing)

 unset foo
 foo=bar some_other_command
 will put foo in the environment for the other command?

It worked the same in both cases.  Note
  foo=bar some_other_command $foo
will do the same as the echo case above.  eg

  bash-3.00$ ls
  bash-3.00$ touch file1 file2 file3
  bash-3.00$ foo=bar ls $foo
  file1  file2  file3

Remember, $foo is evaluated by the calling shell and not by the echo
sub-process (or builtin, depending on sh variant) nor the ls process,
and in that context it's still unset.

 And how does this relate to ||,  and things on the right hand side of 
 |'s in terms of evaluation order and side effects?

Mostly you can think of those things as causing subprocesses, so each part
can be wrapped in ( )
eg
  foo=bar a_command | env | grep foo
is close enough to
  ( foo=bar a_command ) | ( env ) | ( grep foo )
for evaluation purposes.

The foo variable is only set in the scope of a_command and so env never
sees it.

 I'm sure I saw a simple list of the order of operations for the bourne 
 shell years ago with about 6 steps and which are repeated if you add an 

I've never seen one.  I'm not even sure I could write one :-)

 must still do the steps in the same order to be compatible.  You really 
 need to know this to do anything even slightly complicated and I'm 

Not really.  Mostly if you find yourself hitting that sort of problem
then you're writing overly complicated code and are probably better off
refactoring it into something more readable.

I've been coding in ksh for 18 years now and haven't had to worry too
much about precedence that simple test cases can't answer for me.  And
that included 1100 line scripts than run a messaging system :-)

-- 

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


RE: [CentOS] Xen or VMWARE on CentOS 5

2008-02-27 Thread Ross S. W. Walker
Rudi Ahlers wrote:
 Ross S. W. Walker wrote:
 
  I'm not a big fan of Redhat's version of Xen and use the Xen 3.2 
  packages from xen.org as it has better management features through 
  'xm'. You will need to compile your own for 64-bit though as they only 
  provide 32-bit binaries by default and if you want to run Xen as a 
  hosting server you really must use 64-bit, but thankfully they provide 
  the SRPM for it which makes that trivial.
 
  As far as VMware goes. It works exactly as it does on Redhat 
  Enterprise Linux, so if you go over to the VMware forums and search 
  RHEL, those comments should apply equally well to CentOS.
 
  -Ross
 
 
  - Original Message -
  From: [EMAIL PROTECTED] [EMAIL PROTECTED]
  To: CentOS mailing list centos@centos.org
  Sent: Wed Feb 27 07:12:04 2008
  Subject: [CentOS] Xen or VMWARE on CentOS 5
 
  Does anyone out there have a comprehensive tutorial on installing 
  VMware and successfully managing virtual machines with 
 either xen or 
  vmware?
 
  
 --
 --
 
 
 Hi Ross
 
 I'm looking for the same thing, but you have stirred 
 somethings up in me.
 
 If I want to setup CentOS 5.1 64bit, and make it a XEN host, then 
 install CentOS 5.0 / FreeBSD 6.0 / Fedora Core 7 32bit guests on it, 
 would it work well?

Yes, 32-bit PVM on 64-bit host has been supported since 3.1 I believe,
32-bit HVM on 64-bit host has been supported even longer.

 And if you say it needs to be pre-compiled, can you please tell me howto 
 do this? What / which files do I need, and how do I get them to work on 
 a 64bit CentOS 5.1?

On the 64-bit development system, get the base development system
installed with,

# yum groupinstall development-tools

Get the kernel-devel includes and configs installed and rpmbuild
installed along with the redhat standard rpm config,

# yum install kernel-devel rpm-build redhat-rpm-config

Install xen.org's SRPM,

# rpm -ivh xen-3.2.0-0xs.centos5.src.rpm

'cd' into /usr/src/redhat/SPECS and do a,

# rpmbuild -ba xen.spec

'rpmbuild' will tell you what else you need to install to get it to
build fully. Tex/LaTex/Texi are the largest requirements to build, and
only for the documentation part, so if you comment out the documentation
and remove those build requirements you could get by with less.

 Currently I'm busy creating a custom installation CD for CentOS 5.1 
 64bit, and would like to then include the re-compiled XEN components in 
 my kickstart. The installation CD installs the bare minimum for CentOS 
 to run as an OS, since we're using cPanel - which installs the rest

Yes, we do PXE installs with kickstart here for bare metal and virtual
servers and have our own in-house repository for things like this and
some other third party software that isn't part of CentOS and it has
cut time to deploy new servers down to about 5 minutes.

-Ross



__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


[CentOS] put command is not working in tftp server

2008-02-27 Thread ankush grover
Hi Friends,

I am trying to  configure a tftp server on Centos 5.0. get command is
working fine but not the put command. I searched on the google and
tried few things like 777 on /tftpboot, changing ownership to nobody
on /tftpboot and also in /etc/xinetd.d/tftp, adding -c as server_args
but still the problem persists.

tftp -v localhost
Connected to localhost.localdomain (127.0.0.1), port 69
tftp put wine-core-0.9.50-1.el5.rf.i386.rpm
putting wine-core-0.9.50-1.el5.rf.i386.rpm to
localhost.localdomain:wine-core-0.9.50-1.el5.rf.i386.rpm [netascii]
Error code 1: File not found


tftp localhost
tftp get wine-core-0.9.50-1.el5.rf.i386.rpm


ls -la /etc/xinetd.d/tftp
-rw-r--r-- 1 root root 509 Feb 28 03:09 /etc/xinetd.d/tftp


cat /etc/xinetd.d/tftp | grep -v #
service tftp
{
socket_type  = dgram
protocol= udp
wait = yes
user = root
server   = /usr/sbin/in.tftpd
server_args   = -s /tftpboot
disable = no
per_source= 11
cps  = 100 2
flags   = IPv4
}


rpm -qa | grep tftp
tftp-server-0.42-3.1.el5.centos
tftp-0.42-3.1.el5.centos


Please let me know if you need any further inputs.


Thanks  Regards


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


Re: [CentOS] put command is not working in tftp server

2008-02-27 Thread nate
ankush grover wrote:

 Please let me know if you need any further inputs.

I'm not sure if it applies to all tftp servers but for
the most part the file your uploading must already exist
and be world writable.

touch /tftpboot/filename
chmod 666 /tftpboot/filename

then upload filename

(assuming /tftpboot/ is where your root is at)

nate

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


Re: [CentOS] Pointer to simple mail server setup?

2008-02-27 Thread centos

Steve,

The easiest way is to use SME Server which is based on CentOS.

Have a look at:

http://wiki.contribs.org/Main_Page

Rob

- Original Message - 
From: Steve Snyder [EMAIL PROTECTED]

To: CentOS Mailing List centos@centos.org
Sent: Tuesday, February 26, 2008 8:30 PM
Subject: [CentOS] Pointer to simple mail server setup?



Hello.

I need to set up a mail server for a small (~5 people) organization on 
CentOS 5.1.


While I am very familiar with CentOS and Linux in general, I have zero 
experience in setting up a POP3(s)/SMTP mail server.  I suppose 
eventually I'd like to do spam/virus filtering, but initially the simple 
sending/receiving of mail will be adequate.


Can someone point me to a tutorial on setting up a mail server on CentOS 
5?


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] bash - safely pass untrusted strings?

2008-02-27 Thread Jacques B.
Here's a little script that I have to play around with positional
parameters.  I'm pretty certain I did not author this one but got it
either off the web or ina  book.  I added a line of comment in it but
I don't believe I made any other contributions to it.

Jacques B.

#!/bin/bash
# arglist.sh
# Invoke this script with several arguments, such as
# ./scriptname one two three four five;six\ seven eight 'nine ten'


E_BADARGS=65

if [ ! -n $1 ]
then
  echo Usage: `basename $0` argument1 argument2 etc.
  exit $E_BADARGS
fi

echo

index=1  # Initialize count.

echo Listing args with \\$*\:
for arg in $*  # Doesn't work properly if $* isn't quoted.
do
  echo Arg #$index = $arg
  let index+=1
done # $* sees all arguments as single word.
echo Entire arg list seen as single word.

echo

index=1  # Reset count.
 # What happens if you forget to do this?

echo Listing args with \[EMAIL PROTECTED]:
for arg in $@
do
  echo Arg #$index = $arg
  let index+=1
done # $@ sees arguments as separate words.
echo Arg list seen as separate words.

echo

index=1  # Reset count.

echo Listing args with \$* (unquoted):
for arg in $*
do
  echo Arg #$index = $arg
  let index+=1
done # Unquoted $* sees arguments as separate words.
echo Arg list seen as separate words.

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


Re: [CentOS] put command is not working in tftp server

2008-02-27 Thread Lorenzo Quatrini

nate ha scritto:

ankush grover wrote:


Please let me know if you need any further inputs.


I'm not sure if it applies to all tftp servers but for
the most part the file your uploading must already exist
and be world writable.

touch /tftpboot/filename
chmod 666 /tftpboot/filename

then upload filename

(assuming /tftpboot/ is where your root is at)

nate



Yes, this is done for security reasons.
If you want you can override this adding the -c flag to the server_args line 
(server_args = -c -s /tftpboot)
but since there is no authentication anyone which can reach the server can 
write (or overwrite) anything on \tftpboot directory


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


Re: [CentOS] put command is not working in tftp server

2008-02-27 Thread ankush grover
On Wed, Feb 27, 2008 at 10:27 PM, Lorenzo Quatrini [EMAIL PROTECTED] wrote:
 nate ha scritto:

  ankush grover wrote:
  
   Please let me know if you need any further inputs.
  
   I'm not sure if it applies to all tftp servers but for
   the most part the file your uploading must already exist
   and be world writable.
  
   touch /tftpboot/filename
   chmod 666 /tftpboot/filename
  
   then upload filename
  
   (assuming /tftpboot/ is where your root is at)
  
   nate
  

  Yes, this is done for security reasons.
  If you want you can override this adding the -c flag to the server_args line
  (server_args = -c -s /tftpboot)
  but since there is no authentication anyone which can reach the server can
  write (or overwrite) anything on \tftpboot directory

  Lorenzo



Hi ,

Security is not an issue on this server as this is a testing server. I
added the -c parameter and now put command is working fine.

Thanks


Thanks  Regards

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


RE: [CentOS] Pointer to simple mail server setup?

2008-02-27 Thread Jonathan Dade
I would look at www.howtoforge.com then have a look for a redhat / centos mail 
server. You'll find a few there.

Good luck

Jonathan Dade
 

 

 
T. + 44 (0) 870 382 5529
MSN. [EMAIL PROTECTED]
 
M.+ 44 (0) 7912 407 901
Skype. jondade
 
F  +44 (0) 870 382 5520
 
www.jetnexus.com
 
jetNEXUS - 'We make web applications faster'
Please send all support related email to [EMAIL PROTECTED]



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, February 27, 2008 4:30 PM
To: CentOS mailing list
Subject: Re: [CentOS] Pointer to simple mail server setup?

Steve,

The easiest way is to use SME Server which is based on CentOS.

Have a look at:

http://wiki.contribs.org/Main_Page

Rob

- Original Message - 
From: Steve Snyder [EMAIL PROTECTED]
To: CentOS Mailing List centos@centos.org
Sent: Tuesday, February 26, 2008 8:30 PM
Subject: [CentOS] Pointer to simple mail server setup?


 Hello.
 
 I need to set up a mail server for a small (~5 people) organization on 
 CentOS 5.1.
 
 While I am very familiar with CentOS and Linux in general, I have zero 
 experience in setting up a POP3(s)/SMTP mail server.  I suppose 
 eventually I'd like to do spam/virus filtering, but initially the simple 
 sending/receiving of mail will be adequate.
 
 Can someone point me to a tutorial on setting up a mail server on CentOS 
 5?
 
 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

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.1/1299 - Release Date: 2/26/2008 9:08 
AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.1/1299 - Release Date: 2/26/2008 9:08 
AM
 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xen or VMWARE on CentOS 5

2008-02-27 Thread David Mackintosh
On Wed, Feb 27, 2008 at 08:03:09AM -0600, Les Mikesell wrote:
 Ern jura wrote:
 Does anyone out there have a comprehensive tutorial on installing VMware 
 and
 successfully managing virtual machines with either xen or vmware?
 
 VMware is pretty simple: download the server rpm, install it, run the 
 vmware-config.pl setup script to set the options and install your (free) 
 license key.  Then run vmware locally or from some other machine to 
 access the console where you can create and start the virtual machines. 
  Once created, you can treat the virtual machines like they were 
 separate physical boxes except that they contend for host resources (and 
 once they are up on the network I prefer to connect directly to them 
 with ssh, X, freenx, or vnc instead of using the VMware console.  You'll 
 want plenty of RAM on the host machine and if you run several VM's they 
 will perform better if you can spread them over different disk drives.
 
 With VMware you can copy your disk images over to a Windows or Mac host 
 and run them with no changes (Mac version isn't free, though).

This is pretty much what I do.  I also keep stock reference images
for each OS I support and copy from the reference image every time I
need to deploy a new VM.

I like the idea of Xen, but the documentation is a little thin
especially when it comes to installing useful things like Windows
VMs; I don't have the time to solve the problem properly, and I hope
that in a year or two I can change this.

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
 [EMAIL PROTECTED]  | http://www.xdroop.com


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


Re: [CentOS] bash - safely pass untrusted strings?

2008-02-27 Thread Les Mikesell

Stephen Harris wrote:


Yes, but I'm looking for what happens before and after.  Why does
unset foo
foo=bar $foo
do something you might expect, but
unset foo
foo=bar echo  $foo $foo
doesn't?


What would you expect the last to do? foo=bar echo $foo only sets foo
inside the scope of the echo statement, so in the scope of $foo the
variable is unset.  In the first case there's no command so the shell is
evaluating left-to-right and it works. 


How does the shell know that there's no command without evaluating, and 
if it evaluates left to right, why isn't the result the same?  Actually 
I found the answer to that, which is that

name=val command
 is processed like
(name=val; command)
 which also explains why the value isn't left lingering for the next 
operation.



I actually wouldn't code written
that, myself!  Too close to obfuscation; much easier written as two lines;
  foo=bar
   $foo
for ease of understanding.


I find it much easier to understand code written to keep setting/using 
values in the smallest scope possible.


And how does this relate to ||,  and things on the right hand side of 
|'s in terms of evaluation order and side effects?


Mostly you can think of those things as causing subprocesses, so each part
can be wrapped in ( )


Which would be more meaningful in a document that explains when and how 
the () tokens are handled...


I'm sure I saw a simple list of the order of operations for the bourne 
shell years ago with about 6 steps and which are repeated if you add an 


I've never seen one.  I'm not even sure I could write one :-)



Section 7.8 of this might be close to what I remember seeing.
http://books.google.com/books?id=_mbgnxL-QvoCpg=PA140lpg=PA140dq=shell+evaluation+order+of+operationssource=webots=SI7CFQOJ6bsig=WRWpWZskGXOI8VJhIt1eHeeqfVs#PPA162,M1


must still do the steps in the same order to be compatible.  You really 
need to know this to do anything even slightly complicated and I'm 


Not really.  Mostly if you find yourself hitting that sort of problem
then you're writing overly complicated code and are probably better off
refactoring it into something more readable.


But I find compact code most readable.



I've been coding in ksh for 18 years now and haven't had to worry too
much about precedence that simple test cases can't answer for me.


I don't trust test cases on one implementation to be portable unless 
they match the documented behavior.



And
that included 1100 line scripts than run a messaging system :-)


Maybe it would only have taken a couple hundred lines if you took 
advantage of order of operations on each line...   But my rule of thumb 
is that if I expect something to fill more than a page, I'd start in 
some other language.


--
  Les Mikesell
   [EMAIL PROTECTED]

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


Re: [CentOS] bash - safely pass untrusted strings?

2008-02-27 Thread Garrick Staples
On Wed, Feb 27, 2008 at 11:46:13AM -0600, Les Mikesell alleged:
 Stephen Harris wrote:
 
 Yes, but I'm looking for what happens before and after.  Why does
 unset foo
 foo=bar $foo
 do something you might expect, but
 unset foo
 foo=bar echo  $foo $foo
 doesn't?
 
 What would you expect the last to do? foo=bar echo $foo only sets foo
 inside the scope of the echo statement, so in the scope of $foo the
 variable is unset.  In the first case there's no command so the shell is
 evaluating left-to-right and it works. 
 
 How does the shell know that there's no command without evaluating, and 
 if it evaluates left to right, why isn't the result the same?  Actually 
 I found the answer to that, which is that
 name=val command
  is processed like
 (name=val; command)
  which also explains why the value isn't left lingering for the next 
 operation.

If was like '(name=val; command)' then 'foo=bar echo $foo' would do what you
want.

'name=val' is very different from 'name=val command'.  They aren't parsed the
same way and follow different rules.  The first is a variable assignment.  The
second is a command execution with a supplied env list.

'name=val command' is not evaluated from left-to-right.  After all variable
substitution, expansions, and word splitting is done, then the command is
executed with the supplied env var.

'name=val $name' is a weird case that I can't explain.  It is not related to
'name=val command' because there is no command.  It acts like two statements
when syntacticaly it is one.  It think it is a bug.  Avoid it.


-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


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


[CentOS] proliant ml370

2008-02-27 Thread Hiep Nguyen

hi all,

i just inherit a server:

Compaq ProLiant ML370 Generation 2 Server with Smart Array 5300 
Controller with 6x18.2GB hard drives.


i want to install centos 5 on it with hardware raid 1.  any idea how?  it 
also has a build-in and add-on ethernet cards. how do i know which one is 
which to assign ip?


thanks.
t. hiep


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


Re: [CentOS] Yum not updating kernel

2008-02-27 Thread Bob Taylor
On Wed, 2008-02-27 at 06:29 -0600, Johnny Hughes wrote:
 Bob Taylor wrote:

[snip]

  OK! Thanks Johnny. You just confirmed a bug here. Now I will, as time
  allows, see if I can discover why /etc/rpm/platform is incorrect. Since
  the file is in an rpm directory, shall I look at rpm? I promise *not* to
  begin another thread like this one! I'm a nice guy, really!
  
 
 This file (/etc/rpm/platform) is created by anaconda on install and is 
 NOT owned by RPM or any other package.  It is USED by rpm to determine 
 your real arch where there are possibly multiple arches (based on your 
 processor type).
 
 I[3,4,5,6]86 packages can coexist with each other in an i386 distro 
 install, however you can not install an i386 package and another 
 i[4,5,6]86 package with the same Name and Epoch-Version-Release (EVR) at 
 the same time.  On Red Hat based distros, /etc/rpm/platform is used to 
 define the main arch where more than one (based on the processor) could 
 be main.
 
 Also I[3,4,5,6]86 packages can exist in an x86_64 arch install and 
 I[3,4,5,6]86 packages can exist in an ia64 arch install. These (x86_64 
 and ia64) are 64bit/32bit library (aka multilib) arches.  They can have 
 lib64 and lib directories and have both an i[3,4,5,6]86 package and an 
 x86_64 (or ia64) package installed that have the same Name and EVR.
 
 Other examples of 32bit/64bit (multilib) arches are s390 and s390x, ppc 
 and ppc64, and finally sparc and sparc64.  In each of these you can have 
 a 32bit (lib) and a 64bit (lib64) package of the same Name and EVR 
 installed at the same time.
 
 
 So, on x86_64, you CAN have glibc.x86_64 and glibc.i686. On sparc, you 
 CAN have glibc.sparc and glibc.sparc64 .. but on i386 you CAN NOT have 
 glibc.i386 and glibc.i686.
 
 I can think of nothing that will (or should) change that file 
 (/etc/rpm/platform) except running anaconda (the installer from a CentOS 
 CD / DVD).
 
 If something does modify that file it is definitely a bug.  Well, if you 
 are BUILDING files with rpmbuild then sometimes on some of the multilib 
 arches you might want to change /etc/rpm/platform to get specific 
 results ... but that would be a controlled process and I know of no 
 packages that do it automatically.
 
 Some of the links by Ross seem to indicate that unixODBC-devel might 
 impact /etc/rpm/platform ... however the version i386 version in 
 centos-5 does not seem to as I have installed it several times for 
 testing and it did not change my /etc/rpm/platform.
 
 I have looked at several i386 machines, and all of them have an 
 /etc/rpm/platform that is created on the install date, none of them have 
 a file that has been modified.
 
 If we can nail down something that changed /etc/rpm/platform it would be 
 good, as that file should never change.

Thanks again Johnny for the info. The only non-rpm I recall installing
was the cups *.tgs for my printer which I had to compile. :-(
-- 
Bob Taylor


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


[CentOS] Re: NFSroot is acting strange in CentOS5

2008-02-27 Thread Scott Silva

on 2/26/2008 5:31 PM vincenzo romero spake the following:

Hello all,

I have observed a problem with a diskless PXE client I am attempting
to configure. PXE/NFS/DHCP/TFTPd server is running CentOS5.1 and the
Diskless workstation's root and kernel was extracted from a CentOS5.1
(custom kernel due to setting to enable Root File System support).

Problem:  When the diskless client boots and logs in I notice that my
root user is being squashed, even if I have exported the root with the
no_root_squash option.  The exports file contains this line:
/export/images  *(rw,no_root_squash,no_subtree_check)

1.  Creating a file as root gives it nobody permission:
rw-r--r--  1 65534 655340 Feb 26 16:30 foo
2.  When I explicitly mount the same export from the booted
workstation and create another file; this time, it is created as root:
-rw-r--r--  1 root  root 0 Feb 26 16:31 bar

3.  I checked the /proc/mounts and notice there are differences in the
NFS options it has accepted during mount:
rootfs / rootfs rw 0 0
/dev/root / nfs
rw,vers=2,rsize=4096,wsize=4096,hard,nolock,proto=udp,timeo=11,retrans=2,sec=null,addr=192.16.10.5
0 0

192.16.10.5:/tftpboot /mnt/test nfs
rw,vers=3,rsize=32768,wsize=32768,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.16.5
0 0

4.  I try to append NFS options to my APPEND line to force:  NFS
version3, change r/wsize, use tcp protocol and change the sec from
null to sys (null seems to be the parameter that affects the NFS
ownership/permission).  My /tftpboot/pxelinux.cfg/default file
contains the following:

nfsroot=192.168.16.5:/export/images/centos51_x86-64,nfsversvers=3,tcp,rsize=32768,wsize=32768,sec=sys
ip=dhcp

5.  All options are honored except for the sec=sys option.  Below is
the output of the /proc/cmdline:

/proc/cmdline:
root=/dev/nfs rw
nfsroot=192.168.16.5:/export/images/centos51_x86-64,nfsvers=3,tcp,rsize=32768,wsize=32768,sec=sys
ip=dhcp BOOT_IMAGE=vmlinuz-2.6.18-custom-2.6.18-53.el5

6.  But the /proc/mounts shows that the sec= parameter is still set to NULL.
/proc/mounts:
rootfs / rootfs rw 0 0
/dev/root / nfs
rw,vers=3,rsize=3278,wsize=3478,hard,nolock,proto=tcp,timeo=11,retrans=2,sec=null,addr=192.168.16.5
0 0



Kernel versions:

PXE server --  uname -a
Linux qatest1 2.6.18-53.1.13.el5xen #1 SMP Tue Feb 12 13:33:07 EST
2008 x86_64 x86_64 x86_64 GNU/Linux

Diskless Workstation's kernel and root are extracted from this:  Linux
localhost.localdomain 2.6.18-custom-2.6.18-53.el5 #1 SMP Wed Feb 20
08:45:23 PST 2008 x86_64 x86_64 x86_64 GNU/Linux

Any help would be greatly appreciated.

I haven't done this in a long time but do your workstation kernels have root 
nfs in them?

config_root_nfs
This could be obsolete these days.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xen or VMWARE on CentOS 5

2008-02-27 Thread Rudi Ahlers

David Mackintosh wrote:

On Wed, Feb 27, 2008 at 08:03:09AM -0600, Les Mikesell wrote:
  

Ern jura wrote:

Does anyone out there have a comprehensive tutorial on installing VMware 
and

successfully managing virtual machines with either xen or vmware?
  
VMware is pretty simple: download the server rpm, install it, run the 
vmware-config.pl setup script to set the options and install your (free) 
license key.  Then run vmware locally or from some other machine to 
access the console where you can create and start the virtual machines. 
 Once created, you can treat the virtual machines like they were 
separate physical boxes except that they contend for host resources (and 
once they are up on the network I prefer to connect directly to them 
with ssh, X, freenx, or vnc instead of using the VMware console.  You'll 
want plenty of RAM on the host machine and if you run several VM's they 
will perform better if you can spread them over different disk drives.


With VMware you can copy your disk images over to a Windows or Mac host 
and run them with no changes (Mac version isn't free, though).



This is pretty much what I do.  I also keep stock reference images
for each OS I support and copy from the reference image every time I
need to deploy a new VM.

I like the idea of Xen, but the documentation is a little thin
especially when it comes to installing useful things like Windows
VMs; I don't have the time to solve the problem properly, and I hope
that in a year or two I can change this.

  



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
  
So, what would you use if you wanted to / needed to host a Windows 2003 
VM on a Linux / UNIX server? I don't / can't sacrifice a whole server 
for a few ASP.NET aps.


--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg

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


Re: [CentOS] Xen or VMWARE on CentOS 5

2008-02-27 Thread Les Mikesell

Rudi Ahlers wrote:




With VMware you can copy your disk images over to a Windows or Mac 
host and run them with no changes (Mac version isn't free, though).



This is pretty much what I do.  I also keep stock reference images
for each OS I support and copy from the reference image every time I
need to deploy a new VM.

I like the idea of Xen, but the documentation is a little thin
especially when it comes to installing useful things like Windows
VMs; I don't have the time to solve the problem properly, and I hope
that in a year or two I can change this.


So, what would you use if you wanted to / needed to host a Windows 2003 
VM on a Linux / UNIX server? I don't / can't sacrifice a whole server 
for a few ASP.NET aps.


I haven't used xen so I can't compare them, but it is easy with vmware 
server and doesn't require any changes on the host other than installing 
the vmware package and configuring it.  People running xen tend to say 
that you shouldn't run anything else directly on the host, but this 
isn't a problem with vmware.


--
  Les Mikesell
   [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xen or VMWARE on CentOS 5

2008-02-27 Thread Matt Shields
On Wed, Feb 27, 2008 at 2:58 PM, Rudi Ahlers [EMAIL PROTECTED] wrote:

 David Mackintosh wrote:
   On Wed, Feb 27, 2008 at 08:03:09AM -0600, Les Mikesell wrote:
  
   Ern jura wrote:
  
   Does anyone out there have a comprehensive tutorial on installing VMware
   and
   successfully managing virtual machines with either xen or vmware?
  
   VMware is pretty simple: download the server rpm, install it, run the
   vmware-config.pl setup script to set the options and install your (free)
   license key.  Then run vmware locally or from some other machine to
   access the console where you can create and start the virtual machines.
Once created, you can treat the virtual machines like they were
   separate physical boxes except that they contend for host resources (and
   once they are up on the network I prefer to connect directly to them
   with ssh, X, freenx, or vnc instead of using the VMware console.  You'll
   want plenty of RAM on the host machine and if you run several VM's they
   will perform better if you can spread them over different disk drives.
  
   With VMware you can copy your disk images over to a Windows or Mac host
   and run them with no changes (Mac version isn't free, though).
  
  
   This is pretty much what I do.  I also keep stock reference images
   for each OS I support and copy from the reference image every time I
   need to deploy a new VM.
  
   I like the idea of Xen, but the documentation is a little thin
   especially when it comes to installing useful things like Windows
   VMs; I don't have the time to solve the problem properly, and I hope
   that in a year or two I can change this.
  
  
   

 
   ___
   CentOS mailing list
   CentOS@centos.org
   http://lists.centos.org/mailman/listinfo/centos
  
  So, what would you use if you wanted to / needed to host a Windows 2003
  VM on a Linux / UNIX server? I don't / can't sacrifice a whole server
  for a few ASP.NET aps.


I've never tried this, but someone was telling me that it might be
possible to serve up ASP and ASP.net with Apache and mono.  I don't
know if this is true, but might be worth checking out.

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


Re: [CentOS] Yum not updating kernel

2008-02-27 Thread Akemi Yagi
On Wed, Feb 27, 2008 at 11:30 AM, Bob Taylor [EMAIL PROTECTED] wrote:
 On Wed, 2008-02-27 at 06:29 -0600, Johnny Hughes wrote:
  
   If we can nail down something that changed /etc/rpm/platform it would be
   good, as that file should never change.

  Thanks again Johnny for the info. The only non-rpm I recall installing
  was the cups *.tgs for my printer which I had to compile. :-(

 --
  Bob Taylor

Uncle Bob,   :-D

I apologize in advance for asking this question but...  Are you
certain that you did not edit / touch the /etc/rpm/platform file
yourself?

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


RE: [CentOS] Xen or VMWARE on CentOS 5

2008-02-27 Thread Ross S. W. Walker
Rudi Ahlers wrote:
 David Mackintosh wrote:
  On Wed, Feb 27, 2008 at 08:03:09AM -0600, Les Mikesell wrote:

  Ern jura wrote:
  
  Does anyone out there have a comprehensive tutorial on installing VMware 
  and
  successfully managing virtual machines with either xen or vmware?

  VMware is pretty simple: download the server rpm, install it, run the 
  vmware-config.pl setup script to set the options and install your (free) 
  license key.  Then run vmware locally or from some other machine to 
  access the console where you can create and start the virtual machines. 
   Once created, you can treat the virtual machines like they were 
  separate physical boxes except that they contend for host resources (and 
  once they are up on the network I prefer to connect directly to them 
  with ssh, X, freenx, or vnc instead of using the VMware console.  You'll 
  want plenty of RAM on the host machine and if you run several VM's they 
  will perform better if you can spread them over different disk drives.
 
  With VMware you can copy your disk images over to a Windows or Mac host 
  and run them with no changes (Mac version isn't free, though).
  
 
  This is pretty much what I do.  I also keep stock reference images
  for each OS I support and copy from the reference image every time I
  need to deploy a new VM.
 
  I like the idea of Xen, but the documentation is a little thin
  especially when it comes to installing useful things like Windows
  VMs; I don't have the time to solve the problem properly, and I hope
  that in a year or two I can change this.

 So, what would you use if you wanted to / needed to host a 
 Windows 2003 
 VM on a Linux / UNIX server? I don't / can't sacrifice a whole server 
 for a few ASP.NET aps.

For me I like the features that Xen provides like hot-add
memory/processor/storage, live migration, etc. Though if you are not
using the commercial version you are kind of limited to the command
line for management, if that bother's you then maybe VMware more
suites your taste.

Oh, both products can host multiple Windows and Linux VMs side-by-side
no problem.

-Ross


__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


RE: [CentOS] Yum not updating kernel

2008-02-27 Thread Ross S. W. Walker
Bob Taylor wrote:
 On Wed, 2008-02-27 at 06:29 -0600, Johnny Hughes wrote:
  Bob Taylor wrote:
 
 [snip]
 
   OK! Thanks Johnny. You just confirmed a bug here. Now I will, as time
   allows, see if I can discover why /etc/rpm/platform is incorrect. Since
   the file is in an rpm directory, shall I look at rpm? I promise *not* to
   begin another thread like this one! I'm a nice guy, really!
   
  
  This file (/etc/rpm/platform) is created by anaconda on install and is 
  NOT owned by RPM or any other package.  It is USED by rpm to determine 
  your real arch where there are possibly multiple arches (based on your 
  processor type).
  
  I[3,4,5,6]86 packages can coexist with each other in an i386 distro 
  install, however you can not install an i386 package and another 
  i[4,5,6]86 package with the same Name and Epoch-Version-Release (EVR) at 
  the same time.  On Red Hat based distros, /etc/rpm/platform is used to 
  define the main arch where more than one (based on the processor) could 
  be main.
  
  Also I[3,4,5,6]86 packages can exist in an x86_64 arch install and 
  I[3,4,5,6]86 packages can exist in an ia64 arch install. These (x86_64 
  and ia64) are 64bit/32bit library (aka multilib) arches. They can have 
  lib64 and lib directories and have both an i[3,4,5,6]86 package and an 
  x86_64 (or ia64) package installed that have the same Name and EVR.
  
  Other examples of 32bit/64bit (multilib) arches are s390 and s390x, ppc 
  and ppc64, and finally sparc and sparc64.  In each of these you can have 
  a 32bit (lib) and a 64bit (lib64) package of the same Name and EVR 
  installed at the same time.
  
  
  So, on x86_64, you CAN have glibc.x86_64 and glibc.i686. On sparc, you 
  CAN have glibc.sparc and glibc.sparc64 .. but on i386 you CAN NOT have 
  glibc.i386 and glibc.i686.
  
  I can think of nothing that will (or should) change that file 
  (/etc/rpm/platform) except running anaconda (the installer from a CentOS 
  CD / DVD).
  
  If something does modify that file it is definitely a bug. Well, if you 
  are BUILDING files with rpmbuild then sometimes on some of the multilib 
  arches you might want to change /etc/rpm/platform to get specific 
  results ... but that would be a controlled process and I know of no 
  packages that do it automatically.
  
  Some of the links by Ross seem to indicate that unixODBC-devel might 
  impact /etc/rpm/platform ... however the version i386 version in 
  centos-5 does not seem to as I have installed it several times for 
  testing and it did not change my /etc/rpm/platform.
  
  I have looked at several i386 machines, and all of them have an 
  /etc/rpm/platform that is created on the install date, none of them have 
  a file that has been modified.
  
  If we can nail down something that changed /etc/rpm/platform it would be 
  good, as that file should never change.
 
 Thanks again Johnny for the info. The only non-rpm I recall installing
 was the cups *.tgs for my printer which I had to compile. :-(

I'd be interested in seeing a complete /var/log/yum.log file
and the date of the last successful yum update.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] bash - safely pass untrusted strings?

2008-02-27 Thread Bart Schaefer
On Wed, Feb 27, 2008 at 11:13 AM, Garrick Staples [EMAIL PROTECTED] wrote:

  'name=val $name' is a weird case that I can't explain.  It is not related to
  'name=val command' because there is no command.  It acts like two statements
  when syntacticaly it is one.  It think it is a bug.  Avoid it.

The tidbit that no one has pointed out yet is that redirections are
not actually part of the command in the sense that you might think
they are.

These are all the same:

$ foo echo bar
$ echo foo bar
$ echo bar foo

The command is echo bar no matter where you put the redirection.  Hence this:

$ foo=bar

and this:

$ foo=bar $foo

are exactly the same in so far as the execution of foo=bar is
concerned; and foo=bar all by itself is the special construct that
means assign foo in the current shell, so that's what happens.  On
the other hand

$ foo=bar echo

is syntax that means (as has previously been explained) assign foo in
the process environment of echo so nothing happens in the current
shell.

The other tidbit (see the book link Les posted) is that assignments
happen very early and redirections happen very late, in the order of
evaluation.

If you really want to warp your brain, try this one (not in your only
login shell, though):

$ 2$foo foo=yourOutputIsHere exec

And stop thinking from left to right.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Thunderbird2 for 64 bits

2008-02-27 Thread Simon Jolle sjolle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/22/2008 04:46 PM, nate wrote:
 carlopmart wrote:
 
 I'd suggest sticking to 32-bit. Thunderbird is already a memory pig,
 using 64-bit version would only make it worse.

Why?

 My Thunderbird has been running for about 18 hours and is using
 over 200MB of memory already(2.0.0.6).

The same here. Thunderbird is running for 3 hours and use 216 MB virtual
memory size/ 90 MB resident set size.

I am subscribing to Debian, Centos, SecurityFocus and RHEL mailing
lists. Nothing special.

 In 64-bit mode I wouldn't be surprised if the same usage would
 come out to 500MB+ memory usage.

Again why?

 Of course if you have enough memory not to care to set aside half
 a gig to your e-mail client then go for it.
 
 nate

cheers
Simon


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHxdeFEMN/lNE/wrwRAsPNAKCGak82jNYu7T+4/cv5asS9UWaj0QCfTVGV
HDbm07TPub5ev64DjNRQnsk=
=JqB+
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Thunderbird2 for 64 bits

2008-02-27 Thread nate
Simon Jolle sjolle wrote:

 In 64-bit mode I wouldn't be surprised if the same usage would
 come out to 500MB+ memory usage.

 Again why?

Because 64-bit apps in general use more memory


SSH 64-bit:
root  4193  0.0  0.0 21932 1272 ?Ss   Jan29   1:00 /usr/sbin/sshd

SSH 32-bit:
root 19725  0.0  0.0   4392   276 ?Ss2007   7:52 /usr/sbin/sshd

500%+ more memory

SNMPD 64-bit:
root  4146  0.0  0.0 88316 5952 ?SJan29   2:58
/usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid -a

SNMPD 32-bit:
root 19928  0.0  0.1  14436  2032 ?S 2007  42:07
/usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a

600%+ more memory

Apache 64-bit:
apache   24540  0.3  0.2 108212 13700 ?  S11:17   0:28 /usr/sbin/httpd

Apache 32-bit(same module config):
apache   28602  0.0  0.6  16136  6884 ?S08:19   0:00
/usr/sbin/httpd

600%+ more memory

List goes on..

I don't mean to imply that it's certain to use 2-3x more memory, but
in my experience it appears that 64-bit apps use much more memory
than 32-bit. I've read they can use up to 2x more memory, but clearly
in some cases it can go way beyond 2x.

It's just not worth it for most things. I tried migrating a web server
that runs Ruby on Rails/FastCGI from 32-bit to 64-bit and experienced
a 300% increase in memory utilization and about a 75% reduction in
performance. (before that my goal was to try to make everything
64-bit to make it easier to manage).

nate

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


Re: [CentOS] Gnumeric

2008-02-27 Thread Primorec
On Thu, May 19, 2005 at 2:02 PM, Karanbir Singh [EMAIL PROTECTED]
wrote:

 [EMAIL PROTECTED] wrote:
  Is there a yum repository that has them or a yum repository for
  gnumeric?
 

 I have a snapshot of gnumeric in my Misc repository ( for i386 only so
 far, x86_64 and ppc coming soon ). Repo Setup instructions are included
 on the start page ( http://centos.karan.org/ ). You will need both the
 Misc and FExtras repo's setup.

 yum install gnumeric should then do the magic.


somehow  it does not work for me...  I am not able to find  the FExtra
.repo file

Any hint ?

Igor



-- 
Experience is what you get when you didn't get what you wanted.

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


Re: [CentOS] Re: NFSroot is acting strange in CentOS5

2008-02-27 Thread vincenzo romero
Thanks for your reply Scott.

  I haven't done this in a long time but do your workstation kernels have root
  nfs in them?
  config_root_nfs
  This could be obsolete these days.


Yes, at least with Centos5 and fedora6 (2.6.18 kernels are what I am
testing with on both distros), i have configured the Root File System
Support via the make menuconfig option.

The following were the changes I made to the kernel:

1.  Networking- Networking options
*  IP Level autoconfiguration
*  IP DHCP
*  IP Bootp
*  IP Rarp
(enabled = *)

2.  Device Drivers- Network device Support- Ethernet 10/100Mbit -
nForce (my nVidia NIC)

3.  File Systems - Network File Systems
* NFS File System Support (changed from M to *)
* Root FS on NFS

 I had to also disable on option:  Provide NFS Client Caching
Support - the only reason is because, after I performed Steps 1-3 and
attempt to recompile the kernel, I had some make compile error that
pertained to FS cache;  in searching/googling it was recommended to
disable this option.  Upon disabling, the compile completed without
error.

... I have also just completed setting up a FEDORA 6 Root-NFS kernel
and root directory - and upon booting, I still get the same problems
as the prior mentioned CentOS5.  Both are of the 2.6.18 kernel base,
and both give that same value:  sec=null ... when the root NFS is
mounted.

Any thoughts?

Thanks in advance.

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


[CentOS] Re: NFSroot is acting strange in CentOS5

2008-02-27 Thread Scott Silva

on 2/27/2008 2:53 PM vincenzo romero spake the following:

Thanks for your reply Scott.


 I haven't done this in a long time but do your workstation kernels have root
 nfs in them?
 config_root_nfs
 This could be obsolete these days.



Yes, at least with Centos5 and fedora6 (2.6.18 kernels are what I am
testing with on both distros), i have configured the Root File System
Support via the make menuconfig option.

The following were the changes I made to the kernel:

1.  Networking- Networking options
*  IP Level autoconfiguration
*  IP DHCP
*  IP Bootp
*  IP Rarp
(enabled = *)

2.  Device Drivers- Network device Support- Ethernet 10/100Mbit -
nForce (my nVidia NIC)

3.  File Systems - Network File Systems
* NFS File System Support (changed from M to *)
* Root FS on NFS

 I had to also disable on option:  Provide NFS Client Caching
Support - the only reason is because, after I performed Steps 1-3 and
attempt to recompile the kernel, I had some make compile error that
pertained to FS cache;  in searching/googling it was recommended to
disable this option.  Upon disabling, the compile completed without
error.

... I have also just completed setting up a FEDORA 6 Root-NFS kernel
and root directory - and upon booting, I still get the same problems
as the prior mentioned CentOS5.  Both are of the 2.6.18 kernel base,
and both give that same value:  sec=null ... when the root NFS is
mounted.

Any thoughts?

Thanks in advance.

Vince

I haven't done it since kernel 2.2 days so my knowledge is old and rusty, like 
me.

Have you looked on any of the distros set up for this like k12LTSP?
Maybe they have a more current set of docs.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: NFSroot is acting strange in CentOS5

2008-02-27 Thread vincenzo romero
  I haven't done it since kernel 2.2 days so my knowledge is old and rusty, 
 like me.


LOL!  .. :)
  Have you looked on any of the distros set up for this like k12LTSP?
  Maybe they have a more current set of docs.


well, I found the issue - this was a problem in the 2.6.18 kernel; and
a fix has been incorprated since 2.6.22 or so ... we decided to use
2.6.18 - which is the base for Fedora 6 (we'll be supporting - so
called - golden releases per selected distro, if you will) ..

i guess for future reference, the fix can be found here:

http://www.linuxhq.com/kernel/v2.6/23-rc4/fs/nfs/super.c

.

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


[CentOS] Re: NFSroot is acting strange in CentOS5

2008-02-27 Thread Scott Silva

on 2/27/2008 3:34 PM vincenzo romero spake the following:

 I haven't done it since kernel 2.2 days so my knowledge is old and rusty, like 
me.



LOL!  .. :)

 Have you looked on any of the distros set up for this like k12LTSP?
 Maybe they have a more current set of docs.



well, I found the issue - this was a problem in the 2.6.18 kernel; and
a fix has been incorprated since 2.6.22 or so ... we decided to use
2.6.18 - which is the base for Fedora 6 (we'll be supporting - so
called - golden releases per selected distro, if you will) ..

i guess for future reference, the fix can be found here:

http://www.linuxhq.com/kernel/v2.6/23-rc4/fs/nfs/super.c

.

-

That explains why something that has worked forever suddenly stopped.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Gnumeric

2008-02-27 Thread Primorec
On Wed, Feb 27, 2008 at 3:06 PM, Scott Silva [EMAIL PROTECTED] wrote:

 on 2/27/2008 2:24 PM Primorec spake the following:
 
 
  On Thu, May 19, 2005 at 2:02 PM, Karanbir Singh
  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
Is there a yum repository that has them or a yum repository for
gnumeric?
   
 
  I have a snapshot of gnumeric in my Misc repository ( for i386 only
 so
  far, x86_64 and ppc coming soon ). Repo Setup instructions are
 included
  on the start page ( http://centos.karan.org/ ). You will need both
 the
  Misc and FExtras repo's setup.
 
  yum install gnumeric should then do the magic.
 
 
  somehow  it does not work for me...  I am not able to find  the FExtra
  .repo file
 
 Did you follow instructions on the webpage? ( http://centos.karan.org/ )


Yes, I did.   On that page is written (among other things):

...
  There are two repositories hosted here, the Fedora Extras rebuilt for
CentOS and the Misc pkg. The Misc pkg tree includes various rpms that I have
built from source or src.rpm rebuilds. There might be pkgs there that will
overwrite / replace core pkgs included in CentOS. To use the Misc Pkgs
repository, you will need the FExtras repo enabled as well, some of the
dependencies are resolved there.
..

There is nowhere to find .repo file for  FExtras.I am assuming that
this  
kbsingh-CentOS-Extras.repohttp://centos.karan.org/kbsingh-CentOS-Extras.repo
is the correct .repo file for FExtras.
And, I am assuming that this
kbsingh-CentOS-Misc.repohttp://centos.karan.org/kbsingh-CentOS-Misc.repo
is the .repo file for Misc Pkgs.

So, I've installed both .repo files into /etc/yum.repos.d/

Here is the list. As you can see there IS the karan (kbsingh) repo file(s)
/etc/yum.repos.d/CentOS-Base.repo
/etc/yum.repos.d/CentOS-Media.repo
/etc/yum.repos.d/CentOS-fasttrack.repo
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/kbsingh-CentOS-Extras.repo
/etc/yum.repos.d/kbsingh-CentOS-Misc.repo
/etc/yum.repos.d/mirrors-rpmforge
/etc/yum.repos.d/rpmforge.repo

Once everything was in place I've typed:

[EMAIL PROTECTED] ]# yum install gnumeric
Loading installonlyn plugin
Loading priorities plugin
Setting up Install Process
Setting up repositories
epel  100% |=| 1.1 kB00:00
kbs-CentOS-Extras 100% |=|  951 B00:00
fasttrack 100% |=|  951 B00:00
rpmforge  100% |=| 1.1 kB00:00
base  100% |=| 1.1 kB00:00
updates   100% |=|  951 B00:00
kbs-CentOS-Misc   100% |=|  951 B00:00
addons100% |=|  951 B00:00
extras100% |=| 1.1 kB00:00
Reading repository metadata in from local files
0 packages excluded due to repository priority protections
Parsing package install arguments
Nothing to do

Here I am now.  I do not know how to procede from here.

Any help is very welcome

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


Re: [CentOS] Re: Gnumeric

2008-02-27 Thread Karanbir Singh

Primorec wrote:

[EMAIL PROTECTED] ]# yum install gnumeric
Parsing package install arguments
Nothing to do

Here I am now.  I do not know how to procede from here.


What arch are you running ?

--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Gnumeric

2008-02-27 Thread Primorec
On Wed, Feb 27, 2008 at 4:06 PM, Karanbir Singh [EMAIL PROTECTED] wrote:

 Primorec wrote:
  [EMAIL PROTECTED] ]# yum install gnumeric

  Parsing package install arguments
  Nothing to do
 
  Here I am now.  I do not know how to procede from here.

 What arch are you running ?

Is this the correct answer ?

 [EMAIL PROTECTED] downloads]# uname -a
Linux legolas.?.com 2.6.18-53.1.6.el5 #1 SMP Wed Jan 23 11:30:20
EST 2008 i686 i686 i386 GNU/Linux

-- 
Experience is what you get when you didn't get what you wanted.

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


[CentOS] Re: Gnumeric

2008-02-27 Thread Scott Silva

on 2/27/2008 4:38 PM Scott Silva spake the following:

on 2/27/2008 4:31 PM Primorec spake the following:
On Wed, Feb 27, 2008 at 4:06 PM, Karanbir Singh 
mail-lists-XASut8F7j/[EMAIL PROTECTED] 
wrote:

Primorec wrote:

[EMAIL PROTECTED] ]# yum install gnumeric
Parsing package install arguments
Nothing to do

Here I am now.  I do not know how to procede from here.

What arch are you running ?


Is this the correct answer ?

 [EMAIL PROTECTED] downloads]# uname -a
Linux legolas.?.com 2.6.18-53.1.6.el5 #1 SMP Wed Jan 23 11:30:20
EST 2008 i686 i686 i386 GNU/Linux


Karanbir said they were available for CentOS 4.
It looks like you have 5.

Correction---
The original poster asked for CentOS 4 and Karanbir replied on availability.
I don't see it for CentOS 5, not even in testing or source there.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Gnumeric

2008-02-27 Thread Primorec
On Wed, Feb 27, 2008 at 4:46 PM, Scott Silva [EMAIL PROTECTED] wrote:
 on 2/27/2008 4:38 PM Scott Silva spake the following:

  on 2/27/2008 4:31 PM Primorec spake the following:
   On Wed, Feb 27, 2008 at 4:06 PM, Karanbir Singh
   mail-lists-XASut8F7j/[EMAIL PROTECTED]

  wrote:
   Primorec wrote:
   [EMAIL PROTECTED] ]# yum install gnumeric
   Parsing package install arguments
   Nothing to do
  
   Here I am now.  I do not know how to procede from here.
   What arch are you running ?
  
   Is this the correct answer ?
  
[EMAIL PROTECTED] downloads]# uname -a
   Linux legolas.?.com 2.6.18-53.1.6.el5 #1 SMP Wed Jan 23 11:30:20
   EST 2008 i686 i686 i386 GNU/Linux
  
   Karanbir said they were available for CentOS 4.
   It looks like you have 5.
  Correction---
  The original poster asked for CentOS 4 and Karanbir replied on availability.
  I don't see it for CentOS 5, not even in testing or source there.


I stand corrected.

Igor

P.S.  Karanbir, will gnumeric be included into the repository in the future ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Networking problems with fresh install

2008-02-27 Thread Joseph L. Casale
 I just did a fresh install of centos 5.0 from cd, followed by yum
 update
 which installed 399 packages.  No failures or errors that I can see.

 I have three nics in the box, but am only setting up one at the moment.

 The box can ping others in my network, but if I try ssh, telnet, ftp,
 etc

I see you have Xen on this box, boot into the normal Kernel and see what you 
get.
My guess is it works.

I have 5 boxes, that of which networking doesn't work on 3, always works on 1, 
and sometimes works on 1. I can install fresh and maybe it works, maybe it 
doesn't on that one :)

I don't know if it's a Linux Bridge issue or a Xen specific issue. They all 
work well when not booted with the Xen Kernel.

jlc

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


[CentOS] smokeping on CentOS questions

2008-02-27 Thread Rogelio
I'm having some problems getting CentOS to serve up my Smokeping pages (
http://oss.oetiker.ch/smokeping/)
However, I'm having problems getting the pages to serve up correctly.

Here is a quick run down of what I've done.

(1) wget and untar to /usr/local/smokeping
(2) chown -R root:root /usr/local/smokeping
(3) modifying to the following files to reflect my environment

(not sure if all my steps here were good)

/usr/local/smokeping/bin/smokeping
/usr/local/smokepoing/htdocs/smokeping.cfg

(4) ln -s /usr/local/smokeping/htdocs /var/www/html/smokeping

When I go to www.mybox.com/smokeping, all I get is a list of files, not
the webpage I would expect to get.

What might I be doing wrong?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smokeping on CentOS questions

2008-02-27 Thread Barry Brimer

I'm having some problems getting CentOS to serve up my Smokeping pages (
http://oss.oetiker.ch/smokeping/)
However, I'm having problems getting the pages to serve up correctly.

Here is a quick run down of what I've done.

(1) wget and untar to /usr/local/smokeping
(2) chown -R root:root /usr/local/smokeping
(3) modifying to the following files to reflect my environment

(not sure if all my steps here were good)

/usr/local/smokeping/bin/smokeping
/usr/local/smokepoing/htdocs/smokeping.cfg

(4) ln -s /usr/local/smokeping/htdocs /var/www/html/smokeping

When I go to www.mybox.com/smokeping, all I get is a list of files, not
the webpage I would expect to get.

What might I be doing wrong?


If you are getting a list of files, I have to wonder if you have a 
DirectoryIndex set .. and if so .. what the filenames are in 
DirectoryIndex.


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


[CentOS] how to uninstall

2008-02-27 Thread scaglietti amore
 
 
hello guys
 
i have centos5.1, and my subject is :
 
when i install a package without the rpm tool cause its not rpm package like 
configure , make , make install 
 
how can i uninstall it later ?
 
thank u all for ur time
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] MRTG question on CentOS

2008-02-27 Thread Rogelio
I'm trying to get MRTG up and running on CentOS, but the displayed http page
says that I don't have permission to access /mrtg/ on the server.

Here are my commands

yum install mrtg
vim /etc/httpd/conf.d/mrtg.conf
/etc/init.d/httpd restart
cfgmaker --global 'WorkDir: /var/www/mrtg' --global 'Options[_]:
bits,growright' --output /etc/mrtg/mrtg.cfg [EMAIL PROTECTED]
mrtg /etc/mrtg/mrtg.cfg
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg (type again, per the MRTG
instructions)

For what it's worth, when I 'tail /etc/httpd/logs/error_logs, I get the
following

[Wed Feb 27 15:41:13 2008] [error] [client 10.200.200.58] Directory index
forbidden by Options directive: /var/www/mrtg/

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


Re: [CentOS] smokeping on CentOS questions

2008-02-27 Thread John R Pierce

Rogelio wrote:
I'm having some problems getting CentOS to serve up my Smokeping pages 
(http://oss.oetiker.ch/smokeping/)


However, I'm having problems getting the pages to serve up correctly.

Here is a quick run down of what I've done.

(1) wget and untar to /usr/local/smokeping
(2) chown -R root:root /usr/local/smokeping
(3) modifying to the following files to reflect my environment

(not sure if all my steps here were good)

/usr/local/smokeping/bin/smokeping
/usr/local/smokepoing/htdocs/smokeping.cfg

(4) ln -s /usr/local/smokeping/htdocs /var/www/html/smokeping

When I go to www.mybox.com/smokeping 
http://www.mybox.com/smokeping, all I get is a list of files, not 
the webpage I would expect to get.


What might I be doing wrong?



apache isn't real fond of symbolic links unless you add Directory 
primitives for the real directory.   actually, I'd blow off the symlink 
entirely, and instead use something like...


/etc/httpd/conf.d/smokering.conf:
   Alias   /smokering/ /usr/local/smokering/htdocs/
   Directory /usr/local/smokering/htdocs
   AllowOverride All
   Options MultiViews All
   /Directory


(adjusting the privileges as needed inside that Directory block...)

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


RE: [CentOS] how to uninstall

2008-02-27 Thread scaglietti amore
 
thank u 
 
i will try that when i get home
  scaglietti amore wrote:  hello guysi have centos5.1, and 
  my subject is :when i install a package without the rpm tool cause 
  its not rpm   package like configure , make , make installhow can 
  i uninstall it later ?  if there's an 'uninstall' target in the Makefile, 
  then...  cd projectdirectory (where you built it originally) make 
  uninstall  or, find out what 'make install' did (usually by examining the 
  Makefile  in the project directory), and manually undo it.  
  ___ CentOS mailing list 
  CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos