Re: [CentOS-docs] What's the wiki software that centos uses?

2012-03-29 Thread Timothy Lee
Dear Christopher,

On 03/28/2012 02:02 PM, Christopher Meng wrote:

 What's the wiki software that centos uses?

MoinMoin

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


[CentOS-announce] CEEA-2012:0435 CentOS 6 gdm Update

2012-03-29 Thread Johnny Hughes

CentOS Errata and Enhancement Advisory 2012:0435 

Upstream details at : https://rhn.redhat.com/errata/RHEA-2012-0435.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 


i386:
86a8697001bce08153785f2f35e597adad90ffc131d5ff42f733112292412f5c  
gdm-2.30.4-33.el6_2.i686.rpm
a88b0a58182334360e5812072547dd70e67bc35bdfd05a0c82aed964cf368be1  
gdm-libs-2.30.4-33.el6_2.i686.rpm
427ee92d1fc1a9d5eabf2103b547b101b1b0f56365df6467ed64a07ce98659da  
gdm-plugin-fingerprint-2.30.4-33.el6_2.i686.rpm
55d9c767a483c9c40878804bbfa0f351bd9f95bd7b1c4f9d6fff7c8cd0eb92e1  
gdm-plugin-smartcard-2.30.4-33.el6_2.i686.rpm
87030a80cbc1a333782a7cf197b0d48d0403320e5278dcd2a08839a87eb00dcd  
gdm-user-switch-applet-2.30.4-33.el6_2.i686.rpm

x86_64:
c2acd45532a6d500c59de483772e1808985b0ddea090cdfd44dbe1cf6f3f651e  
gdm-2.30.4-33.el6_2.x86_64.rpm
a88b0a58182334360e5812072547dd70e67bc35bdfd05a0c82aed964cf368be1  
gdm-libs-2.30.4-33.el6_2.i686.rpm
403d9d7a7757a847a2d068eea21baa8a2c8e84dcb8dc2a88771d214011a9b70e  
gdm-libs-2.30.4-33.el6_2.x86_64.rpm
ac8fb81e1c351e9a72caf268966996f3923e73b845899979bdffa1170ec0ae68  
gdm-plugin-fingerprint-2.30.4-33.el6_2.x86_64.rpm
2516b124ed4e79d2fc1abb5da24685bfd28916491cb19ed7210d92d8a4517cf4  
gdm-plugin-smartcard-2.30.4-33.el6_2.x86_64.rpm
2c13e7596ec8d187f4a14a051574bbe945ee6ee1e5ec946e3674071b09e4c669  
gdm-user-switch-applet-2.30.4-33.el6_2.x86_64.rpm

Source:
4365957ce99e24c8201e29c3d417db33b2ea03729ac77f90decc1a7096d2aa99  
gdm-2.30.4-33.el6_2.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net

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


Re: [CentOS-es] Problemas de actualización

2012-03-29 Thread Rubén González


Talvez a ninguno en la lista nos ha pasado tu problema específico pero no creas 
que no tiene solución:
Muchas veces el problema que surge nuevo para uno puede que ya le haya sucedido 
a otros y nunca está demás consultar en un buscador como google.
Mi sugerencia es que si por ejemplo pones no se ha encontrado ningún perfil 
para el usuario root en el buscador, te saldrán algunos enlaces que si los 
sigues puede que encuentres después de ir venciendo las dificultades esa 
solución que necesitas.
Mira yo lo he echo y he aquí uno de esos enlaces.

http://www.alcancelibre.org/forum/viewtopic.php?showtopic=3047

Cuando soluciones primero éste inconveniente, continúa con los que siguen 
apareciendo de idéntica manera y también prueba a intentar detener algún 
demonio (así es como se dice en Linux a un tipo especial de proceso informático 
no interactivo) ese dropboxd por ejemplo.

Estamos suscritos a la lista pero eso no quiere decir que siempre va ha estar 
aquí la solución, en algunos casos incluso seremos nosotros mismos con la ayuda 
de nuestro intelecto el que nos lleve a una solución.

No te olvides de documentar lo que vas haciendo para que des marcha atrás en 
caso de ser necesario o para compartirlo aquí y juntos todos lleguemos a un 
final feliz.

 From: luisillo...@hotmail.com
 To: centos-es@centos.org
 Date: Tue, 27 Mar 2012 18:01:24 +
 Subject: [CentOS-es] Problemas de actualización
 
 
 
 
 Muy buenos días.
 Hace unos días envié un correo explicando el problema que tuve con un 
 servidor CentOS a la hora de instalar las actualizaciones que me solicito y 
 me respondieron que no hay marcha atrás con esas actualizaciones. También me 
 solicitaron que diera mas detalles del error que me manda así que les explico 
 mas a fondo cual es mi problema soy novato en utilizar Centos así que no 
 previne los problemas que me podía generar.
 Hace unos días se me encomendó revisar el reloj checador de la empresa en la 
 que estoy realizando mis estadías lo cual esta montado en un servidor Centos 
 que me dijeron que era la versión 5.3 lo cual ahora me aparece con la versión 
 5.8 y como soy nuevo manipulando este SO por lo tanto me pidió que instalara 
 actualizaciones porque tenia mucho tiempo de estar desconectado, acepte las 
 actualizaciones para que se instalaran pero a la hora de reiniciarse el 
 servidor, parece que carga bien el SO pero a la hora de que siga la pantalla 
 para logearme como root solo se queda en negro y solo se ve el puntero como 
 cargando pero el Disco Duro no se ve que trabaje. he intentado iniciar con el 
 Single User (1) y Emergency esto es lo que he echo;
 Oprimo cualquier tecla para que me envie al GNU GRUB version 0.97.
 este es es con el que arranca normalmente Centos(2.6.18-308.1.1.e5) tecleo la 
 letra a para editarlo con single user;
 grub append ro root=/dev/volGroup 00/LogVol00 rhgb quiet single user enter 
 y b para iniciarlo.
 ya en la otra imagen me aparece
 sh-3.2#  y lo inicio con startx
 y me aparece marcando me un error que dice asi;
 no se ha encontrado ningún perfil para el usuario root.
 /usr/bin/gnom-session:error while loading share 
 libreries:libdbus-1.so3:cannot open shared object file: no such file or 
 directory
 También he intentado cambiar la contraseña de root en el kernel editandolo 
 con 1, la reinicio y me marca el mismo error de usuario root.
 Al iniciar normalmente el SO y se carga, me marca error en estos dos 
 parámetros;
 iniciando:/usr/bin/gnom-session:error while loading share 
 libreries:libdbus-1.so3:cannot open shared object file: no such file or 
 directory [fallo]
 iniciando dropboxd: unconfigured: /etc/dropbox [fallo].
 Espero que ahora si me haya explicado mejor y también que sea una cosa 
 sencilla que pueda repara fácilmente porque me están presionando con la 
 reparación. He querido restaurarlo con el DVD de instalación Centos 5.8 pero 
 me detengo hasta no recibir una buena accesoria de Uds y que me recomiende 
 que es la mejor solución.
 Les agradezco por leer mi correo y pues esperando una respuesta entendible de 
 ejecutar.
 
 Atte. Luis Alvarado.
 
  
 
 
 
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es
  
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Error al montar directorio remoto NFS: mount.nfs: requested NFS version or transport protocol is not supported

2012-03-29 Thread cheperobert
Hola a todos,
Estoy tratando de montar un direcctorio remoto en Centos 6.0, pero
tengo el siguiente error:

mount.nfs: requested NFS version or transport protocol is not supported

Este es el comando:
mount -t nfs 10.10.1.6:/mnt/iccaevg/iccaevgdc/EDUVIRTUAL /home/user1

Les comento que he probado muchas opciones con el comando mount y
simpre me da el mismo error,
Cabe mencionar que el server remoto tiene el sistema NAS openfiler.

He buscado este error en la WEB y ver si encuentro algunos bug's en
Redhat y CentOS pero no he dado con algo que me indique cual es el
problema y la solucion, tambien recalco que estoy montando otro
directorio desde el mismo server remoto en un cliente Red Hat
Enterprise Linux Server release 5.6 y no tengo problemas.

Algunos datos de interes:

En el cliente:
Centos 6.0
Kernel 2.6.32-220.4.1.el6.i686
mount.nfs (linux nfs-utils 1.2.3)
Selinux desactivado

En el server Remoto:
openfiler 2.3
mount.nfs (linux nfs-utils 1.1.4)

Gracias por su ayuda, mientras tanto seguire buscano como solucionarlo.



-- 
Saludos,
cheperobert
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Error al montar directorio remoto NFS: mount.nfs: requested NFS version or transport protocol is not supported

2012-03-29 Thread Claudio Pera
hola, creo que tendrías que fijarte que versión de NFS tiene activado el
filer, ya que muchas veces el cliente NFS tiene una versión de NFS anterior
a la del filer y el servidor (que creo por defecto activa la más alta) no
tiene activada esa versión de nfs, por lo tanto no puede montar los
recursos de netapp pues entre las versiones de NFS cliente y server no se
entienden.
eso te lo puede decir el administrador del filer, y luego podrás activar la
versión de NFS que corresponda para tomar el recurso.
también deberías fijarte si el server tiene a tu cliente en la lista como
permitido para tomar los recursos de NFS que comparte.

espero te sirva, comentanos como fue.


El 29 de marzo de 2012 16:32, cheperobert jrobertoa...@gmail.com escribió:

 Hola a todos,
 Estoy tratando de montar un direcctorio remoto en Centos 6.0, pero
 tengo el siguiente error:

 mount.nfs: requested NFS version or transport protocol is not supported

 Este es el comando:
 mount -t nfs 10.10.1.6:/mnt/iccaevg/iccaevgdc/EDUVIRTUAL /home/user1

 Les comento que he probado muchas opciones con el comando mount y
 simpre me da el mismo error,
 Cabe mencionar que el server remoto tiene el sistema NAS openfiler.

 He buscado este error en la WEB y ver si encuentro algunos bug's en
 Redhat y CentOS pero no he dado con algo que me indique cual es el
 problema y la solucion, tambien recalco que estoy montando otro
 directorio desde el mismo server remoto en un cliente Red Hat
 Enterprise Linux Server release 5.6 y no tengo problemas.

 Algunos datos de interes:

 En el cliente:
 Centos 6.0
 Kernel 2.6.32-220.4.1.el6.i686
 mount.nfs (linux nfs-utils 1.2.3)
 Selinux desactivado

 En el server Remoto:
 openfiler 2.3
 mount.nfs (linux nfs-utils 1.1.4)

 Gracias por su ayuda, mientras tanto seguire buscano como solucionarlo.



 --
 Saludos,
 cheperobert
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es

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


Re: [CentOS-es] Error al montar directorio remoto NFS: mount.nfs: requested NFS version or transport protocol is not supported

2012-03-29 Thread cheperobert
El día 29 de marzo de 2012 18:31, Carlos Restrepo
restrcar...@gmail.com escribió:
 El 29 de marzo de 2012 15:12, Claudio Pera cgp...@gmail.com escribió:

 hola, creo que tendrías que fijarte que versión de NFS tiene activado el
 filer, ya que muchas veces el cliente NFS tiene una versión de NFS anterior
 a la del filer y el servidor (que creo por defecto activa la más alta) no
 tiene activada esa versión de nfs, por lo tanto no puede montar los
 recursos de netapp pues entre las versiones de NFS cliente y server no se
 entienden.
 eso te lo puede decir el administrador del filer, y luego podrás activar la
 versión de NFS que corresponda para tomar el recurso.
 también deberías fijarte si el server tiene a tu cliente en la lista como
 permitido para tomar los recursos de NFS que comparte.

 espero te sirva, comentanos como fue.


 El 29 de marzo de 2012 16:32, cheperobert jrobertoa...@gmail.com
 escribió:

  Hola a todos,
  Estoy tratando de montar un direcctorio remoto en Centos 6.0, pero
  tengo el siguiente error:
 
  mount.nfs: requested NFS version or transport protocol is not supported
 
  Este es el comando:
  mount -t nfs 10.10.1.6:/mnt/iccaevg/iccaevgdc/EDUVIRTUAL /home/user1
 
  Les comento que he probado muchas opciones con el comando mount y
  simpre me da el mismo error,
  Cabe mencionar que el server remoto tiene el sistema NAS openfiler.
 
  He buscado este error en la WEB y ver si encuentro algunos bug's en
  Redhat y CentOS pero no he dado con algo que me indique cual es el
  problema y la solucion, tambien recalco que estoy montando otro
  directorio desde el mismo server remoto en un cliente Red Hat
  Enterprise Linux Server release 5.6 y no tengo problemas.
 
  Algunos datos de interes:
 
  En el cliente:
  Centos 6.0
  Kernel 2.6.32-220.4.1.el6.i686
  mount.nfs (linux nfs-utils 1.2.3)
  Selinux desactivado
 
  En el server Remoto:
  openfiler 2.3
  mount.nfs (linux nfs-utils 1.1.4)
 
  Gracias por su ayuda, mientras tanto seguire buscano como solucionarlo.
 
 
 
  --
  Saludos,
  cheperobert
  ___
  CentOS-es mailing list
  CentOS-es@centos.org
  http://lists.centos.org/mailman/listinfo/centos-es
 
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es


 Hola, revisa lo siguiente:

 1- El archivo /etc/exports correctamente configurado en el equipo que
 comparte el filesystem
 2- Que los servicios nfs y portmap esten corriendo en las dos maquinas
 3- Que no tengas firewalls activo en alguno de los dos nodos
 4- Las maquinas se hablan entre ellas?, es decir se responden ping?, se
 hablan por nombre de maquina e IP?

 si ejecutas la sentencia:  exportfs -ra   que mensaje te devuelve? (si no
 devuelve mensaje tu archivo /etc/exports esta correctamente configurado).

 Que mensaje te devuelve el comando showmount -e IP de la maquina servidor
 nfs ejecutado desde la maquina cliente?. Deberia mostrarte el directorio
 que esta compartiendo el servidor NFS.

Gracias por el tiempo que te has tomado en ayudarme, muy agradecido
por tu apoyo.
El día de mañana reviso y te comento.


 Saludos.


 --
 Carlos R!.
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es



-- 
Saludos,
cheperobert
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS] xorg.conf disappear

2012-03-29 Thread brick
Hi

My system is CentOS 6. I need to edit xorg.conf. But it can't be find in
/etc/X11. Where is it? How can I get the default setting?
Thanks.

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


Re: [CentOS] xorg.conf disappear

2012-03-29 Thread Lars Hecking
brick writes:
 Hi
 
 My system is CentOS 6. I need to edit xorg.conf. But it can't be find in
 /etc/X11. Where is it? How can I get the default setting?

 /var/log/Xorg.0.log will tell you which configuration Xorg is currently
 using, which devices are autodetected etc. If you need to change only
 particular parts of the config, you can drop a .conf file with the
 corresponding Section into /etc/X11/xorg.conf.d.

 E.g. if you needed a UK keyboard instead of the default US, you could use
 something along the lines of

# cd /etc/X11/corg.conf.d
# cat keyboard.conf
Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel pc105
Option  XkbLayout gb
EndSection
# 

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


Re: [CentOS] xorg.conf disappear

2012-03-29 Thread m . roth
Lars Hecking wrote:
 brick writes:
 Hi

 My system is CentOS 6. I need to edit xorg.conf. But it can't be find in
 /etc/X11. Where is it? How can I get the default setting?

  /var/log/Xorg.0.log will tell you which configuration Xorg is currently
  using, which devices are autodetected etc. If you need to change only
  particular parts of the config, you can drop a .conf file with the
  corresponding Section into /etc/X11/xorg.conf.d.
snip
The latest, most Wonderful (tm) version of xorg doesn't seem to require
one - it does it all at boot.

That being said, I think this is a stupid idea. For example, most folks at
work I know of have two monitors, and I've yet to see any automatic
do-it-at-boot figure that out.

   mark

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


Re: [CentOS] xorg.conf disappear

2012-03-29 Thread Timothy Murphy
m.r...@5-cent.us wrote:

 The latest, most Wonderful (tm) version of xorg doesn't seem to require
 one - it does it all at boot.
 
 That being said, I think this is a stupid idea. For example, most folks at
 work I know of have two monitors, and I've yet to see any automatic
 do-it-at-boot figure that out.

But, as has been said, hasn't it just been replaced by /etc/X11/xorg.conf.d/
There seems to be a general movement to replace *.conf by *conf.d/ .
I'm not sure of the rationale behind this change.
Is is Linux-wide, or is it a RedHat speciality?


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


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


Re: [CentOS] How to restrict reboot/poweroff from non-admins?

2012-03-29 Thread Theo Band
On 03/28/2012 09:38 PM, Timo Neuvonen wrote:
 Only console users (local users) are allowed to do that. It's configured
 using pam (I use Centos5.8 so forgive me if this is not the same for
 CentOS6). I tried to change settings in /etc/pam.d/ and that indeed works:

 /etc/pam.d/poweroff
 /etc/pam.d/reboot
 /etc/pam.d/halt

 I added as a second line :
 auth   sufficient   pam_rootok.so
 # prevent normal users to reboot
 auth   required pam_deny.so
 

 But still the user locally logged on to the machine (gnome session) can
 switch it off. So I think I also missed something.
 I can't test it right now, but reading 'man pam.d' made me wonder if
 'required'  in the 'auth required pam_deny.so' in the example above
 should be replaced with  'requisite'.

Both methods should work. With requisite the following checks are not
done anymore (it fails right away). But even if the other tests succeed
(after a failing required) the final judgement is still fail. It a way
not to tell the reason authentication fails. This makes it a little bit
more difficult for an attacker.

Note that shutdown is not in the list of pam enabled applications. So a
user cannot poweroff, but he can still shutdown :-(
I read that /etc/shutdown.allow controls shutdown but I don't understand
what the gnome desktop actually calls. Apparently it is not
poweroff/reboot/halt.

Anyone knows how to properly prevent any non root user (console and
remote) for powering off a machine?

I need this only for desktop users that switch of their machine by
accident. The machine is used as part of a compute grid as well.

Theo


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


Re: [CentOS] mismatch in openssh latest rpm available at centos

2012-03-29 Thread Johnny Hughes
On 03/28/2012 08:05 PM, Vinay Nagrik wrote:
 Hello Group,

 The latest rpm in openssh is 5.8, however, the corresponding latest rpm
 available in centos 5.7  is only

 openssh-4.3p2-72.el5_6.3.x86_64.rpm


 and
 in 6.0 centos is

 openssh-5.3p1-20.el6.x86_64.rpm

 I have following questions.

 1. I want to start from src.rpm and where can I get the src.rpm for
 openssh-5.3p1-20.el6.x86_64.rpm.

 2. Can I install openssh-5.3p1-20.el6.x86_64.rpm SAFELY with 5.7 centos
 without causing any problems.

If you rebuild it, if it rebuilds, and if you rebuild anything that
depends on the old one, then yes.  It may not build without newer
buildrequires being met though.  And now, every time there is an
upgrade, you have to remember to get the new one and rebuild again.  You
also have to track any changes of the new buildrequires that you had
to build.


 3. Which of these two rpms will be most compatible with latest openssh rpm
 version 5.8.

They are all compatible ... I don't think any is more compatible than
another.


 Please let me know.  It is important for my work.

 Any help will be greatly appreciated.


Unless you are going to look at the CVE website every day for ssh
vulnerabilities and roll in patches or get new code from openssh
directly for every one, then you want to stay with what is in the distro.

Red Hat uses backporting for security issues:

https://access.redhat.com/security/updates/backporting/

If you rebuild a new ssh, you will also have to rebuild any packages
that are built against the old openssh against the new openssh.

If you are concerned about security ... that is the whole purpose of
enterprise linux ... it backports security patches for 10 years while
maintaining consistent APIs/ABIs. 

If you want the latest packages on your machine, then you want Fedora
and not CentOS.



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


Re: [CentOS] xorg.conf disappear

2012-03-29 Thread Cal Webster
On Thu, 2012-03-29 at 09:57 +0100, Lars Hecking wrote:
 brick writes:
  Hi
  
  My system is CentOS 6. I need to edit xorg.conf. But it can't be find in
  /etc/X11. Where is it? How can I get the default setting?
 
  /var/log/Xorg.0.log will tell you which configuration Xorg is currently
  using, which devices are autodetected etc. If you need to change only
  particular parts of the config, you can drop a .conf file with the
  corresponding Section into /etc/X11/xorg.conf.d.
 
  E.g. if you needed a UK keyboard instead of the default US, you could use
  something along the lines of
 
 # cd /etc/X11/corg.conf.d
 # cat keyboard.conf
 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  XkbModel pc105
 Option  XkbLayout gb
 EndSection
 # 

If you know what you need, adding a separate conf file
in /etc/X11/xorg.conf.d/ is the cleanest way to go. If you need some
type of custom setup, however, you can generate an xorg.conf using Xorg
-configure. The X server must not be running when you do this.

## Go to run level 3

init 3

## Generate xorg.conf

Xorg -configure

## The configuration file will be stored in root user's home (/root)

From there you can modify it as needed then move it to /etc/X11/ and
init 5 to test. You can test your changes by jumping in and out of run
level 5.


From Xorg(1) man page:

-configure

 When  this option is specified, the Xorg server loads all video
driver modules, probes for available hardware, and  writes  out an
initial xorg.conf(5) file based on what was detected.  This option
currently has some problems on some  platforms,  but  in most  cases  it
is  a  good way to bootstrap the configuration process.  This option is
only available when the server is  run as root (i.e, with real-uid 0).

./Cal

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


Re: [CentOS] mismatch in openssh latest rpm available at centos

2012-03-29 Thread m . roth
Johnny Hughes wrote:
 On 03/28/2012 08:05 PM, Vinay Nagrik wrote:

 The latest rpm in openssh is 5.8, however, the corresponding latest rpm
 available in centos 5.7  is only
 openssh-4.3p2-72.el5_6.3.x86_64.rpm
 and in 6.0 centos is
 openssh-5.3p1-20.el6.x86_64.rpm

 I have following questions.

 1. I want to start from src.rpm and where can I get the src.rpm for
 openssh-5.3p1-20.el6.x86_64.rpm.

 2. Can I install openssh-5.3p1-20.el6.x86_64.rpm SAFELY with 5.7 centos
 without causing any problems.

 If you rebuild it, if it rebuilds, and if you rebuild anything that
 depends on the old one, then yes.  It may not build without newer
 buildrequires being met though.  And now, every time there is an
 upgrade, you have to remember to get the new one and rebuild again.  You
 also have to track any changes of the new buildrequires that you had
 to build.

 3. Which of these two rpms will be most compatible with latest openssh
 rpm version 5.8.
snip
 If you rebuild a new ssh, you will also have to rebuild any packages
 that are built against the old openssh against the new openssh.

 If you are concerned about security ... that is the whole purpose of
 enterprise linux ... it backports security patches for 10 years while
 maintaining consistent APIs/ABIs.

 If you want the latest packages on your machine, then you want Fedora
 and not CentOS.

Well... I can see it. We had to build a newer package for 5.x, because we
*had* to have PIV-II/pkcs11 support. That's *just* come in with 6.2, to be
able to log in with a smart card. Even so, there's a bug/enhancement (and
my manager has this in w/ Redhat, and it's been escalated) needed, that it
insists on showing the userlist of recent logins.

   mark

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


Re: [CentOS] xorg.conf disappear

2012-03-29 Thread Bob Hoffman
On 3/29/2012 10:06 AM, Cal Webster wrote:
 On Thu, 2012-03-29 at 09:57 +0100, Lars Hecking wrote:
 brick writes:
 Hi

 My system is CentOS 6. I need to edit xorg.conf. But it can't be find in
 /etc/X11. Where is it? How can I get the default setting?
   /var/log/Xorg.0.log will tell you which configuration Xorg is currently
   using, which devices are autodetected etc. If you need to change only
   particular parts of the config, you can drop a .conf file with the
   corresponding Section into /etc/X11/xorg.conf.d.

   E.g. if you needed a UK keyboard instead of the default US, you could use
   something along the lines of

 # cd /etc/X11/corg.conf.d
 # cat keyboard.conf
 Section InputDevice
  Identifier  Keyboard0
  Driver  kbd
  Option  XkbModel pc105
  Option  XkbLayout gb
 EndSection
 #
 If you know what you need, adding a separate conf file
 in /etc/X11/xorg.conf.d/ is the cleanest way to go. If you need some
 type of custom setup, however, you can generate an xorg.conf using Xorg
 -configure. The X server must not be running when you do this.

 ## Go to run level 3

 init 3

 ## Generate xorg.conf

 Xorg -configure

 ## The configuration file will be stored in root user's home (/root)

  From there you can modify it as needed then move it to /etc/X11/ and
 init 5 to test. You can test your changes by jumping in and out of run
 level 5.


  From Xorg(1) man page:

 -configure

   When  this option is specified, the Xorg server loads all video
 driver modules, probes for available hardware, and  writes  out an
 initial xorg.conf(5) file based on what was detected.  This option
 currently has some problems on some  platforms,  but  in most  cases  it
 is  a  good way to bootstrap the configuration process.  This option is
 only available when the server is  run as root (i.e, with real-uid 0).

 ./Cal

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


I thought it placed a conf file in the home directory of any user who 
brought up a x window/desktop?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mismatch in openssh latest rpm available at centos

2012-03-29 Thread Johnny Hughes
On 03/29/2012 09:56 AM, m.r...@5-cent.us wrote:
 Johnny Hughes wrote:
 On 03/28/2012 08:05 PM, Vinay Nagrik wrote:
 The latest rpm in openssh is 5.8, however, the corresponding latest rpm
 available in centos 5.7  is only
 openssh-4.3p2-72.el5_6.3.x86_64.rpm
 and in 6.0 centos is
 openssh-5.3p1-20.el6.x86_64.rpm

 I have following questions.

 1. I want to start from src.rpm and where can I get the src.rpm for
 openssh-5.3p1-20.el6.x86_64.rpm.

 2. Can I install openssh-5.3p1-20.el6.x86_64.rpm SAFELY with 5.7 centos
 without causing any problems.
 If you rebuild it, if it rebuilds, and if you rebuild anything that
 depends on the old one, then yes.  It may not build without newer
 buildrequires being met though.  And now, every time there is an
 upgrade, you have to remember to get the new one and rebuild again.  You
 also have to track any changes of the new buildrequires that you had
 to build.
 3. Which of these two rpms will be most compatible with latest openssh
 rpm version 5.8.
 snip
 If you rebuild a new ssh, you will also have to rebuild any packages
 that are built against the old openssh against the new openssh.

 If you are concerned about security ... that is the whole purpose of
 enterprise linux ... it backports security patches for 10 years while
 maintaining consistent APIs/ABIs.

 If you want the latest packages on your machine, then you want Fedora
 and not CentOS.
 Well... I can see it. We had to build a newer package for 5.x, because we
 *had* to have PIV-II/pkcs11 support. That's *just* come in with 6.2, to be
 able to log in with a smart card. Even so, there's a bug/enhancement (and
 my manager has this in w/ Redhat, and it's been escalated) needed, that it
 insists on showing the userlist of recent logins.

And this can be the case ... they will roll back security items, but
there will be some new functionality that is not rolled back.

If you really need some new function, then yes, a rebuild is in order.

That entails all the things I outlined above though ... figuring out
what else you need to build first to use as a BuildRequires, figure
out what you have to build after because they depend on the built Share
libraries of the package (or one they depend on one of your Newer
BuildRequires that you needed).  Then you need to set up a method to
track all the out of band packages that you are adding so you keep
them up2date.

This can sometimes just be the package in question ... but sometimes it
can be a whole bunch of other packages too ... for example, if you built
a newer openssl, you would also need to rebuild all of these afterwards
(which build against openssl):

[hughesjr@localhost SRPMS]$ for srpms in $(ls *.src.rpm); do
is_openssl=$(rpm -qp --requires $srpms | grep openssl); if [
$is_openssl !=   ]; then echo $srpms; fi; done
authd-1.4.3-14.src.rpm
autofs-5.0.1-0.rc2.163.el5.src.rpm
bind-9.3.6-20.P1.el5.src.rpm
bind97-9.7.0-6.P2.el5_7.4.src.rpm
certmonger-0.50-3.el5.src.rpm
clustermon-0.12.1-7.el5.centos.src.rpm
conga-0.12.2-51.el5.centos.src.rpm
crypto-utils-2.3-2.el5.src.rpm
curl-7.15.5-15.el5.src.rpm
cyrus-imapd-2.3.7-12.el5_7.2.src.rpm
cyrus-sasl-2.1.22-5.el5_4.3.src.rpm
desktop-printing-0.19-20.2.el5.src.rpm
distcache-1.4.5-14.1.src.rpm
dovecot-1.0.7-7.el5_7.1.src.rpm
ecryptfs-utils-75-8.el5.src.rpm
elinks-0.11.1-6.el5_4.1.src.rpm
epic-2.4-1.src.rpm
evolution-connector-2.12.3-11.el5.src.rpm
evolution-data-server-1.12.3-18.el5.src.rpm
exim-4.63-10.el5.src.rpm
fetchmail-6.3.6-4.el5.src.rpm
fipscheck-1.2.0-1.el5.src.rpm
freeradius-1.1.3-1.6.el5.src.rpm
freeradius2-2.1.12-3.el5.src.rpm
gftp-2.0.18-3.2.2.src.rpm
gnome-vfs2-2.16.2-8.el5.src.rpm
hplip-1.6.7-6.el5_6.1.src.rpm
hplip3-3.9.8-11.el5_6.1.src.rpm
htdig-3.2.0b6-11.el5.src.rpm
httpd-2.2.3-63.el5.centos.src.rpm
ipsec-tools-0.6.5-14.el5_5.5.src.rpm
iscsi-initiator-utils-6.2.0.872-13.el5.src.rpm
isns-utils-0.93-1.0.el5.src.rpm
java-1.6.0-openjdk-1.6.0.0-1.24.1.10.4.el5.src.rpm
kdelibs-3.5.4-26.el5.centos.1.src.rpm
kdenetwork-3.5.4-13.el5_6.1.src.rpm
libc-client-2004g-2.2.1.src.rpm
libdbi-drivers-0.8.1a-1.2.2.src.rpm
libgnomeprint22-2.12.1-10.el5.src.rpm
libwvstreams-4.2.2-2.1.src.rpm
lynx-2.8.5-28.1.el5_2.1.src.rpm
m2crypto-0.16-8.el5.src.rpm
mod_authz_ldap-0.26-11.el5.src.rpm
mutt-1.4.2.2-3.0.2.el5.src.rpm
mysql-5.0.77-4.el5_6.6.src.rpm
neon-0.25.5-10.el5_4.1.src.rpm
net-snmp-5.3.2.2-17.el5.src.rpm
NetworkManager-0.7.0-13.el5.src.rpm
nmap-4.11-2.src.rpm
nss_ldap-253-49.el5.src.rpm
ntp-4.2.2p1-15.el5.centos.1.src.rpm
openCryptoki-2.2.4-25.el5.src.rpm
openhpi-2.14.0-5.el5.src.rpm
OpenIPMI-2.0.16-12.el5.src.rpm
openldap-2.3.43-25.el5.src.rpm
openldap24-libs-2.4.23-5.el5.src.rpm
openssh-4.3p2-82.el5.src.rpm
pam_ccreds-3-5.src.rpm
perl-Crypt-SSLeay-0.51-11.el5.src.rpm
perl-Net-SSLeay-1.30-4.fc6.src.rpm
php-5.1.6-32.el5.src.rpm
php53-5.3.3-5.el5.src.rpm
postfix-2.3.3-2.3.el5_6.src.rpm
postgresql-8.1.23-1.el5_7.3.src.rpm
postgresql84-8.4.9-1.el5_7.1.src.rpm
postgresql-odbc64-09.00.0200-1.el5.src.rpm

Re: [CentOS] xorg.conf disappear

2012-03-29 Thread David G . Miller
 m.roth@... writes:

 
 Lars Hecking wrote:
  brick writes:
  Hi
 
  My system is CentOS 6. I need to edit xorg.conf. But it can't be find in
  /etc/X11. Where is it? How can I get the default setting?
 
   /var/log/Xorg.0.log will tell you which configuration Xorg is currently
   using, which devices are autodetected etc. If you need to change only
   particular parts of the config, you can drop a .conf file with the
   corresponding Section into /etc/X11/xorg.conf.d.
 snip
 The latest, most Wonderful (tm) version of xorg doesn't seem to require
 one - it does it all at boot.
 
 That being said, I think this is a stupid idea. For example, most folks at
 work I know of have two monitors, and I've yet to see any automatic
 do-it-at-boot figure that out.
 
mark
 

Running FC-16 from an external hard disk that I carry back and forth between
home and work.  FC-16 boots just fine on two different laptops each with an
external monitor attached.  On the work system Xorg auto-detects the monitor
configuration and just works.  On my older laptop at home I have to run xrandr
to get it to sort out which display is where.  The work laptop is all Intel
including the video and the home laptop has an AMD CPU and ATI graphics plus the
display geometries are different for both the laptops and the external monitors.

I appreciate that this is with FC-16 instead of CentOS but you may find that the
autoconfiguration will work this well when RHEL/CentOS 7 gets built based on FC.
 It's really nice to just be carrying the external disk between work and home
instead of the laptop.

Cheers,
Dave


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


Re: [CentOS] process accounting on 5.7

2012-03-29 Thread Alan McKay
On Mon, Mar 26, 2012 at 8:57 AM, John Doe jd...@yahoo.com wrote:


 Indeed, I looked too fast and missed the IDs...
 So, why not just something like this:
 dump-acct /var/account/pacct | awk -F\| '
 { total_cpu += $4; cpu[$5] += $4;
   total_ram += $7; ram[$5] += $7 }
 END { for (x in cpu) {
   print x int((cpu[x]*100)/total_cpu)%
 int((ram[x]*100)/total_ram)%; } } '
 Or just 'sa -m'?



Thanks, yeah I can definitely do that - just wanted to see if there was
something already out there which had a few bells and whistles.

But that raw data above should be good enough for my use


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ugly login screen - squirrel

2012-03-29 Thread Prabhpal S. Mavi

Dear Friends Greetings,

i am CentOS User for some years now, have installed and configured
squirrelmail number of times without issues.

but this time it is on CentOS 6.2 x64 - i see very ugly login interface.
of squirrelmail, i wish to mention that the package was installed from
epelrepo becuse it is not available on centos or rpmforge repo either.

i can login also, after login this is how i see the inside interface.

id anyone has come across the same? any solution?
here is what i see on squirrelmail login page:

bgcolor=#ff border=0 cellspacing=0 cellpadding=0
width=100%
SquirrelMail Logo
SquirrelMail version 1.4.22-2.el6
By the SquirrelMail Project Team
 bgcolor=#ff border=0 width=350
bgcolor=#dcdcdcSquirrelMail Login  bgcolor=#ff 
bgcolor=#ff border=0 width=100% width=30%Name: 
width=70%  width=30%Password:  width=70% 




Thanks / Regards
Prabhpal S. Mavi
Email: prabh...@digital-infotech.net


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


Re: [CentOS] ugly login screen - squirrel

2012-03-29 Thread m . roth
Prabhpal S. Mavi wrote:

 Dear Friends Greetings,

 i am CentOS User for some years now, have installed and configured
 squirrelmail number of times without issues.

 but this time it is on CentOS 6.2 x64 - i see very ugly login interface.
 of squirrelmail, i wish to mention that the package was installed from
 epelrepo becuse it is not available on centos or rpmforge repo either.

 i can login also, after login this is how i see the inside interface.

 id anyone has come across the same? any solution?
 here is what i see on squirrelmail login page:

 bgcolor=#ff border=0 cellspacing=0 cellpadding=0
 width=100%
 SquirrelMail Logo
 SquirrelMail version 1.4.22-2.el6
 By the SquirrelMail Project Team
  bgcolor=#ff border=0 width=350
 bgcolor=#dcdcdcSquirrelMail Login  bgcolor=#ff 
 bgcolor=#ff border=0 width=100% width=30%Name: 
 width=70%  width=30%Password:  width=70% 

Please note that this is a traditional mailing list, and the HTML was
chopped off - we only do plain text.

mark

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


Re: [CentOS] ugly login screen - squirrel

2012-03-29 Thread Michael Peterson
Prabhpal S. Mavi,

Can you provide a URL to use to view what it actually looks like?
Is it on an external server?

I installed squirrelmail from the tar.bz2 file available from their web
site at the link.
http://squirrelmail.org/download.php

Here is a link to the page where it can be viewed from.

http://linux1.iwcc.edu/webmail/src/login.php

Michael Peterson

 Prabhpal S. Mavi wrote:

 Dear Friends Greetings,

 i am CentOS User for some years now, have installed and configured
 squirrelmail number of times without issues.

 but this time it is on CentOS 6.2 x64 - i see very ugly login interface.
 of squirrelmail, i wish to mention that the package was installed from
 epelrepo becuse it is not available on centos or rpmforge repo either.

 i can login also, after login this is how i see the inside interface.

 id anyone has come across the same? any solution?
 here is what i see on squirrelmail login page:

 bgcolor=#ff border=0 cellspacing=0 cellpadding=0
 width=100%
 SquirrelMail Logo
 SquirrelMail version 1.4.22-2.el6
 By the SquirrelMail Project Team
  bgcolor=#ff border=0 width=350
 bgcolor=#dcdcdcSquirrelMail Login  bgcolor=#ff 
 bgcolor=#ff border=0 width=100% width=30%Name: 
 width=70%  width=30%Password:  width=70% 

 Please note that this is a traditional mailing list, and the HTML was
 chopped off - we only do plain text.

 mark

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


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


Re: [CentOS] ugly login screen - squirrel

2012-03-29 Thread John R Pierce
On 03/29/12 12:12 PM, Prabhpal S. Mavi wrote:
 but this time it is on CentOS 6.2 x64 - i see very ugly login interface.
 of squirrelmail, i wish to mention that the package was installed from
 epelrepo becuse it is not available on centos or rpmforge repo either.

EPEL has its own mail lists and support, its not considered part of CentOS.



-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

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


Re: [CentOS] ugly login screen - squirrel

2012-03-29 Thread Prabhpal S. Mavi
Dear Michael,

thanks for your response, here is the like to squirrelmail web interface.
i feel that if it is installed from source, it is later difficult to
uninstall when upgrading, that is why i prefer rpm. please correct if i am
wrong.

https://mail.digital-infotech.com/webmail

Thanks / regards

 Prabhpal S. Mavi,

 Can you provide a URL to use to view what it actually looks like?
 Is it on an external server?

 I installed squirrelmail from the tar.bz2 file available from their web
 site at the link.
 http://squirrelmail.org/download.php

 Here is a link to the page where it can be viewed from.

 http://linux1.iwcc.edu/webmail/src/login.php

 Michael Peterson

 Prabhpal S. Mavi wrote:

 Dear Friends Greetings,

 i am CentOS User for some years now, have installed and configured
 squirrelmail number of times without issues.

 but this time it is on CentOS 6.2 x64 - i see very ugly login
 interface.
 of squirrelmail, i wish to mention that the package was installed from
 epelrepo becuse it is not available on centos or rpmforge repo either.

 i can login also, after login this is how i see the inside interface.

 id anyone has come across the same? any solution?
 here is what i see on squirrelmail login page:

 bgcolor=#ff border=0 cellspacing=0 cellpadding=0
 width=100%
 SquirrelMail Logo
 SquirrelMail version 1.4.22-2.el6
 By the SquirrelMail Project Team
  bgcolor=#ff border=0 width=350
 bgcolor=#dcdcdcSquirrelMail Login  bgcolor=#ff 
 bgcolor=#ff border=0 width=100% width=30%Name: 
 width=70%  width=30%Password:  width=70% 

 Please note that this is a traditional mailing list, and the HTML was
 chopped off - we only do plain text.

 mark

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


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



Thanks / Regards
Prabhpal S. Mavi
Email: prabh...@digital-infotech.net
Sent Through .Net Domain From iPhone

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


Re: [CentOS] ugly login screen - squirrel

2012-03-29 Thread m . roth
Prabhpal S. Mavi wrote:
 Dear Michael,

 thanks for your response, here is the like to squirrelmail web interface.
 i feel that if it is installed from source, it is later difficult to
 uninstall when upgrading, that is why i prefer rpm. please correct if i am
 wrong.

 https://mail.digital-infotech.com/webmail

Ah. Ok, you've got a permissions problem, it looks like.

   mark

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


[CentOS] RAID-10 vs Nested (RAID-0 on 2x RAID-1s)

2012-03-29 Thread Tim Nelson
Greetings-

I'm about to embark on a new installation of Centos 6 x64 on 4x SATA HDDs. The 
plan is to use RAID-10 as a nice combo between data security (RAID1) and speed 
(RAID0). However, I'm finding either a lack of raw information on the topic, or 
I'm having a mental issue preventing the osmosis of the implementation into my 
brain.

Option #1:
My understanding of RAID10 using 4 drives (now known as a,b,c,d) is:

a+b - RAID1 (md0)
c+d - RAID1 (md1)

md0+md1 - RAID0 (md3)

This is of course simplified as /boot needs to be on RAID1 (last I checked Grub 
couldn't boot from anything other than RAID1).

Option #2:
I've also found the kernel provides a direct method of RAID10 without the 
manual assignment of the arrays as noted above. I performed a test 
installation, selecting RAID10 as the type in the installer, and it works but 
I'm just not seeing the distinction between what disks/partitions are actually 
the mirror or stripe portion of the array. Details:

[root@c6r10tester ~]# mdadm --detail /dev/md1
/dev/md1:
Version : 1.1
  Creation Time : Thu Mar 29 16:14:17 2012
 Raid Level : raid10
 Array Size : 36695040 (35.00 GiB 37.58 GB)
  Used Dev Size : 18347520 (17.50 GiB 18.79 GB)
   Raid Devices : 4
  Total Devices : 4
Persistence : Superblock is persistent

  Intent Bitmap : Internal

Update Time : Thu Mar 29 16:28:49 2012
  State : active
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

 Layout : near=2
 Chunk Size : 512K

   Name : c6r10tester:1  (local to host c6r10tester)
   UUID : be38645d:4d3c8b77:0f6df687:08016c6a
 Events : 51

Number   Major   Minor   RaidDevice State
   0   830  active sync   /dev/sda3
   1   8   191  active sync   /dev/sdb3
   2   8   352  active sync   /dev/sdc3
   3   8   513  active sync   /dev/sdd3

Am I overthinking this? Does the kernel handle the mirror/stripe configuration 
under the hood, simply presenting me with a magical RAID10 array? Or, is this 
something different and I really should be performing the RAID creation 
manually as noted in option #1?

Help me CentOS-Kenobi, you're my only hope.

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


[CentOS] my spammer list

2012-03-29 Thread Bob Hoffman
Hello,
Thanks to some nice people on here and other forums I have pretty much 
finalized my whole mail system on centos 6.x.

With all the checks, greylisting, dev/null of any 8+ spam level SA, I 
still get a few mails.

It seems like everytime I enable a new protectant, the mail stops 
spamming for a few hours...then the spammers decide I am worthy of using 
better methods against me..and more come. LOL.

I am down to just 10-15 a day.
Anything that gets through all that I set up now goes to a spammers list 
that I add to the access file of postfix.

http://bobhoffman.com/spammers.html

that is the link to my list. I am trying to sort them out into 
political, real estate, bulk spammers, etc.
The worst part is the bulk emailers are not on any black list. It is 
very hard to find their mail MX until they actually send you one.
Many will be blocked, then a new alternate of theirs comes through.

I could not find a list of bulk commercial spammers so I thought I would 
start one. As I progress it will become more defined, but right now a 
big list with some categories after it.

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


Re: [CentOS] RAID-10 vs Nested (RAID-0 on 2x RAID-1s)

2012-03-29 Thread John R Pierce
On 03/29/12 2:49 PM, Tim Nelson wrote:
 Am I overthinking this?

yes.

 Does the kernel handle the mirror/stripe configuration under the hood, simply 
 presenting me with a magical RAID10 array?

yes.

 Or, is this something different and I really should be performing the RAID 
 creation manually as noted in option #1?

no.   :)



-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

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


Re: [CentOS] RAID-10 vs Nested (RAID-0 on 2x RAID-1s)

2012-03-29 Thread S.Tindall
On Thu, 2012-03-29 at 16:49 -0500, Tim Nelson wrote:

 [root@c6r10tester ~]# mdadm --detail /dev/md1
 /dev/md1:
 Version : 1.1
   Creation Time : Thu Mar 29 16:14:17 2012
  Raid Level : raid10
...
  Layout : near=2
  Chunk Size : 512K
...

 Am I overthinking this? Does the kernel handle the mirror/stripe 
 configuration under the hood, simply presenting me with a magical RAID10 
 array? Or, is this something different and I really should be performing the 
 RAID creation manually as noted in option #1?

Two resources to look at are:

 1) Wikipedia Linux MD RAID 10

  http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10

 2) mdadm manpage section for --layout= (the raid10 part)

  Finally, the layout options for RAID10 are one of ’n’, ’o’ or ’f’...

The key to understanding your setup is mdadm --detail Layout: near=2.
The cited Wikipedia reference for a standard near layout describes
your situation.

Steve

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


Re: [CentOS] mismatch in openssh latest rpm available at centos

2012-03-29 Thread Ross Walker
On Mar 29, 2012, at 11:39 AM, Johnny Hughes joh...@centos.org wrote:

 On 03/29/2012 09:56 AM, m.r...@5-cent.us wrote:
 Johnny Hughes wrote:
 On 03/28/2012 08:05 PM, Vinay Nagrik wrote:
 The latest rpm in openssh is 5.8, however, the corresponding latest rpm
 available in centos 5.7  is only
 openssh-4.3p2-72.el5_6.3.x86_64.rpm
 and in 6.0 centos is
 openssh-5.3p1-20.el6.x86_64.rpm
 
 I have following questions.
 
 1. I want to start from src.rpm and where can I get the src.rpm for
 openssh-5.3p1-20.el6.x86_64.rpm.
 
 2. Can I install openssh-5.3p1-20.el6.x86_64.rpm SAFELY with 5.7 centos
 without causing any problems.
 If you rebuild it, if it rebuilds, and if you rebuild anything that
 depends on the old one, then yes.  It may not build without newer
 buildrequires being met though.  And now, every time there is an
 upgrade, you have to remember to get the new one and rebuild again.  You
 also have to track any changes of the new buildrequires that you had
 to build.
 3. Which of these two rpms will be most compatible with latest openssh
 rpm version 5.8.
 snip
 If you rebuild a new ssh, you will also have to rebuild any packages
 that are built against the old openssh against the new openssh.
 
 If you are concerned about security ... that is the whole purpose of
 enterprise linux ... it backports security patches for 10 years while
 maintaining consistent APIs/ABIs.
 
 If you want the latest packages on your machine, then you want Fedora
 and not CentOS.
 Well... I can see it. We had to build a newer package for 5.x, because we
 *had* to have PIV-II/pkcs11 support. That's *just* come in with 6.2, to be
 able to log in with a smart card. Even so, there's a bug/enhancement (and
 my manager has this in w/ Redhat, and it's been escalated) needed, that it
 insists on showing the userlist of recent logins.
 
 And this can be the case ... they will roll back security items, but
 there will be some new functionality that is not rolled back.
 
 If you really need some new function, then yes, a rebuild is in order.
 
 That entails all the things I outlined above though ... figuring out
 what else you need to build first to use as a BuildRequires, figure
 out what you have to build after because they depend on the built Share
 libraries of the package (or one they depend on one of your Newer
 BuildRequires that you needed).  Then you need to set up a method to
 track all the out of band packages that you are adding so you keep
 them up2date.
 
 This can sometimes just be the package in question ... but sometimes it
 can be a whole bunch of other packages too ... for example, if you built
 a newer openssl, you would also need to rebuild all of these afterwards
 (which build against openssl):
 
 [hughesjr@localhost SRPMS]$ for srpms in $(ls *.src.rpm); do
 is_openssl=$(rpm -qp --requires $srpms | grep openssl); if [
 $is_openssl !=   ]; then echo $srpms; fi; done
 authd-1.4.3-14.src.rpm
 autofs-5.0.1-0.rc2.163.el5.src.rpm
 bind-9.3.6-20.P1.el5.src.rpm
 bind97-9.7.0-6.P2.el5_7.4.src.rpm
 certmonger-0.50-3.el5.src.rpm
 clustermon-0.12.1-7.el5.centos.src.rpm
 conga-0.12.2-51.el5.centos.src.rpm
 crypto-utils-2.3-2.el5.src.rpm
 curl-7.15.5-15.el5.src.rpm
 cyrus-imapd-2.3.7-12.el5_7.2.src.rpm
 cyrus-sasl-2.1.22-5.el5_4.3.src.rpm
 desktop-printing-0.19-20.2.el5.src.rpm
 distcache-1.4.5-14.1.src.rpm
 dovecot-1.0.7-7.el5_7.1.src.rpm
 ecryptfs-utils-75-8.el5.src.rpm
 elinks-0.11.1-6.el5_4.1.src.rpm
 epic-2.4-1.src.rpm
 evolution-connector-2.12.3-11.el5.src.rpm
 evolution-data-server-1.12.3-18.el5.src.rpm
 exim-4.63-10.el5.src.rpm
 fetchmail-6.3.6-4.el5.src.rpm
 fipscheck-1.2.0-1.el5.src.rpm
 freeradius-1.1.3-1.6.el5.src.rpm
 freeradius2-2.1.12-3.el5.src.rpm
 gftp-2.0.18-3.2.2.src.rpm
 gnome-vfs2-2.16.2-8.el5.src.rpm
 hplip-1.6.7-6.el5_6.1.src.rpm
 hplip3-3.9.8-11.el5_6.1.src.rpm
 htdig-3.2.0b6-11.el5.src.rpm
 httpd-2.2.3-63.el5.centos.src.rpm
 ipsec-tools-0.6.5-14.el5_5.5.src.rpm
 iscsi-initiator-utils-6.2.0.872-13.el5.src.rpm
 isns-utils-0.93-1.0.el5.src.rpm
 java-1.6.0-openjdk-1.6.0.0-1.24.1.10.4.el5.src.rpm
 kdelibs-3.5.4-26.el5.centos.1.src.rpm
 kdenetwork-3.5.4-13.el5_6.1.src.rpm
 libc-client-2004g-2.2.1.src.rpm
 libdbi-drivers-0.8.1a-1.2.2.src.rpm
 libgnomeprint22-2.12.1-10.el5.src.rpm
 libwvstreams-4.2.2-2.1.src.rpm
 lynx-2.8.5-28.1.el5_2.1.src.rpm
 m2crypto-0.16-8.el5.src.rpm
 mod_authz_ldap-0.26-11.el5.src.rpm
 mutt-1.4.2.2-3.0.2.el5.src.rpm
 mysql-5.0.77-4.el5_6.6.src.rpm
 neon-0.25.5-10.el5_4.1.src.rpm
 net-snmp-5.3.2.2-17.el5.src.rpm
 NetworkManager-0.7.0-13.el5.src.rpm
 nmap-4.11-2.src.rpm
 nss_ldap-253-49.el5.src.rpm
 ntp-4.2.2p1-15.el5.centos.1.src.rpm
 openCryptoki-2.2.4-25.el5.src.rpm
 openhpi-2.14.0-5.el5.src.rpm
 OpenIPMI-2.0.16-12.el5.src.rpm
 openldap-2.3.43-25.el5.src.rpm
 openldap24-libs-2.4.23-5.el5.src.rpm
 openssh-4.3p2-82.el5.src.rpm
 pam_ccreds-3-5.src.rpm
 perl-Crypt-SSLeay-0.51-11.el5.src.rpm
 perl-Net-SSLeay-1.30-4.fc6.src.rpm
 php-5.1.6-32.el5.src.rpm
 php53-5.3.3-5.el5.src.rpm
 

[CentOS] Linux on touch screen device

2012-03-29 Thread Nataraj
I have poked around in google and have seen a number of youtube videos,
but my question is whether anyone really has linux running on any kind
of tablet or tablet PC device in such a way that the touch screen can be
used productively and it won't take a month to get it running? 
Initially the two applications that are of most interest to me would be
a good web browser (maybe chromium) and thunderbird.  I would also like
to have a decent on screen keyboard which could be used to ssh to
servers in an emergency.

I've seen instructions for booting linux on various devices, but many
people doing this are using keyboards and not touchscreens.

Do applications like thunderbird have to be modified in order to work
well with a touch screen or is just getting a working driver for the
touchpad sufficient?

If anyone has any experience with this I would appreciate knowing what
hardware your running on and what linux distro/desktop environment you
use.  I've been interested in devices like the ASUS EP121 which is a
dual core I5, so it wouldn't be necessary to have an ARM distribution. 
Also the newest Asus transformer prime (arm) which I think is about 2
months away sounds interesting.

Nataraj





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


Re: [CentOS] RAID-10 vs Nested (RAID-0 on 2x RAID-1s)

2012-03-29 Thread Luke S. Crawford
On Thu, Mar 29, 2012 at 04:49:26PM -0500, Tim Nelson wrote:
 Am I overthinking this? Does the kernel handle the mirror/stripe 
 configuration under the hood, simply presenting me with a magical RAID10 
 array? Or, is this something different and I really should be performing the 
 RAID creation manually as noted in option #1?

I used to do something very similar to option 1, save that I used LVM to 
do the striping.  I now use the md raid10 array.  Rebuilds are dramatically
faster under the 'just let md handle the raid10' option.   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] my spammer list

2012-03-29 Thread Nataraj
On 03/29/2012 03:00 PM, Bob Hoffman wrote:
 Hello,
 Thanks to some nice people on here and other forums I have pretty much 
 finalized my whole mail system on centos 6.x.

 With all the checks, greylisting, dev/null of any 8+ spam level SA, I 
 still get a few mails.

 It seems like everytime I enable a new protectant, the mail stops 
 spamming for a few hours...then the spammers decide I am worthy of using 
 better methods against me..and more come. LOL.

 I am down to just 10-15 a day.
 Anything that gets through all that I set up now goes to a spammers list 
 that I add to the access file of postfix.

 http://bobhoffman.com/spammers.html

 that is the link to my list. I am trying to sort them out into 
 political, real estate, bulk spammers, etc.
 The worst part is the bulk emailers are not on any black list. It is 
 very hard to find their mail MX until they actually send you one.
 Many will be blocked, then a new alternate of theirs comes through.

 I could not find a list of bulk commercial spammers so I thought I would 
 start one. As I progress it will become more defined, but right now a 
 big list with some categories after it.

 Hope it helps.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
You won't be able to track them easily because they hop around from
network to network.  Sometimes I can recognize them by seeing the same
spams repeatedly, also, different IP addresses connecting and guessing
passwords for the same list of users.  But I rarely get those anymore
since I have blocked pop/imap logins from outside of the US.

You can report them to spamcop.net and that may help to provide some
incentive for ISPs to kick spammers off their network.

The way that I finally got rid of all the residual spam that makes it
through greylisting, SPF, spamassassin, clamav is to handout unique mail
addresses and use black/whitelists.  So for example if I assign an email
address for incoming mail from a mailing list and then setup a whitelist
entry that only allows that address to receive email from the
mailservers that serve that mailing list and then blacklist all other
incoming mail to that address it is very effective.  With a decent
whitelist/blacklist tool it's fairly easy to implement.  I used to get
literally hundreds of spams a day and now I probably average about 2 per
week.

You can also get on the spamassassin mailing list and add more plugins
and work on tuning the spamassassin config.   You can also play with
sa-learn.  For me though the black/whitelisting works quite well.


Nataraj

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


Re: [CentOS] my spammer list

2012-03-29 Thread Bob Hoffman
On 3/29/2012 11:26 PM, Nataraj wrote:
 On 03/29/2012 03:00 PM, Bob Hoffman wrote:
 Hello,
 Thanks to some nice people on here and other forums I have pretty much
 finalized my whole mail system on centos 6.x.

 With all the checks, greylisting, dev/null of any 8+ spam level SA, I
 still get a few mails.

 It seems like everytime I enable a new protectant, the mail stops
 spamming for a few hours...then the spammers decide I am worthy of using
 better methods against me..and more come. LOL.

 I am down to just 10-15 a day.
 Anything that gets through all that I set up now goes to a spammers list
 that I add to the access file of postfix.

 http://bobhoffman.com/spammers.html

 that is the link to my list. I am trying to sort them out into
 political, real estate, bulk spammers, etc.
 The worst part is the bulk emailers are not on any black list. It is
 very hard to find their mail MX until they actually send you one.
 Many will be blocked, then a new alternate of theirs comes through.

 I could not find a list of bulk commercial spammers so I thought I would
 start one. As I progress it will become more defined, but right now a
 big list with some categories after it.

 Hope it helps.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 You won't be able to track them easily because they hop around from
 network to network.  Sometimes I can recognize them by seeing the same
 spams repeatedly, also, different IP addresses connecting and guessing
 passwords for the same list of users.  But I rarely get those anymore
 since I have blocked pop/imap logins from outside of the US.

 You can report them to spamcop.net and that may help to provide some
 incentive for ISPs to kick spammers off their network.

 The way that I finally got rid of all the residual spam that makes it
 through greylisting, SPF, spamassassin, clamav is to handout unique mail
 addresses and use black/whitelists.  So for example if I assign an email
 address for incoming mail from a mailing list and then setup a whitelist
 entry that only allows that address to receive email from the
 mailservers that serve that mailing list and then blacklist all other
 incoming mail to that address it is very effective.  With a decent
 whitelist/blacklist tool it's fairly easy to implement.  I used to get
 literally hundreds of spams a day and now I probably average about 2 per
 week.

 You can also get on the spamassassin mailing list and add more plugins
 and work on tuning the spamassassin config.   You can also play with
 sa-learn.  For me though the black/whitelisting works quite well.


 Nataraj

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


mostly down to just the bulk commercial spammers. Usually spam dev/null 
them but decided to disable spam assassin and go after a nice list. Only 
got two mails in the last 12 hours, so it is cool.
I get lots of political and real estate spammers due to the jobs I have 
had and my mail being on their lists...a list you can never get off. So 
listing them was the perfect thing.
so without spamassassin, going good so far. Almost nothing.

when I get one or two a day I just add them to the list..lol

I am happy to not have hundreds a day anymore...so happy.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Linux on touch screen device

2012-03-29 Thread 夜神 岩男


--- On Fri, 2012/3/30, Nataraj incoming-cen...@rjl.com wrote:

 I have poked around in google and have seen a number of youtube videos,
 but my question is whether anyone really has linux running on any kind
 of tablet or tablet PC device in such a way that the touch screen can be
 used productively and it won't take a month to get it running? 
 Initially the two applications that are of most interest to me would be
 a good web browser (maybe chromium) and thunderbird.  I would also like
 to have a decent on screen keyboard which could be used to ssh to
 servers in an emergency.
 
 I've seen instructions for booting linux on various devices, but many
 people doing this are using keyboards and not touchscreens.
 
 Do applications like thunderbird have to be modified in order to work
 well with a touch screen or is just getting a working driver for the
 touchpad sufficient?
 
 If anyone has any experience with this I would appreciate knowing what
 hardware your running on and what linux distro/desktop environment you
 use.  I've been interested in devices like the ASUS EP121 which is a
 dual core I5, so it wouldn't be necessary to have an ARM distribution. 
 Also the newest Asus transformer prime (arm) which I think is about 2
 months away sounds interesting.

Lots of people do this and lots of (most?) commercial tablet/smartphone systems 
are based on Linux or a close cousin (Android and iOS come to mind...).

As far as non-commercial DIY tablet distros, there are distros and special 
interest groups within larger distros that focus on this type of deployment.

But none of them are CentOS, so I'm not sure why you pinged this mailinglist -- 
though I think you'd probably find that CentOS installs just fine in most 
cases, just remember to build whatever graphcs driver you need or your 
experience might not be good.

Go ask over at Fedora, Ubuntu and maybe Mint. Also check out MeeGo and whatnot.

As a side note, there is nothing magical about a touchscreen. Touchscreens are 
just pointing devices like mice and touchpads as far as Linux is concerned, but 
in this case it is a touchpad that you can see through to a screen on the other 
side (there is a special case of location logic, of course, so the pointer 
doesn't continue from last location, but this is a normal case handled by X). 
So nothing special happens in an application to make it work with a 
touchscreen because a touchscreen is just creating mouse events the same way 
your normal mouse would do. The only problem with touchscreens is that small 
icons are smaller than your finger (well, mine anyway) and so you have to make 
the desktop a little cartoony to make things work right. Gnome Shell in Fedora 
is actually not too bad to use with a touchscreen, though it sucks horribly 
with a mouse IMO, and KDE with large widgets is pretty easy as well.

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