Re: [CentOS-docs] Proposed change to HowTos/Skype

2011-07-25 Thread Ralph Angenendt
Am 20.07.11 16:10, schrieb John Fettig:

 If you want me to change this directly, my login is JohnFettig.  I
 would be happy if e.g. Akemi Yagi (amy...@gmail.com) would add this
 info.

You can change that yourself.

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


[CentOS-announce] Release for CentOS-6.0 LiveCD i386 and x86_64

2011-07-25 Thread Karanbir Singh
We are pleased to announce the immediate availability of CentOS-6.0
LiveCD for i386 and x86_64 architectures.

Detailed Release Notes are available at
http://wiki.centos.org/Manuals/ReleaseNotes/CentOSLiveCD6.0

+++
Overview

The CentOS-6.0 LiveCD is meant to be a Linux environment suited to be
run directly from either CD media or USB storage devices. It does not
need any persistent storage on a machine, which also makes it a suitable
recovery environment.

Due to space constraints, it was not possible to include all the
traditional desktop applications on the LiveCD. You can though enjoy a
Gnome basic desktop, view and modify pictures with gthumb and  the Gimp,
browsing the web with Firefox, send emails with Thunderbird and connect
to your favorite Instant Messaging network with Pidgin

+++
Download

SHA256SUMs :

CentOS-6.0-x86_64-LiveCD.iso:
f7239593e425ea4c26c5292e23b5e284e64779f54af395486cf1fd4b3e6c7f3b

CentOS-6.0-i386-LiveCD.iso:
c4e09a2152a8e1b17dc6704eb8d7455c13f615e40432cb0b4b07f65850948628

The CentOS-6.0 LiveCD is released to all external mirrors and available
for download now. List of mirrors is available at these urls :

http://isoredirect.centos.org/centos/6/isos/i386/
http://isoredirect.centos.org/centos/6/isos/x86_64/

There are no torrent files for these LiveCD images since the overall
size of download is small enough that it can be easily downloaded via
http and ftp mirrors. Given the very large and diverse CentOS Mirror
network, we expect most people to get fairly good download rates for
these iso images.

Once you download the images, its important to verify contents using the
sha256sum utility, against the published sums here.

+++
Notes

You can now install the Live environment to your hard disk (which wasn’t
possible with the 5.x Live medias). Please note that you need more that
512Mb of ram to be able to use that ‘install to hard drive’ feature (If
you have less than 512Mb of ram, you can install to disk but in
text-mode, meaning that instead of clicking on the desktop icon, you
have to launch a gnome-terminal and launch the ‘liveinst’ command from
within the terminal)

There is no upstream Live media product. The Live media produced within
the CentOS Project is based on and around the livemedia tools from the
Fedora Project.

These LiveCD’s only contains content found within the primary CentOS-6.0
distribution. No package from outside the distribution was included and
no package has been changed from whats included in the base distribution.

We appreciate all forms of feedback about these LiveCD, including
specific application inclusion requests or feature changes in future
releases. The best place to provide this feedback is via the
centos-devel mailing list ( http://lists.centos.org/ ) and feature
requests via the issue tracker ( http://bugs.centos.org/ ).

Special thanks to Fabian Arrotin for taking up the LiveCD and LiveDVD
efforts, and to everyone on the QA team who worked through the issues
and helped build, test and release these images.

-- 
Karanbir Singh
The CentOS Project
irc: z00dax, #cen...@irc.freenode.net
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


Re: [CentOS-es] Disco usb en Centos 6

2011-07-25 Thread José Roberto Alas
2011/7/24 Cesar Augusto Martinez Cobo cmc...@ciencias.udea.edu.co:
 Buenas tardes Compañeros; tengo el siguiente inconveniente con un disco 
 externo con
 conexion USB, lo tengo conectado para hacer nackup de el sistema pero cuando 
 lo realiza
 sale el siguiente error:
 end_request: I/O error, dev sdc, sector 86537887
 Buffer I/O error on device sdc1, logical block 10817228
 Buffer I/O error on device sdc1, logical block 10817230
 Buffer I/O error on device sdc1, logical block 10817231
 Buffer I/O error on device sdc1, logical block 10817232
 Buffer I/O error on device sdc1, logical block 10817233
 Buffer I/O error on device sdc1, logical block 10817234
 Buffer I/O error on device sdc1, logical block 10817235
 Buffer I/O error on device sdc1, logical block 10817236
 Buffer I/O error on device sdc1, logical block 10817237
 Buffer I/O error on device sdc1, logical block 10817239
 end_request: I/O error, dev sdc, sector 86537895
 EXT3-fs error (device sdc1): read_block_bitmap: Cannot read block bitmap -
 block_group = 331, block_bitmap = 10846208
 Aborting journal on device sdc1.
 journal commit I/O error

 Message from syslogd@matematicas at Jul 23 02:27:58 ...
  kernel:journal commit I/O error
 sd 4:0:0:0: [sdd] Assuming drive cache: write through
 sd 4:0:0:0: [sdd] Assuming drive cache: write through
 sd 4:0:0:0: [sdd] Assuming drive cache: write through
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 ext3_abort called.
 EXT3-fs error (device sdc1): ext3_journal_start_sb: Detected aborted
 journal
 Remounting filesystem read-only
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 Lugo reinicio el servidor y lo carga normal no se a que se debe esto, les 
 agradeceria su
 colaboracion.


Parece que el disco se muere como comentan acá,
http://serverfault.com/questions/111985/usb-drive-becomes-read-only-after-a-while

Quiero buscar esa parte donde se ejecuta el montaje de solo lectura,
como lo menciona en tu error Remounting filesystem read-only



 De antemano muchas gracias

 
 Cesar Augusto Martinez Cobo
 Administrador de Sistemas
 Facultad de Ciencias Exactas y Naturales
 Universidad de Antioquia
 Tel: ++57(4)2195604
 Medellin - Colombia
 

 ___
 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


Re: [CentOS-es] Disco usb en Centos 6

2011-07-25 Thread Ricardo David Carrillo Sanchez
En efecto, como comenta Carlos,

El disco contiene sectores dañados, en estos casos solamente lo que queda es
realizar un fsck y tratar de recuperar la la información lo antes posible.

Suerte.
Saludos
--

Ricardo David Carrillo Sánchez
Administrador de Sistemas
Analista de Seguridad Informática
PGP/GPG key fingerprint: 4EDE BEF9 2FAE AC73 8D5A  B749 52CB C88B 0655 F2A0
PGP/GPG public key: http https://insecure-it.com.mx/keys/dominus.ceo.asc
://openinsecureit.mx/keys/dominus.ceo.aschttps://insecure-it.com.mx/keys/dominus.ceo.asc



On Sun, Jul 24, 2011 at 4:07 PM, Cesar Augusto Martinez Cobo 
cmc...@ciencias.udea.edu.co wrote:

 Buenas tardes Compañeros; tengo el siguiente inconveniente con un disco
 externo con
 conexion USB, lo tengo conectado para hacer nackup de el sistema pero
 cuando lo realiza
 sale el siguiente error:
 end_request: I/O error, dev sdc, sector 86537887
 Buffer I/O error on device sdc1, logical block 10817228
 Buffer I/O error on device sdc1, logical block 10817230
 Buffer I/O error on device sdc1, logical block 10817231
 Buffer I/O error on device sdc1, logical block 10817232
 Buffer I/O error on device sdc1, logical block 10817233
 Buffer I/O error on device sdc1, logical block 10817234
 Buffer I/O error on device sdc1, logical block 10817235
 Buffer I/O error on device sdc1, logical block 10817236
 Buffer I/O error on device sdc1, logical block 10817237
 Buffer I/O error on device sdc1, logical block 10817239
 end_request: I/O error, dev sdc, sector 86537895
 EXT3-fs error (device sdc1): read_block_bitmap: Cannot read block bitmap -
 block_group = 331, block_bitmap = 10846208
 Aborting journal on device sdc1.
 journal commit I/O error

 Message from syslogd@matematicas at Jul 23 02:27:58 ...
  kernel:journal commit I/O error
 sd 4:0:0:0: [sdd] Assuming drive cache: write through
 sd 4:0:0:0: [sdd] Assuming drive cache: write through
 sd 4:0:0:0: [sdd] Assuming drive cache: write through
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 ext3_abort called.
 EXT3-fs error (device sdc1): ext3_journal_start_sb: Detected aborted
 journal
 Remounting filesystem read-only
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 EXT3-fs error (device sdc1): ext3_find_entry: reading directory #2 offset
 0
 Lugo reinicio el servidor y lo carga normal no se a que se debe esto, les
 agradeceria su
 colaboracion.


 De antemano muchas gracias

 
 Cesar Augusto Martinez Cobo
 Administrador de Sistemas
 Facultad de Ciencias Exactas y Naturales
 Universidad de Antioquia
 Tel: ++57(4)2195604
 Medellin - Colombia
 

 ___
 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] Openvpn Centos 4.8

2011-07-25 Thread Alexander Rojas Garcia
Hola,

 

Tengo problemas con la instalación del OpenVPN, quisiera saber cómo lo
desinstalo correctamente, actualmente seguí una guía pero cuando cargo el
servicio me da error, revise el error en el registro “/var/log/openvpn.log”,
pero no entiendo mucho la causa.

 

Espero su ayuda y si algo una buena guía para la instalación.

 

Gracias.

Att. Alex

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


Re: [CentOS-es] Openvpn Centos 4.8

2011-07-25 Thread Ricardo Martinez
Hola Alexander,

podrías dar un poco más de información, si es posible algún log etc.

Qué versión has de OpenVpn has instalado ¿? que manual has seguido ¿? etc...


saludos!!!

2011/7/25 Alexander Rojas Garcia siste...@tehindu.com

 Hola,



 Tengo problemas con la instalación del OpenVPN, quisiera saber cómo lo
 desinstalo correctamente, actualmente seguí una guía pero cuando cargo el
 servicio me da error, revise el error en el registro
 “/var/log/openvpn.log”,
 pero no entiendo mucho la causa.



 Espero su ayuda y si algo una buena guía para la instalación.



 Gracias.

 Att. Alex

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




-- 
Ricardo
___
IT Architect
website: http://www.pulsarinara.com
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Problema con el home de un usuario

2011-07-25 Thread Luciano Andrés Chiarotto
Hola a todos.

Mi consulta es la siguiente ...

El año pasado agregamos un Disco Rígido nuevo al Server del Cluster
(/dev/sdb1  montado en /home1).

Para probar, cambie la dirección de almacenamiento a un solo usuario y
cambie el archivo /etc/passwd.
Ejemplo:

pepito:x:503:100::/home1/pepito:/bin/bash

*y ahora ha vuelto al lugar donde estaba antes.*

pepito:x:503:100::/home/pepito:/bin/bash

-- El *mensaje de error *que me esta dando cuando se conecta a cualquier
nodo del cluster es el siguiente.

 - Could not chdir to home directory /home1 
 - No such file o directory 

*Cada NODO tiene montado el /home en el archivo /etc/fstab, de la siguiente
forma.

*server:/home  /home  nfs   rw,hard,intr,rsize=8192,wsize=
8192   00

El resto de los otros usuarios no tienen problemas.

Lo que yo hice fue reiniciar los servicios de portmap, ypbind, ypserver y
nfs.
pero no dio resultado.

Si alguien me puede decir que esta pasando o me dice donde puedo consultar
para poder solucionar este problema.

Desde ya muchas gracias.
_(@^@)__
Luciano Andres Chiarotto
San Luis (Capital).
Técnico Universitario en Microprocesadores
El saber es la parte principal de la felicidad.
Sócrates (470-399 a. C.); filósofo griego.
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] SOLVED: CentOS 6 PXE boot:Unable to download the kickstart file

2011-07-25 Thread James A. Peltier
- Original Message -
| Ole Holm Nielsen wrote:
|  We have CentOS 6 manual installation working by PXE booting from a
|  RHEL5.6
|  PXE/TFTP server. However, when we add a Kickstart file in the PXE
|  configuration:
| 
|  kernel CentOS-6-i386/vmlinuz
|  append load_ramdisk=1 initrd=CentOS-6-i386/initrd.img network
|  ks=nfs:130.226.86.4:/u/rpm/kickstart/ks-centos-6-clean-i386.cfg
| 
|  then the CentOS 6 client install reports Unable to download the
|  kickstart file.
|  The console 3 reports failed to mount nfs source.
| 
| This problem has been resolved. A silly editing error replacing 5-6
| also
| changed the IP-address :-( With the correct IP-address Kickstart works
| correctly with an NFSv3 server as shown above. No need to upgrade to
| NFSv4
| and Kerberos :-)
| 
| For the record, it is in fact possible to add NFS mount options to the
| PXE
| APPEND line, as documented in
| http://fedoraproject.org/wiki/Anaconda_Boot_Options.
| To explicitly force an NFSv3 mount you may add the following NFS mount
| option:
| ks=nfs:nfsvers=3:servername:filename
| 
| Thanks again for everybody's help.
| /Ole
| ___
| CentOS mailing list
| CentOS@centos.org
| http://lists.centos.org/mailman/listinfo/centos


I would still push for a move to HTTP.  I manage about 1500 GNU/Linux, CentOS 5 
workstations and about 3 months ago moved away from NFS and to HTTP.  This was 
for additional security, NFSv3 being less secure than NFSv4, as well as for 
scalability reasons.

After making the move from NFS to HTTP I found that my installations went from 
20 minutes for a @core installation to ~5 minutes for the same install.  I am 
also now able to do more 'interesting' things like heavy HTTP caching, load 
balancing as well as other things to tune my installation path.  You really 
should consider it if you've got the resources. ;)

-- 
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
  http://blogs.sfu.ca/people/jpeltier


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


Re: [CentOS] centos6 not using /etc/gdm/custom.conf

2011-07-25 Thread James A. Peltier
- Original Message -
| In CentOS5 you were able to create a server section in
| /etc/gdm/custom.conf such as
| 
| [server-Standard]
| name=Standard server
| command=/usr/bin/Xorg -br -audit 4 -s 15
| chooser=false
| handled=true
| flexible=true
| priority=0
| 
| After this change, Xorg would run with the -br -audit 4 -s 15 options.
| 
| Unfortunately in CentOS6 this is not the case. It completely ignores
| anything put into custom.conf as far as I can tell. It appears to run
| with -nr -verbose -auth -nolisten tcp by default. Is there any way to
| modify this?
| 
| Regards,
| 
| Stephen Jamieson

much of this functionality has moved into the gconf2 stuff so you use gconf2 to 
disable things like user visibility and such things

-- 
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
  http://blogs.sfu.ca/people/jpeltier


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


[CentOS] cleartpart in kickstart on CentOS 6

2011-07-25 Thread Kevin C
Hi List,

I use a kickstart file to install my operating systems. In the 
kickstart file, I put the clearpart options to erase all my partition. 
But the install failed because the partition aren't erased. Does someone 
have the same issue ?

Regards

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


Re: [CentOS] VLAN's

2011-07-25 Thread Jennifer Botten
Hi All,

Thanks for everyone's feedback. The issues was related to our SIP provider
routing private IP's to get the SIP to work (we were not aware of this). We
configured VLAN's and put the SIP phones on a different range that the SIP
provider did not route. However all your advice and assistance is greatly
appreciated.

Regards


Jennifer Botten
ETECH




-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Tom H
Sent: 24 July 2011 02:57 PM
To: CentOS mailing list
Subject: Re: [CentOS] VLAN's

On Sat, Jul 23, 2011 at 3:26 PM, John R Pierce pie...@hogranch.com wrote:
 On 07/23/11 12:09 PM, Tom H wrote:

 Even after this explanation I don't understand your objection to
 helping someone with a firewall and routing issue on a CentOS box. You
 might have a point if the executables didn't come from packages in the
 canonical CentOS repo.

 I'm writing my doctoral thesis on pygmy rhino genetic marker traits, I
 am using LibreOffice on CentOS. Should I put the 1 or 2 pages of
 abstract before or after my table of contents.

:)

I was of course assuming that the query was about system
administration and not anything remotely similar to what you're
suggesting!

I get your point that there has to be a limit but I still think that
the limit that you're proposing's too restrictive.
___
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] cleartpart in kickstart on CentOS 6

2011-07-25 Thread John Doe
From: Kevin C li...@tuxalafenetre.net

 I use a kickstart file to install my operating systems. In the 
 kickstart file, I put the clearpart options to erase all my partition. 
 But the install failed because the partition aren't erased. Does someone 
 have the same issue ?


Which clearpart parameters do you use?
Something like that?
  clearpart --drives=sda --all
Personally I use a %pre script to manually wipe+partition+format...

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


Re: [CentOS] Keyboards

2011-07-25 Thread John Doe
From: m.r...@5-cent.us m.r...@5-cent.us

 On my new Dell system, it's got a cardreader. More to the point, it's 
 got an idiot menu key... *right* next to the right control key, and just 
 where the annoying keyboard design has it cut down from the 
 oversize space bar
 The result is that just trying to type, I regularly hit the thing. Does
 anyone have an idea how to disable this forever (if y'all don't, I'm
 prying the key *off*).


See maybe showkey, dumpkeys, loadkeys and xmodmap...

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


Re: [CentOS] cleartpart in kickstart on CentOS 6

2011-07-25 Thread Kevin C
On Mon, 25 Jul 2011 02:18:53 -0700 (PDT), John Doe wrote:

 Which clearpart parameters do you use?
 Something like that?
   clearpart --drives=sda --all

I used this on CentOS 5 without any problems :
  clearpart --all --initlabel

I also use an pre script to detect the number of drives on the server

%pre
# Determine how many drives we have
set $(list-harddrives)
let numd=$#/2
d1=$1 # This is the device of disk 1
d2=$3 # This is the device of disk 2, etc.
S1=$2 # This is the size of disk 1
S2=$4 # This is the size of disk 2, etc.

# This would be a partition scheme for two or more drives
if [ $numd -ge 2 ]; then cat  EOF  /tmp/partinfo
# Partition clearing information
clearpart --drives=$d1,$d2 --all --initlabel
part / --asprimary --fstype=ext3 --ondisk=$d1 --size=1024
part /boot --asprimary --fstype=ext3 --ondisk=$d1 --size=200
part swap --fstype=swap --ondisk=$d1 --recommended
part /var --fstype=ext3 --ondisk=$d1  --grow --size=1
part /var/spool/squid --fstype=ext3 --ondisk=$d2  --grow --size=1
part /usr --fstype=ext3  --ondisk=$d1 --size=4096
part /tmp --fstype=ext3  --ondisk=$d1 --size=1024
part /home --fstype=ext3  --ondisk=$d1 --size=5120
EOF

else

cat  EOF  /tmp/partinfo
# Partition clearing information
clearpart --drives=$d1 --all --initlabel
part / --asprimary --fstype=ext3 --ondisk=$d1 --size=1024
part /boot --asprimary --fstype=ext3 --ondisk=$d1 --size=200
part swap --fstype=swap --ondisk=$d1 --recommended
part /var --fstype=ext3 --ondisk=$d1  --size=4096
part /var/spool/squid --fstype=ext3 --ondisk=$d1  --grow --size=1
part /usr --fstype=ext3  --ondisk=$d1 --size=4096
part /tmp --fstype=ext3  --ondisk=$d1 --size=1024
part /home --fstype=ext3  --ondisk=$d1 --size=5120
EOF
fi


 Personally I use a %pre script to manually wipe+partition+format...

In Python,Perl or Shell? I'm searching how to wipe all drives with 
parted or fdisk.

Here is my kickstart :

# platform=x86, AMD64, ou Intel EM64T
# version=CentOS6
# DEBUG :
#cmdline

# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# Root password
rootpw  --iscrypted S€cr€t
# Network information
network --device eth0 --bootproto dhcp
# System keyboard
keyboard fr-latin9
# System language
lang en_US.UTF-8
# SELinux configuration
selinux --enforcing
# Do not configure the X Window System
skipx
# Installation logging level
logging --level=info
# Utilisation d'une installation via un serveur NFS
nfs --server=172.18.101.24 --dir=Miroir/CentOS/6.0/os/i386
# Reboot after installation
reboot
# System timezone
timezone --isUtc Europe/Paris
# System bootloader configuration
bootloader --location=mbr
# Disk partitioning information
clearpart --all --initlabel
# Magically figure out how to partition this thing
%include /tmp/partinfo

%pre
# Determine how many drives we have
set $(list-harddrives)
let numd=$#/2
d1=$1 # This is the device of disk 1
d2=$3 # This is the device of disk 2, etc.
S1=$2 # This is the size of disk 1
S2=$4 # This is the size of disk 2, etc.

# This would be a partition scheme for two or more drives
if [ $numd -ge 2 ]; then cat  EOF  /tmp/partinfo
# Partition clearing information
clearpart --drives=$d1,$d2 --all --initlabel
part / --asprimary --fstype=ext3 --ondisk=$d1 --size=1024
part /boot --asprimary --fstype=ext3 --ondisk=$d1 --size=200
part swap --fstype=swap --ondisk=$d1 --recommended
part /var --fstype=ext3 --ondisk=$d1  --grow --size=1
part /var/spool/squid --fstype=ext3 --ondisk=$d2  --grow --size=1
part /usr --fstype=ext3  --ondisk=$d1 --size=4096
part /tmp --fstype=ext3  --ondisk=$d1 --size=1024
part /home --fstype=ext3  --ondisk=$d1 --size=5120
EOF

else

cat  EOF  /tmp/partinfo
# Partition clearing information
clearpart --drives=$d1 --all --initlabel
part / --asprimary --fstype=ext3 --ondisk=$d1 --size=1024
part /boot --asprimary --fstype=ext3 --ondisk=$d1 --size=200
part swap --fstype=swap --ondisk=$d1 --recommended
part /var --fstype=ext3 --ondisk=$d1  --size=4096
part /var/spool/squid --fstype=ext3 --ondisk=$d1  --grow --size=1
part /usr --fstype=ext3  --ondisk=$d1 --size=4096
part /tmp --fstype=ext3  --ondisk=$d1 --size=1024
part /home --fstype=ext3  --ondisk=$d1 --size=5120
EOF
fi


%packages
@base
@console-internet
@core
vim-enhanced
-firstboot
-pcmciautils
-at
-rfkill
yum-presto
squid
postfix
gcc
make
sgpio
dos2unix
unix2dos
ftp
lftp
bind-libs
yum-plugin-fastestmirror
libss
ConsoleKit-libs
libedit
libtar
nss_compat_ossl
libfprint
libnih
fipscheck-lib
wget

%post --log=/root/ks-post.log
wget -N 
http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
rpm -Uvh epel-release-6-5.noarch.rpm
sed -i.bak s/NM_CONTROLLED\=yes/NM_CONTROLLED\=no/ ifcfg-eth*
service network restart
yum install -y squidGuard
yum update -y
chkconfig postfix on
mount -t nfs 172.18.101.24:/Scripts//mnt
cp /mnt/linsecu.pl /root/linsecu.pl
umount /mnt


 JD
 ___
 CentOS mailing list
 CentOS@centos.org
 

Re: [CentOS] lots of small files in a folder on Linux centos

2011-07-25 Thread Marc Deop
On Sunday 24 July 2011 10:13:30 R P Herrold wrote:
 #!/bin/sh
 #
 CANDIDATES=pix1.jpg pix2.jpg pix3.jpg
 for i in `echo ${CANDIDATES}`; do
  HASH=`echo $i | md5sum - | awk {'print $1'}`
  echo $i${HASH}
 done

I know it absolutelly has nothing to do with databases or files in folders but 
as we are talking about optimizing:

#!/bin/bash
CANDIDATES=(pix1.jpg pix2.jpg pix3.jpg)
for i in ${CANDIDATES[@]}; do 
MD5SUM=$(md5sum (echo $i)) 
echo $i ${MD5SUM% *};
done

It's more than twice as fast than the previous sh script.

[ willing to learn mode, feel free to ignore this]

Anyway, about the the hashes and directories and so on... I assume we'd need a 
hash table in our application, right?

Would we proceed as follows (correct me if I'm wrong please)?

1- m5sum the file we need
2- look for the first letter of the hash
3- get into the directory
4- now we look for our file

Is this right? I understand this would improve the searching of files when 
there's a lot of them.

Thanks to anyone that replies me and sorry for the offtopic

Regards,

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


Re: [CentOS] Keyboards

2011-07-25 Thread Steve Brooks
On Mon, 25 Jul 2011, John Doe wrote:

 From: m.r...@5-cent.us m.r...@5-cent.us

 On my new Dell system, it's got a cardreader. More to the point, it's
 got an idiot menu key... *right* next to the right control key, and just
 where the annoying keyboard design has it cut down from the
 oversize space bar
 The result is that just trying to type, I regularly hit the thing. Does
 anyone have an idea how to disable this forever (if y'all don't, I'm
 prying the key *off*).


 See maybe showkey, dumpkeys, loadkeys and xmodmap...

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



If it is that bad swap out the keyboard they are ten a penny.. Maybe you 
would enjoy the revenge element of butchering the offending key :-) ...


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


[CentOS] pxe booting questions

2011-07-25 Thread Nathan
hello,

I have a situation where I am using PXE and kickstart to
install my machines.

My set up is as follows:

i have a cobbler server which is also an mrepo mirror doing the
booting.

my mrepo tree has both disc1 and disc2 loop mounted, and RPMS.os
symlinks both the discs contens to generate the unified os tree. This all
works fine.

My issue is with the kickstart, if i use the disc1 as the url (like below)
when it tries to
install a package that is on disc2, it still looks for it in the disc1
location.

Below is a snippet of my kickstart file (which works great if i do not
select any packages
that reside on the disc2 of the centos install (All discs have been verified
as working
via sha an md5 checksums).

url --url=http://mrepo/mrepo/centos6-x86_64/disc1
repo --name=os --baseurl=http://mrepo/mrepo/centos6-x86_64/RPMS.os

selinux --permissive
install
lang en_US.UTF-8
keyboard us
skipx
rootpw
firewall --disabled
authconfig --enableshadow --enablemd5

%packages
redhat-lsb
rubygems
puppet
%end


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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Thomas Dukes
 

 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of Eero Volotinen
 Sent: Monday, July 25, 2011 1:52 AM
 To: CentOS mailing list
 Subject: Re: [CentOS] Upgrading from CentOS 5.6 to 6.0
 
  I'll be moving to Ubunto. They have a 3 year window for 
 support on a 
  distribution unlike CentOS/RHEL. They seem to be more user friendly 
  for a home networking environment.
 
 RHEL is supported for 10 years on each major release.

Huh??

From: http://mirrors.kernel.org/centos/3/readme.txt

CentOS Errata and Security Advisory CESA-2010:0817

End Of Life security update for CentOS 3:
https://rhn.redhat.com/errata/RHSA-2010-0817.html

As per the upstream vendors errata support policy, updates for CentOS-3
has ended on October 31th 2010.

It is recommended that any system still running CentOS 3 should be
upgraded to a more recent version of CentOS before this date to ensure
continued security and bug fix support.

see also http://wiki.centos.org/HowTos/EOLC3

Thank you to everyone who helped make this project possible.

Tru

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread John R. Dennison
On Mon, Jul 25, 2011 at 07:33:41AM -0400, Thomas Dukes wrote:
 
 Huh??

RHEL/CentOS are supported 7 years from date of release to EOL date.
RHEL has an optional extended support plan that you can purchase if you
are a RHEL subscriber; CentOS does not offer this extended support as
upstream does not make the update source RPMs available for download
unless you are a paying customer.





John
-- 
Political Correctness is a doctrine, fostered by a delusional, illogical,
liberal minority and rabidly promoted by an unscrupulous mainstream media, which
holds forth the proposition that it is entirely possible to pick up a turd by
the clean end.

-- Unknown


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


Re: [CentOS] cleartpart in kickstart on CentOS 6

2011-07-25 Thread John Doe
From: Kevin C li...@tuxalafenetre.net

 if [ $numd -ge 2 ]; then cat  EOF  /tmp/partinfo

Did you check the partinfo file to see if the variables are correctly replaced?

 In Python,Perl or Shell? I'm searching how to wipe all drives with 
 parted or fdisk.

In an external shell script.
I just do a simple dd (I still use msdos partitioing):
dd if=/dev/zero of=$DEVICE bs=512 count=1 /dev/null 21
Then I use sfdisk with values calculated for the correct stripe size depending 
on the server RAID.
Then I format with a stripe-width and optionally -m 0.
I only let the ks do the mounting.
Disclaimer: did not test with CentOS 6 yet...

 clearpart --all --initlabel

needed since you already put one in your partinfo file?

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


Re: [CentOS] cleartpart in kickstart on CentOS 6

2011-07-25 Thread Kevin C
On Mon, 25 Jul 2011 05:46:15 -0700 (PDT), John Doe wrote:
 From: Kevin C li...@tuxalafenetre.net

 if [ $numd -ge 2 ]; then cat  EOF  /tmp/partinfo

 Did you check the partinfo file to see if the variables are correctly
 replaced?


You're right, I have an error is this file, with /dev/sda1 instead of 
/dev/sda

part /var/spool/squid --fstype=ext3 --ondisk=/dev/sda1 --grow --size-1

 In Python,Perl or Shell? I'm searching how to wipe all drives with
 parted or fdisk.

 In an external shell script.
 I just do a simple dd (I still use msdos partitioing):
 dd if=/dev/zero of=$DEVICE bs=512 count=1 /dev/null 21
 Then I use sfdisk with values calculated for the correct stripe size
 depending on the server RAID.
 Then I format with a stripe-width and optionally -m 0.
 I only let the ks do the mounting.
 Disclaimer: did not test with CentOS 6 yet...

 clearpart --all --initlabel

 needed since you already put one in your partinfo file?

I don't think so. I put it twice only to test.


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

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


Re: [CentOS] VLAN's

2011-07-25 Thread James B. Byrne
On Sat, July 23, 2011 15:02, John R Pierce wrote:
 On 07/23/11 10:22 AM, Kristopher Kane wrote:
  this sort of thing really belongs on an iproute2/netfilter mail
  list, however, as its not at all centos specific.
 
 So John, exactly what is CentOS specific?  Should I only read the
emails with release speculation?

 things related to the packaging, repos.   at least stuff thats
 EL3/4/5/6 related.

 otherwise, the mission creep on this list turns it into a
 free for all.

 hey I'm having problems with my set-top tv box, and it runs
 linux inside, and centos is linux, can you guys ?

From the mailing list page:

The CentOS discussion and information list is a general purpose
communication list for centos.

Note the concept of general purpose places no exceptionally
stringent constraints on subject matter.  If you feel strongly that
your needs are limited to things related to the packaging, repos
then might I suggest that the centos-devel list better meets your
requirements than this one.

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte  Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3





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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread James B. Byrne

On Sat, July 23, 2011 19:36, R P Herrold wrote:
 On Sat, 23 Jul 2011, Thomas Dukes wrote:

 I use to be able to upgrade by doing a 'yum update'. That doesn't
 work either.

 CentOS ships no non-RPM packaged packages -- look to whoever
 put those packages on your box without using the packaging
 system if you feel the need to blame someone


If that person just happens to be oneself then I suggest that you
use checkinstall in the future so avoid the pain of dealing with
custom installed software outside the rpm/yum package manager


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte  Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


[CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread R P Herrold
On Sun, 24 Jul 2011, Craig White wrote:

 you made a vacuous argument.

Hunh.  You are ** still ** trolling here [arguing against 
package management] and on this thread [C 6 matters], Craig?

I thot back on June 13 you said here:

 easier just to give up - I moved my new servers to ubuntu - 
 no more new CentOS installs any more

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


[CentOS] /dev/dsp

2011-07-25 Thread David Bunt
Hey guys,
If I needed to get /dev/dsp back on centos 6, how would I go about
doing that. Note, I've already uninstalled pulseaudio.
I've also edited /etc/modprobe.d/dist-oss.conf and uncommented:
/sbin/modprobe --ignore-install snd-pcm  /sbin/modprobe snd-pcm-oss
 /sbin/modprobe snd-seq-device  /sbin/modprobe snd-seq-oss
But I'm getting:
FATAL: Module snd_pcm_oss not found.

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Lamar Owen
On Saturday, July 23, 2011 10:25:56 PM Alexander Dalloz wrote:
 Am 24.07.2011 02:00, schrieb Thomas Dukes:
 
  When I say non-rpm, I mean source packages I compiled such as zoneminder. 
 
 And even *if* you would be able to upgrade from CentOS 5.x to 6 -
 technically and by personal skills - what makes you think that your self
 compiled software would not completely fail, just because libraries change?

The specific example of zoneminder is particularly insidious.  On our 
zoneminder systems, even point updates to certain libraries has created 
problems.  A good, modern, package of zoneminder in a repo somewhere would save 
a lot of grief in that particular case.

And even having maintained packages before, I'm not sure I would want to touch 
rolling my own zoneminder package(s).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Lamar Owen
On Sunday, July 24, 2011 10:20:07 PM Thomas Dukes wrote:
 I'll be moving to Ubunto. 

Never heard of Ubunto

 They have a 3 year window for support on a
 distribution unlike CentOS/RHEL. 

Right; RHEL has a seven year window, four years longer.

 They seem to be more user friendly for a
 home networking environment.

No, they're not.  Been there, done that.  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread R P Herrold
On Mon, 25 Jul 2011, Lamar Owen wrote:

 The specific example of zoneminder is particularly 
 insidious.  On our zoneminder systems, even point updates to 
 certain libraries has created problems.  A good, modern, 
 package of zoneminder in a repo somewhere would save a lot 
 of grief in that particular case.

 And even having maintained packages before, I'm not sure I 
 would want to touch rolling my own zoneminder package(s).

I've a full set for C5 on ZM 1.23 -- the SElinux blissful 
unawareness of that code is startling, as it is doing 'unsafe' 
operations all over the place.  Running it on a dedicated 
appliance box and treating it as a vulnerable client to a 
SELinux enabled network using network sockets, is about the 
only way to run it safely

1.24 looks 'doable', although perhaps not without some C6 
libraries -- I see it in rawhide, and in F, after F13, as I 
recall

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


Re: [CentOS] cleartpart in kickstart on CentOS 6

2011-07-25 Thread Kevin C
The list-harddrives results change on CentOS 6. It show all disks and
partition. In C5, it only show all drives.



On Mon, 25 Jul 2011 15:06:50 +0200, Kevin C wrote:
 On Mon, 25 Jul 2011 05:46:15 -0700 (PDT), John Doe wrote:
 From: Kevin C li...@tuxalafenetre.net

 if [ $numd -ge 2 ]; then cat  EOF  /tmp/partinfo

 Did you check the partinfo file to see if the variables are 
 correctly
 replaced?


 You're right, I have an error is this file, with /dev/sda1 instead of
 /dev/sda

 part /var/spool/squid --fstype=ext3 --ondisk=/dev/sda1 --grow 
 --size-1

 In Python,Perl or Shell? I'm searching how to wipe all drives with
 parted or fdisk.

 In an external shell script.
 I just do a simple dd (I still use msdos partitioing):
 dd if=/dev/zero of=$DEVICE bs=512 count=1 /dev/null 21
 Then I use sfdisk with values calculated for the correct stripe size
 depending on the server RAID.
 Then I format with a stripe-width and optionally -m 0.
 I only let the ks do the mounting.
 Disclaimer: did not test with CentOS 6 yet...

 clearpart --all --initlabel

 needed since you already put one in your partinfo file?

 I don't think so. I put it twice only to test.


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

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


Re: [CentOS] lots of small files in a folder on Linux centos

2011-07-25 Thread Lamar Owen
On Sunday, July 24, 2011 05:29:23 AM yonatan pingle wrote:
...
 lately the server is under-preforming and load averages are high,
 mysql service keeps crashing and the server is hitting max memory
 usage ( so i added ram .. ) ,
 after looking into the website folders, i have found one folder which
 from my point of view is one of the causes for the server loads.
...
 uploads]# ls | wc -l
 3123
...
 pros vs cons of having a large amount of small files in the same
 folder on Linux Centos?

3,123 files is not a large number.  From a CentOS 4 file server here.

[root@pachyderm sky_data]# ls|wc -l
13526
[root@pachyderm sky_data]# cd ../motse
[root@pachyderm motse]# ls |wc -l
28218
[root@pachyderm motse]#cd
[root@pachyderm ~]# du -s /var/lib/pgsql
556420596   /var/lib/pgsql
[root@pachyderm ~]# 

(Yeah, 556GB in PostgreSQL)  Pachyderm = 'The elephant never forgets' 
But I'm not looking forward to converting it to a post-C4 PostgreSQL

Performance on this box is pretty good, all things considered.

Large log files I have found can be performance problems; check to make sure 
log files are being rolled properly.

There are some specific MySQL tuning documents out there; I seem to remember a 
posting on a local LUG list about some serious MySQL performance issues that 
took a long time to ferret out, but I can't seem to find it quickly.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos 6 and mingetty for /dev/ttyS1

2011-07-25 Thread Jerry Geis
I've been playing with centos 6.
Sometimes it gets into a mode when it seems like it hangs at boot.
At reboot I hit ALT-D for details and the last thing printed is Starting 
atd.

No I can press alt-f2 to get a login. Doing ps ax does not show a 
mingetty tty1,

What might be going on here. What isn't completing to get a full boot.

Thanks,

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Lamar Owen
On Monday, July 25, 2011 11:22:37 AM R P Herrold wrote:
 1.24 looks 'doable', although perhaps not without some C6 
 libraries -- I see it in rawhide, and in F, after F13, as I 
 recall

I managed to get 1.24.x (VM is shut down right now due to VMware update 
'things' going on, so can't check specific version) running, but it wasn't 
pleasant, and required very specific versions of things to get it working on 
CentOS 5.  It does work, but it is touchy if any of its dependencies gets 
updated.  And now there is a newer version than the one I have running.

And the SELinux business is still there (or rather, not there) and that 
complicates things. This seems to be more true with network cameras than with 
native v4l devices.

With the library version in C6 being more close to what ZM wants, it should be 
easier to make it work with C6.  Haven't tried out C6 on our VMware setup yet; 
it's ESX 3.5U5, and AFAIK EL6 isn't supported on ESX3.5.  But I'm still digging 
into that, and seeing if vSphere 4 vmware-tools from packages.vmware.com will 
work on ESX3.5.

If ZM just wasn't the most useful CCTV webcam software out there, bar none, I'd 
probably not even bother.  I haven't found anything even close to ZM in terms 
of functionality in the open-source realm.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 77, Issue 7

2011-07-25 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

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
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of CentOS-announce digest...


Today's Topics:

   1. Release for CentOS-6.0 LiveCD i386 and x86_64 (Karanbir Singh)


--

Message: 1
Date: Mon, 25 Jul 2011 14:48:10 +0100
From: Karanbir Singh kbsi...@centos.org
Subject: [CentOS-announce] Release for CentOS-6.0 LiveCD i386 and
x86_64
To: CentOS Announcements List centos-annou...@centos.org
Message-ID: 4e2d741a.2090...@centos.org
Content-Type: text/plain; charset=windows-1252

We are pleased to announce the immediate availability of CentOS-6.0
LiveCD for i386 and x86_64 architectures.

Detailed Release Notes are available at
http://wiki.centos.org/Manuals/ReleaseNotes/CentOSLiveCD6.0

+++
Overview

The CentOS-6.0 LiveCD is meant to be a Linux environment suited to be
run directly from either CD media or USB storage devices. It does not
need any persistent storage on a machine, which also makes it a suitable
recovery environment.

Due to space constraints, it was not possible to include all the
traditional desktop applications on the LiveCD. You can though enjoy a
Gnome basic desktop, view and modify pictures with gthumb and  the Gimp,
browsing the web with Firefox, send emails with Thunderbird and connect
to your favorite Instant Messaging network with Pidgin

+++
Download

SHA256SUMs :

CentOS-6.0-x86_64-LiveCD.iso:
f7239593e425ea4c26c5292e23b5e284e64779f54af395486cf1fd4b3e6c7f3b

CentOS-6.0-i386-LiveCD.iso:
c4e09a2152a8e1b17dc6704eb8d7455c13f615e40432cb0b4b07f65850948628

The CentOS-6.0 LiveCD is released to all external mirrors and available
for download now. List of mirrors is available at these urls :

http://isoredirect.centos.org/centos/6/isos/i386/
http://isoredirect.centos.org/centos/6/isos/x86_64/

There are no torrent files for these LiveCD images since the overall
size of download is small enough that it can be easily downloaded via
http and ftp mirrors. Given the very large and diverse CentOS Mirror
network, we expect most people to get fairly good download rates for
these iso images.

Once you download the images, its important to verify contents using the
sha256sum utility, against the published sums here.

+++
Notes

You can now install the Live environment to your hard disk (which wasn?t
possible with the 5.x Live medias). Please note that you need more that
512Mb of ram to be able to use that ?install to hard drive? feature (If
you have less than 512Mb of ram, you can install to disk but in
text-mode, meaning that instead of clicking on the desktop icon, you
have to launch a gnome-terminal and launch the ?liveinst? command from
within the terminal)

There is no upstream Live media product. The Live media produced within
the CentOS Project is based on and around the livemedia tools from the
Fedora Project.

These LiveCD?s only contains content found within the primary CentOS-6.0
distribution. No package from outside the distribution was included and
no package has been changed from whats included in the base distribution.

We appreciate all forms of feedback about these LiveCD, including
specific application inclusion requests or feature changes in future
releases. The best place to provide this feedback is via the
centos-devel mailing list ( http://lists.centos.org/ ) and feature
requests via the issue tracker ( http://bugs.centos.org/ ).

Special thanks to Fabian Arrotin for taking up the LiveCD and LiveDVD
efforts, and to everyone on the QA team who worked through the issues
and helped build, test and release these images.

-- 
Karanbir Singh
The CentOS Project
irc: z00dax, #cen...@irc.freenode.net


--

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


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


[CentOS] /dev/dsp

2011-07-25 Thread NfoCipher
Hey guys,
If I needed to get /dev/dsp back on centos 6, how would I go about
doing that. Note, I've already uninstalled pulseaudio.
I've also edited /etc/modprobe.d/dist-oss.conf and uncommented:
/sbin/modprobe --ignore-install snd-pcm  /sbin/modprobe snd-pcm-oss
 /sbin/modprobe snd-seq-device  /sbin/modprobe snd-seq-oss
But I'm getting:
FATAL: Module snd_pcm_oss not found.

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


[CentOS] Updated Kernel sensors modules

2011-07-25 Thread Dejan
Last week I upgraded my box to CentOS 6 and I'm very impressed so far with it.

The only small issue so far is that it doesn't seem to recognize the
new Sandy Bridge Core i5 CPU that I have and you can't monitor its
temperature.

I recompiled the latest coretemp module from the latest 2.6.39 kernel
and the latest lm_sensors version however this still wasn't enough as
the new module loads fine but still reports that there were no sensors
found.

I booted a Fedora 15 install and it recognized the CPUs and started
reporting the temperatures so obviously the modules are there but
maybe the coretemp is not the only thing that is needed.

Does anyone know what else is needed for the sensors to be recognized?

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Lanny Marcus
On Sun, Jul 24, 2011 at 10:52 PM, Craig White craigwh...@azapple.com wrote:
 On Sun, 2011-07-24 at 19:51 -0500, Lanny Marcus wrote:
 Installing non RPM software on an RPM Distro like CentOS is frowned
 upon. That is the worst way to do it.
 
 why?

 you made a vacuous argument.

@Craig:   I retract that.  Probably something that is discouraged,
rather than frowned upon   Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 6.0 Live CD Now Available

2011-07-25 Thread Always Learning
Detailed Release Notes are available at
http://wiki.centos.org/Manuals/ReleaseNotes/CentOSLiveCD6.0

Special thanks to Fabian Arrotin for taking up the LiveCD and LiveDVD
efforts, and to everyone on the QA team who worked through the issues
and helped build, test and release these images.

Thank you. Well done Guys. Centos is Great.



-- 
With best regards,

Paul.
England,
EU.


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


[CentOS] lots of small files in a folder on Linux centos

2011-07-25 Thread R P Herrold
On Mon, 25 Jul 2011, Marc Deop wrote:

 It's more than twice as fast than the previous sh script.

In part this is /bin/sh v /bin/bash and using 'bashisms' 
matter, but yes, I did not seek to optimize a teaching 
throwaway

 1- m5sum the file we need
  ... actually the NAME of the file, to make it explicit we are
not looking at content [also a reasonable approach if one is
looking to find and de-duplicate a filestore]

 2- look for the first letter of the hash
  ... actually this may be more than a single letter of the
hash --- with ca 3000 files, and 16 hash characters,
we should end up with about 200 files per
subdirectory.  The filesystem should be doing some sort of
index as well -- as I recall, a B-tree in the case of
extN but I've not expressly looked.  The php case was
mentioned, however, and its directory searching is less
optimal

We have a customer with a similar problem with a naiively 
written set of home brewed PHP code, and are helping them work 
through similar issues

 3- get into the directory
 4- now we look for our file
  ... this is probably a single operation to suck the sub-directory
listing into an array in php, and use an associative
match

but you are right, we are moving increasingly away from a 
CentOS issue to a more general coding style issue

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


Re: [CentOS] Updated Kernel sensors modules

2011-07-25 Thread Ned Slider
On 25/07/11 17:04, Dejan wrote:
 Last week I upgraded my box to CentOS 6 and I'm very impressed so far with it.

 The only small issue so far is that it doesn't seem to recognize the
 new Sandy Bridge Core i5 CPU that I have and you can't monitor its
 temperature.

 I recompiled the latest coretemp module from the latest 2.6.39 kernel
 and the latest lm_sensors version however this still wasn't enough as
 the new module loads fine but still reports that there were no sensors
 found.

 I booted a Fedora 15 install and it recognized the CPUs and started
 reporting the temperatures so obviously the modules are there but
 maybe the coretemp is not the only thing that is needed.

 Does anyone know what else is needed for the sensors to be recognized?

 Thanks,
 Deyan


See here:

http://lists.lm-sensors.org/pipermail/lm-sensors/2011-January/031024.html

and the rest of that thread.



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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Patrick Lists
On 07/25/2011 06:07 PM, Lanny Marcus wrote:
 On Sun, Jul 24, 2011 at 10:52 PM, Craig Whitecraigwh...@azapple.com  wrote:
 On Sun, 2011-07-24 at 19:51 -0500, Lanny Marcus wrote:
 Installing non RPM software on an RPM Distro like CentOS is frowned
 upon. That is the worst way to do it.
 
 why?

 you made a vacuous argument.

 @Craig:   I retract that.  Probably something that is discouraged,
 rather than frowned upon   Lanny

In the RHEL environments where I have worked, installing non RPM 
software was more than frowned upon. It was strictly forbidden and cause 
for immediate public flogging. If someone could not (or did not want to) 
understand why installing non RPM software was a bad idea then that 
person would have been removed from his duties.

It's like using imperial units or US customary units (so non-metric) in 
Satellite design. It's just not an option. And if you insist then you 
can use it but it will be in your own basement and not at a vendor 
creating a Satellite.

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Les Mikesell
On 7/25/2011 11:37 AM, Patrick Lists wrote:

 Installing non RPM software on an RPM Distro like CentOS is frowned
 upon. That is the worst way to do it.
 
 why?

 you made a vacuous argument.

 @Craig:   I retract that.  Probably something that is discouraged,
 rather than frowned upon   Lanny

 In the RHEL environments where I have worked, installing non RPM
 software was more than frowned upon. It was strictly forbidden and cause
 for immediate public flogging. If someone could not (or did not want to)
 understand why installing non RPM software was a bad idea then that
 person would have been removed from his duties.

In production environments where you treat hardware as disposable 
commodity chunks it makes sense to demand the extra effort to make the 
software components reproducible across repeated installs.  In other 
scenarios, it is just extra effort without much purpose unless someone 
else has already done it.  That is, building an RPM is always more work 
than doing a source install and often imposes inconvenient restraints 
like only permitting a single version to be running at once, and doesn't 
give you any guarantee that you won't have to repeat that extra work 
when the distribution changes.  If you aren't planning to repeat that 
install on other machines, where's the payback for the extra work and 
constraints?

-- 
Les Mikesell
 lesmikes...@gmail.com

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


[CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread R P Herrold
On Mon, 25 Jul 2011, Les Mikesell wrote:

 On 7/25/2011 11:37 AM, Patrick Lists wrote:

 Installing non RPM software on an RPM Distro like CentOS is frowned
 upon. That is the worst way to do it.

 else has already done it.  That is, building an RPM is always more work
 than doing a source install and often imposes inconvenient restraints
 like only permitting a single version to be running at once, and doesn't
 give you any guarantee that you won't have to repeat that extra work
 when the distribution changes.  If you aren't planning to repeat that
 install on other machines, where's the payback for the extra work and
 constraints?

The rant at the start of this thread was about a migration 
into C6, so of course, your predicate condition: 'you aren't 
planning to repeat that install' does not apply

The disciplne and benefit of identifying and solving 
dependencies in a packaged system, rather than splatting as 
root over system libraries upon which other packages depend 
[also, the same isue using CPAN shell to 'solve' a problem, 
rather than packaging, as ZM has many such [1]] is obvious, 
and needs no further advocacy, even for a single install; the 
'straw man' about setting different private library paths 
assumes that the person building such even comprehends that 
there is an issue in play.  Not likely

-- Russ herrold

[1] [herrold@centos-5 zoneminder]$ ls -1 | grep ^per | wc
  37  371354
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ext4, 4k sector alignment

2011-07-25 Thread Les Mikesell
I've mentioned this problem before but put off doing anything about it 
and maybe now someone can suggest the best solution.

I have a 3-member RAID1 set where one of the members is periodically 
swapped and rotated offsite.  The filesystem contains a backuppc archive 
which has millions of hardlinks that make it impractical to copy with a 
file-oriented approach.  The current filesystem is ext3 with one 
partition that uses the entire disk capacity (no lvm).  It works as is, 
but...

I'd like to use a laptop size drive for the swapped member and the only 
ones available that match the size have 4k sectors.  I have swappable, 
trayless SATA bays available for both drive sizes.  The problem is that 
with the current partition layout, the drive with 4k sectors takes more 
than a day to re-sync even though on read access the speed is a match 
for the full sized drives that sync in a few hours.

My questions for any filesystem experts are:

Is there a way to adjust the existing md partitions to get the right 
alignment for 4k sectors without having to do a file-oriented copy to 
new partitions?  A resize + a dd copy to shift the position might be 
feasible time-wise if that would work.

Is it worth converting to ext4?

Is there a difference between doing this on 5.6 or 6.x?

If I start over from scratch with 6.x, will the partitioning tools 
automatically align for 4k sector drives (with/without lvm?)?

-- 
   Les Mikesell
lesmikes...@gmail.com



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


[CentOS] ext4, 4k sector alignment

2011-07-25 Thread R P Herrold
On Mon, 25 Jul 2011, Les Mikesell wrote:

 My questions for any filesystem experts are:

 Is there a way to adjust the existing md partitions to get the right
 alignment for 4k sectors without having to do a file-oriented copy to
 new partitions?  A resize + a dd copy to shift the position might be
 feasible time-wise if that would work.

no expert here, but I have the scars across my back from 
pulling arrows out, as a pioneer

We have hit the issue on our storage backend which runs ext4, 
and on some of our dom0 built before the 4k sector alignment 
was generally acknowledged and known to be potentially in play

We have some non-conformant units, and after seaching, 
concluded that a 'wipe and rebuild' was the most time 
efficient process for us -- YMMV

 Is it worth converting to ext4?

ext4 is pleasant in some large filesystem cases, but probably 
overkill as a blanket option.

Certainly it is 'wayy overkill for domU as a general rule, as 
it makes for a more fragile image in the sense that generic 
tools are less likely to work without higher version and skill 
levels when a filesystem gets horked up and a repair 
expedition has to be mounted ... we had an issue that a 
'dirty' filesystem that would not fsck kept showing up in a 
nightly backup exception report, and ended up manually 
repairing what should have been able to be repaired 
automatically

 Is there a difference between doing this on 5.6 or 6.x?

in C5, it took extra effort to use the technology preview; in 
C6 it is natively available

 If I start over from scratch with 6.x, will the partitioning tools
 automatically align for 4k sector drives (with/without lvm?)?

no idea if gparted does this by default -- it does not in all 
versions; certainly fdisk did not -- 4k alignment is on our 
deployment checklist, and we are manually checking 
partitioning to make sure, when we are rebuilding boxes

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Les Mikesell
On 7/25/2011 12:05 PM, R P Herrold wrote:

 else has already done it.  That is, building an RPM is always more work
 than doing a source install and often imposes inconvenient restraints
 like only permitting a single version to be running at once, and doesn't
 give you any guarantee that you won't have to repeat that extra work
 when the distribution changes.  If you aren't planning to repeat that
 install on other machines, where's the payback for the extra work and
 constraints?

 The rant at the start of this thread was about a migration
 into C6, so of course, your predicate condition: 'you aren't
 planning to repeat that install' does not apply

My condition in that case was that you couldn't count on the RPM to work 
anyway once the distribution changes.  So you'll likely be repeating 
that extra effort anyway.  And of course your next install may be on a 
non-RPM based system, making any rpm-packaging effort moot.

 The disciplne and benefit of identifying and solving
 dependencies in a packaged system, rather than splatting as
 root over system libraries upon which other packages depend
 [also, the same isue using CPAN shell to 'solve' a problem,
 rather than packaging, as ZM has many such [1]] is obvious,
 and needs no further advocacy, even for a single install; the
 'straw man' about setting different private library paths
 assumes that the person building such even comprehends that
 there is an issue in play.  Not likely

Now you are talking about very different things. Installing your own 
stuff in /usr/local (as most source installs would do unless you go out 
of your way to subvert it) bypasses the issue of overwriting 
disto-supplied files.   You are right, of course, that outdated and 
missing libraries in the base disto are a complex problem particularly 
for languages/apps that have their own update/install concepts, no 
matter how you try to solve it.  But a simple 'build an rpm' isn't going 
to fix those complications.

-- 
   Les Mikesell
lesmikes...@gmail.com


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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread m . roth
Les Mikesell wrote:
 On 7/25/2011 11:37 AM, Patrick Lists wrote:

 Installing non RPM software on an RPM Distro like CentOS is frowned
 upon. That is the worst way to do it.
 
 why?
snip
 In the RHEL environments where I have worked, installing non RPM
 software was more than frowned upon. It was strictly forbidden and cause
 for immediate public flogging. If someone could not (or did not want to)
 understand why installing non RPM software was a bad idea then that
 person would have been removed from his duties.

 In production environments where you treat hardware as disposable
 commodity chunks it makes sense to demand the extra effort to make the
 software components reproducible across repeated installs.  In other
 scenarios, it is just extra effort without much purpose unless someone
 else has already done it.  That is, building an RPM is always more work
 than doing a source install and often imposes inconvenient restraints
 like only permitting a single version to be running at once, and doesn't
 give you any guarantee that you won't have to repeat that extra work
 when the distribution changes.  If you aren't planning to repeat that
 install on other machines, where's the payback for the extra work and
 constraints?

Another thing: most places I've worked, the large majority of projects
will be running in production, eventually. Having specialized packages
that you have to build, other than the project itself, means you'll
eventually have to do it for the entire time the project's in production,
and frequently means that the project itself is fragile, and perhaps
poorly implemented, and likely to break.

 mark

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


[CentOS] CentOS 6 Webmail

2011-07-25 Thread John Hinton
I see that SquirrelMail is gone from 6. Is there a package in here 
somewhere that is a webmail system? Otherwise, I suppose it lives in one 
of the repos like sourceforge. I just wanted to check if something new 
existed before doing that.

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


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread John Austin
On Mon, 2011-07-25 at 13:23 -0400, R P Herrold wrote:
 On Mon, 25 Jul 2011, Les Mikesell wrote:
 
  My questions for any filesystem experts are:
 
  Is there a way to adjust the existing md partitions to get the right
  alignment for 4k sectors without having to do a file-oriented copy to
  new partitions?  A resize + a dd copy to shift the position might be
  feasible time-wise if that would work.
 
 no expert here, but I have the scars across my back from 
 pulling arrows out, as a pioneer
 
 We have hit the issue on our storage backend which runs ext4, 
 and on some of our dom0 built before the 4k sector alignment 
 was generally acknowledged and known to be potentially in play
 
 We have some non-conformant units, and after seaching, 
 concluded that a 'wipe and rebuild' was the most time 
 efficient process for us -- YMMV
 
  Is it worth converting to ext4?
 
 ext4 is pleasant in some large filesystem cases, but probably 
 overkill as a blanket option.
 
 Certainly it is 'wayy overkill for domU as a general rule, as 
 it makes for a more fragile image in the sense that generic 
 tools are less likely to work without higher version and skill 
 levels when a filesystem gets horked up and a repair 
 expedition has to be mounted ... we had an issue that a 
 'dirty' filesystem that would not fsck kept showing up in a 
 nightly backup exception report, and ended up manually 
 repairing what should have been able to be repaired 
 automatically
 
  Is there a difference between doing this on 5.6 or 6.x?
 
 in C5, it took extra effort to use the technology preview; in 
 C6 it is natively available
 
  If I start over from scratch with 6.x, will the partitioning tools
  automatically align for 4k sector drives (with/without lvm?)?
 
 no idea if gparted does this by default -- it does not in all 
 versions; certainly fdisk did not -- 4k alignment is on our 
 deployment checklist, and we are manually checking 
 partitioning to make sure, when we are rebuilding boxes
 
I can only comment on the last section

I have built Centos 6.0 on a SSD using F15 version of gdisk
man gdisk shows for the l option
Change  the  sector  alignment value. Disks with more logical sectors
per physical sectors (such as some Western Digital models introduced in
December of 2009) and some RAID configurations can suffer performance
problems if partitions are not aligned properly for their internal data
structures. On new disks, GPT fdisk attempts  to  align partitions on
2048-sector (1MiB) boundaries by default, which optimizes performance
for both of these disk types.

Only straight ext4 parttions (No lvm)
I have seen no problems so far ...

Number  Start (sector)End (sector)  Size   Code  Name
   120484095   1024.0 KiB  EF02  BIOS boot partition
   24096 2101247   1024.0 MiB  0700  Linux/Windows data
   3 2101248 6295551   2.0 GiB 8200  Linux swap
   4 629555269210111   30.0 GiB0700  Linux/Windows data
   569210112   132124671   30.0 GiB0700  Linux/Windows data
   6   132124672   174067711   20.0 GiB0700  Linux/Windows data
   7   174067712   468862094   140.6 GiB   0700  Linux/Windows data

John


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


Re: [CentOS] CentOS 6 Webmail

2011-07-25 Thread Athmane Madjoudj
On 07/25/2011 06:30 PM, John Hinton wrote:
 I see that SquirrelMail is gone from 6. Is there a package in here
 somewhere that is a webmail system? Otherwise, I suppose it lives in one
 of the repos like sourceforge. I just wanted to check if something new
 existed before doing that.


Upstream has removed SquirrelMail from EL6, but you'll find SquirrelMail 
and Roundcube Webmail in EPEL [1]

[1] http://fedoraproject.org/wiki/EPEL


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


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread m . roth
John Austin wrote:
 On Mon, 2011-07-25 at 13:23 -0400, R P Herrold wrote:
 On Mon, 25 Jul 2011, Les Mikesell wrote:

  My questions for any filesystem experts are:
 
  Is there a way to adjust the existing md partitions to get the right
  alignment for 4k sectors without having to do a file-oriented copy to
  new partitions?  A resize + a dd copy to shift the position might be
  feasible time-wise if that would work.
snip
 We have some non-conformant units, and after seaching,
 concluded that a 'wipe and rebuild' was the most time
 efficient process for us -- YMMV

  Is it worth converting to ext4?

 ext4 is pleasant in some large filesystem cases, but probably
 overkill as a blanket option.
snip
  If I start over from scratch with 6.x, will the partitioning tools
  automatically align for 4k sector drives (with/without lvm?)?

 no idea if gparted does this by default -- it does not in all
 versions; certainly fdisk did not -- 4k alignment is on our
 deployment checklist, and we are manually checking
 partitioning to make sure, when we are rebuilding boxes
snip
rant
I think it was when I was building a 6.0 box a couple weeks ago, but I'd
partition, it would do an mkfs... and *then* tell me it wasn't aligned,
and I played with it several times, and it absolutely would NOT align it,
nor offer to do so.

  mark

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


Re: [CentOS] CentOS 6 Webmail

2011-07-25 Thread Devin Reade
It's not in any centos-related repos, but I'd highly recommend
horde:  http://www.horde.org/  (IMP is the subsystem that is
the webmail portion.)

Devin

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


Re: [CentOS] Package: virt-goodies - partly solved

2011-07-25 Thread Timothy Kesten
Am Freitag, 22. Juli 2011, 13:37:08 schrieb Timothy Kesten:
 Hi Folks,
 
 is here someone who knows where to get the package virt-goodies for
 CentOS6 64bit?
 
 I'd like to convert VMWare-images to KVM.

No answers :-(

I've found the sourcecode of vmware2libvirt (part of virt-goodies - a 
python-file)  to convert  .vmx file to .xm file for using in virt-manager.
This programm  works fine.
Conversion of my VMWare-Image succeeded.

For everything, which interests it.

Bye
Timothy



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


Re: [CentOS] CentOS 6 Webmail

2011-07-25 Thread Keith Roberts
On Mon, 25 Jul 2011, Devin Reade wrote:

 To: CentOS mailing list centos@centos.org
 From: Devin Reade g...@gno.org
 Subject: Re: [CentOS] CentOS 6 Webmail
 
 It's not in any centos-related repos, but I'd highly recommend
 horde:  http://www.horde.org/  (IMP is the subsystem that is
 the webmail portion.)

+1 that's what my hosting provider gives on my webmail 
service, and I think it's a nice application to use.

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread Devin Reade
--On Monday, July 25, 2011 01:56:38 PM -0400 m.r...@5-cent.us wrote:

 I think it was when I was building a 6.0 box a couple weeks ago, but I'd
 partition, it would do an mkfs... and *then* tell me it wasn't aligned,
 and I played with it several times, and it absolutely would NOT align it,
 nor offer to do so.

When I was building out a 6.0 box a few days ago using 4k sector
drives, I first booted into rescue mode and partitioned using
fdisk via:
  fdisk -uc -H 224 -S 56 /dev/sd{a,b,c,d}
(I'm not sure, but the -H and -S might be irrelevent due to the -uc.)

The first partition then defaulted to starting at sector 2048 (one MB),
size of 200MB.  On all disks, one other partition was created holding
the remainder of the disk.  All partition types were set to 0xfd.

I then booted the install disk normally and eventually things got
configured so that partion 1 on all drives makes up a 200MB
mirrored /dev/md0 for /boot, and everthing else went into /dev/md1
as RAID6.

As far as I can tell, I've not buggered things up ...

Devin

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


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread m . roth
Devin Reade wrote:
 --On Monday, July 25, 2011 01:56:38 PM -0400 m.r...@5-cent.us wrote:

 I think it was when I was building a 6.0 box a couple weeks ago, but I'd
 partition, it would do an mkfs... and *then* tell me it wasn't aligned,
 and I played with it several times, and it absolutely would NOT align
 it, nor offer to do so.

 When I was building out a 6.0 box a few days ago using 4k sector
 drives, I first booted into rescue mode and partitioned using
 fdisk via:
   fdisk -uc -H 224 -S 56 /dev/sd{a,b,c,d}
 (I'm not sure, but the -H and -S might be irrelevent due to the -uc.)
snip
No joy - I think I have to use parted - the drive was too big for fdisk.

   mark

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


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread Devin Reade
--On Monday, July 25, 2011 02:19:16 PM -0400 m.r...@5-cent.us wrote:

 No joy - I think I have to use parted - the drive was too big for fdisk.

I should have mentioned that this was with 1.5TB disks.  I think there's
a limit somewhere beyond 2TB for fdisk.

Devin

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


[CentOS] what really starts x11

2011-07-25 Thread Jerry Geis
my inittab file has 5 for starting x on centos 6  
however x is not starting 

what do i look for as why x is not starting ?
it doesnt even attempt to start that i can tell
no screen flashing or anything

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


Re: [CentOS] what really starts x11

2011-07-25 Thread Keith Roberts
On Mon, 25 Jul 2011, Jerry Geis wrote:

 To: CentOS ML centos@centos.org
 From: Jerry Geis ge...@pagestation.com
 Subject: [CentOS] what really starts x11
 
 my inittab file has 5 for starting x on centos 6
 however x is not starting

 what do i look for as why x is not starting ?
 it doesnt even attempt to start that i can tell
 no screen flashing or anything

Hello Jerry.

Is X windows actually installed?

Can you run startx from a command-line prompt?

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] what really starts x11

2011-07-25 Thread Jerry Geis


lists-centos wrote:
 switch inittab to 3. that will get you a line-mode login. after
 logging in, issue the command startx and debug from there.

   - Richard


  Original Message 
   
 Date: Monday, July 25, 2011 02:36:02 PM -0400
 From: Jerry Geis ge...@pagestation.com
 To: CentOS ML centos@centos.org
 Subject: [CentOS] what really starts x11

 my inittab file has 5 for starting x on centos 6  
 however x is not starting 

 what do i look for as why x is not starting ?
 it doesnt even attempt to start that i can tell
 no screen flashing or anything

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

  End Original Message 



 thanks  

actually i tried that. it does start.
it just doesnt start automatically.
i can start it manually  

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


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread Brian Mathis
On Mon, Jul 25, 2011 at 1:10 PM, Les Mikesell lesmikes...@gmail.com wrote:
 I've mentioned this problem before but put off doing anything about it
 and maybe now someone can suggest the best solution.

 I have a 3-member RAID1 set where one of the members is periodically
 swapped and rotated offsite.  The filesystem contains a backuppc archive
 which has millions of hardlinks that make it impractical to copy with a
 file-oriented approach.  The current filesystem is ext3 with one
 partition that uses the entire disk capacity (no lvm).  It works as is,
 but...

 I'd like to use a laptop size drive for the swapped member and the only
 ones available that match the size have 4k sectors.  I have swappable,
 trayless SATA bays available for both drive sizes.  The problem is that
 with the current partition layout, the drive with 4k sectors takes more
 than a day to re-sync even though on read access the speed is a match
 for the full sized drives that sync in a few hours.

 My questions for any filesystem experts are:

 Is there a way to adjust the existing md partitions to get the right
 alignment for 4k sectors without having to do a file-oriented copy to
 new partitions?  A resize + a dd copy to shift the position might be
 feasible time-wise if that would work.

 Is it worth converting to ext4?

 Is there a difference between doing this on 5.6 or 6.x?

 If I start over from scratch with 6.x, will the partitioning tools
 automatically align for 4k sector drives (with/without lvm?)?

 --
   Les Mikesell
    lesmikes...@gmail.com


I've wondered many times, though haven't tried it, if the issues with
hard links and backuppc could be solved by using a container file with
a loopback mount, and then that file could be moved around as needed
without running into hard-link issues.

In this case, you could format the external drive in the optimal mode
for 4k sectors, then create a container file and mount it using
loopback.  Then add the loopback device to the mdraid and have it
sync.


-☙ Brian Mathis ❧-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread Les Mikesell
On 7/25/2011 1:42 PM, Brian Mathis wrote:

 I've wondered many times, though haven't tried it, if the issues with
 hard links and backuppc could be solved by using a container file with
 a loopback mount, and then that file could be moved around as needed
 without running into hard-link issues.

 In this case, you could format the external drive in the optimal mode
 for 4k sectors, then create a container file and mount it using
 loopback.  Then add the loopback device to the mdraid and have it
 sync.

It doesn't really help with the problem as it stands, which is that the 
target disk (a swappable sata, not really external) has no extra space 
that would permit shifting the alignment.  It might work to shrink the 
existing size, then partition the new drives with the right offset, but 
I may just start from scratch and keep the old drives around in case I 
need the old history.

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


Re: [CentOS] [CentOS 6] what really starts x11

2011-07-25 Thread Jerry Geis


 actually i tried that. it does start.
 it just doesnt start automatically.
 i can start it manually 
 jerry


One centos 6
I found /etc/init/prefdm.conf

In it there is exec /etc/X11/prefdm -nodaemon

When I run this by hand all it does is log me out - no X windows 
starting up.
This is what is not happening.

X is not starting on reboot. /etc/inittab has runlevel 5.
Thoughts?

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Patrick Lists
On 07/25/2011 07:26 PM, Les Mikesell wrote:
[snip]
 My condition in that case was that you couldn't count on the RPM to work
 anyway once the distribution changes.  So you'll likely be repeating
 that extra effort anyway.

Not sure what you mean with once the distribution changes but within a 
major CentOS/RHEL version (e.g. 5 or 6) there is a stable ABI so an 
update to the distro should not introduce issues. In my experience apps 
deployed on RHEL 5.1 work equally on 5.7. If they work crappy, hire 
better developers :)

 And of course your next install may be on a
 non-RPM based system, making any rpm-packaging effort moot.

So do people in the Windows world decide to *not* build msi packages 
because their PHB might decide to replace all Windows with RHEL/CentOS? 
I have never seen that (the not building msi packages that is). And 
neither the reverse. I build versioned packages so (amongst other 
things) I can create a controlled and predictable environment. Are you 
going to install from source on thousands of servers or do you push 
*one* tested rpm? I know what I will be doing. Anything else just does 
not make sense to me.

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


Re: [CentOS] [CentOS 6] what really starts x11

2011-07-25 Thread Jerry Geis
Jerry Geis wrote:


 actually i tried that. it does start.
 it just doesnt start automatically.
 i can start it manually jerry


 One centos 6
 I found /etc/init/prefdm.conf

 In it there is exec /etc/X11/prefdm -nodaemon

 When I run this by hand all it does is log me out - no X windows 
 starting up.
 This is what is not happening.

 X is not starting on reboot. /etc/inittab has runlevel 5.
 Thoughts?

 Jerry

I finally see in /var/log/messages (which I looked at first) that the error.
prefdm is respawning too fast...

still stuck... I tried removing all files in the ~ directory in /root 
and my user. Same result no X windows
by default. startx still works.

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Les Mikesell
On 7/25/2011 3:34 PM, Patrick Lists wrote:

 My condition in that case was that you couldn't count on the RPM to work
 anyway once the distribution changes.  So you'll likely be repeating
 that extra effort anyway.

 Not sure what you mean with once the distribution changes but within a
 major CentOS/RHEL version (e.g. 5 or 6) there is a stable ABI so an
 update to the distro should not introduce issues. In my experience apps
 deployed on RHEL 5.1 work equally on 5.7. If they work crappy, hire
 better developers :)

The context for the issue was someone moving from 5.x to 6.x.

 And of course your next install may be on a
 non-RPM based system, making any rpm-packaging effort moot.

 So do people in the Windows world decide to *not* build msi packages
 because their PHB might decide to replace all Windows with RHEL/CentOS?

But wouldn't it be better if they actually did that instead of locking 
themselves into a single vendors system?

 I have never seen that (the not building msi packages that is). And
 neither the reverse.

How do you deal with java apps in cross platform environments?

-- 
   Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] [CentOS 6] what really starts x11

2011-07-25 Thread Jerry Geis
Jerry Geis wrote:
 Jerry Geis wrote:


 actually i tried that. it does start.
 it just doesnt start automatically.
 i can start it manually jerry


 One centos 6
 I found /etc/init/prefdm.conf

 In it there is exec /etc/X11/prefdm -nodaemon

 When I run this by hand all it does is log me out - no X windows 
 starting up.
 This is what is not happening.

 X is not starting on reboot. /etc/inittab has runlevel 5.
 Thoughts?

 Jerry

 I finally see in /var/log/messages (which I looked at first) that the 
 error.
 prefdm is respawning too fast...

 still stuck... I tried removing all files in the ~ directory in /root 
 and my user. Same result no X windows
 by default. startx still works.

 Jerry

WOW - after following the scripts prefdm - gdm - somehow gdm was not 
even installed.
Not sure how that can be with a graphical install on kickstart and 
asking also @general-desktop
and @internet-browser in my kickstart file.

Anyway when I did yum reinstall gdm it said it wasnt installed.
so I did yum install gdm and it installed - I rebooted and X is now 
running.

Again - not sure how gdm did not get installed. Maybe I'll add that to 
the kickstart file.

Jerry

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


Re: [CentOS] [CentOS 6] what really starts x11

2011-07-25 Thread Thomas Johansson
On 2011-07-25 22:37, Jerry Geis wrote:
 prefdm is respawning too fast

Most likely Xorg is crashing. You are in runlevel 5, therefor prefdm continues
to try and respawn. Check the log in /var/log/Xorg.0.log and then correct 
what's wrong. Could be dr5iver issue.

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


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread Brian Mathis
 On 7/25/2011 1:42 PM, Brian Mathis wrote:

 I've wondered many times, though haven't tried it, if the issues with
 hard links and backuppc could be solved by using a container file with
 a loopback mount, and then that file could be moved around as needed
 without running into hard-link issues.

 In this case, you could format the external drive in the optimal mode
 for 4k sectors, then create a container file and mount it using
 loopback.  Then add the loopback device to the mdraid and have it
 sync.

 It doesn't really help with the problem as it stands, which is that the
 target disk (a swappable sata, not really external) has no extra space
 that would permit shifting the alignment.  It might work to shrink the
 existing size, then partition the new drives with the right offset, but
 I may just start from scratch and keep the old drives around in case I
 need the old history.

 --
   Les Mikesell
    lesmikes...@gmail.com


I thought this was a 3-disk RAID1?  Can't you repartition the hotswap
disk and still have the data on the other 2?  Why would you need to
shrink the existing partition?  Just blow it away and resync the data
once you rebuild the disk.


-☙ Brian Mathis ❧-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [CentOS 6] what really starts x11

2011-07-25 Thread m . roth
Jerry Geis wrote:
 Jerry Geis wrote:
 Jerry Geis wrote:
snip
 I finally see in /var/log/messages (which I looked at first) that the
 error. prefdm is respawning too fast...
snip
 WOW - after following the scripts prefdm - gdm - somehow gdm was not
 even installed.
 Not sure how that can be with a graphical install on kickstart and
 asking also @general-desktop and @internet-browser in my kickstart file.

Yeah, they changed the group names, as I think I mentioned last week. To
*stupid* things, like GNOME Desktop Environment (RPM Fusion Free).

 Anyway when I did yum reinstall gdm it said it wasnt installed.
 so I did yum install gdm and it installed - I rebooted and X is now
 running.
snip

Two guesses

 mark

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


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread Les Mikesell
On 7/25/2011 4:05 PM, Brian Mathis wrote:
 On 7/25/2011 1:42 PM, Brian Mathis wrote:

 I've wondered many times, though haven't tried it, if the issues with
 hard links and backuppc could be solved by using a container file with
 a loopback mount, and then that file could be moved around as needed
 without running into hard-link issues.

 In this case, you could format the external drive in the optimal mode
 for 4k sectors, then create a container file and mount it using
 loopback.  Then add the loopback device to the mdraid and have it
 sync.

 It doesn't really help with the problem as it stands, which is that the
 target disk (a swappable sata, not really external) has no extra space
 that would permit shifting the alignment.  It might work to shrink the
 existing size, then partition the new drives with the right offset, but
 I may just start from scratch and keep the old drives around in case I
 need the old history.


 I thought this was a 3-disk RAID1?  Can't you repartition the hotswap
 disk and still have the data on the other 2?  Why would you need to
 shrink the existing partition?  Just blow it away and resync the data
 once you rebuild the disk.

The disk I want to add is the same size as the existing disks if 
expressed in 512 byte sectors - and they have one partition taking all 
of the disk space.  If I add a leading offset to get the 4k alignment, 
there won't be enough room for the existing partition size.

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


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread John R Pierce
On 07/25/11 2:17 PM, Les Mikesell wrote:
 The disk I want to add is the same size as the existing disks if
 expressed in 512 byte sectors - and they have one partition taking all
 of the disk space.  If I add a leading offset to get the 4k alignment,
 there won't be enough room for the existing partition size.

you sure its that tight?different brand and model 1TB (or whatever) 
drives vary all over the place in actual size.   generally newer ones 
are a hair bigger than older ones.  you need at most 7 sectors to 
achieve 4 kilobyte alignment.



-- 
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] ext4, 4k sector alignment

2011-07-25 Thread Les Mikesell
On 7/25/2011 4:26 PM, John R Pierce wrote:
 On 07/25/11 2:17 PM, Les Mikesell wrote:
 The disk I want to add is the same size as the existing disks if
 expressed in 512 byte sectors - and they have one partition taking all
 of the disk space.  If I add a leading offset to get the 4k alignment,
 there won't be enough room for the existing partition size.

 you sure its that tight?different brand and model 1TB (or whatever)
 drives vary all over the place in actual size.   generally newer ones
 are a hair bigger than older ones.  you need at most 7 sectors to
 achieve 4 kilobyte alignment.

The full sized disks are Seagates:

Host: scsi7 Channel: 00 Id: 00 Lun: 00
   Vendor: ATA  Model: ST3750640NS  Rev: 3.AE
and fdisk sees this:
Disk /dev/sdh: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


The 2.5 ones are WD's:
Host: scsi9 Channel: 00 Id: 00 Lun: 00
   Vendor: ATA  Model: WDC WD7500BPVT-0 Rev: 01.0
   Type:   Direct-AccessANSI SCSI revision: 05
fdisk:
Disk /dev/sdi: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Don't see any extra space there unless you can shift the partition start 
forwards.


There's a very new 1 TB drive that might fit in the swappable bays (a 
cute little thing that fits 2 in a floppy drive space), but when I got 
these 750Gb was as large as you could go without adding extra height.

-- 
   Les Mikesell
lesmikes...@gmail.com


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


Re: [CentOS] nfsv4 and kerberos - fails to mount

2011-07-25 Thread Louis Lagendijk
On Mon, 2011-07-25 at 12:58 -0400, Rob Kampen wrote:
 Rob Kampen wrote:
   On 07/19/2011 04:43 PM, Olaf Mueller wrote:
  Rob Kampen wrote:
 
  Hello,
 
  nfs4 with kerberos works fine here on CentOS 5.6.
 
  change exports to
  [...]gss/krb([...]
  [...]gss/krb([...]
  My /etc/exports says '... gss/krb5(...'.
  Got this already
  And 'SECURE_NFS=yes' is set in /etc/sysconfig/nfs.
  This too is set
  All needed services are running?
  - rpcsvcgssd (server)
  - rpcidmapd (server)
  - rpcgssd (client)
  Yes all running
  A very good instruction, in my opinion, to get it running is
  http://sadiquepp.blogspot.com/2009/02/how-to-configure-nfsv4-with-kerberos-in.html.
   
 
  This was one of the ones I used - will start from the beginning again.
  Thanks for comments
 
  regards
  Olaf
 I have put the nfs4 with Kerberos on hold as it seems there may be a 
 problem with the basic kerberos install.
Probably an issue with your keytab. the link above cotains some hints:

1) you need to add an nfs (not host!) principal and 
2) use ktadd -e des-cbc-crc:normal
Add only the des-cbc-crc:normal key, not one of the others as (at least
in the past, I have not checked later kernels like the one in centos 6)
to see if this is still applies. In order to allow the des key to work
you need the following in /etc/krb5.conf (in the libdefaults section):
allow_weak_crypto = true
With these settings nfs mounting works for me, but see my comments below
first, before you try to mount a nfs file system

 /usr/kerberos/sbin/kprop: Decrypt integrity check failed while getting 
 initial ticket
With the keytab you showed, first try a kinit for a user. does that
succeed? What does a klist show after this?
This way you can check the ticket generation. Only when that succeeds
try the nfs mount

Louis

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Patrick Lists
On 07/25/2011 10:49 PM, Les Mikesell wrote:
 The context for the issue was someone moving from 5.x to 6.x.

Still normal procedures apply: port to the new platform and/or rebuild 
for the new platform, test on the new platform, rinse  repeat, verify, 
give seal of approval, package and finally deploy the RPM(s).

 So do people in the Windows world decide to *not* build msi packages
 because their PHB might decide to replace all Windows with RHEL/CentOS?

 But wouldn't it be better if they actually did that instead of locking
 themselves into a single vendors system?

Really? No. I wish you good luck with the DLL hell caused by your 
non-versioned, non-packaged, non-controllable, non-manageable source 
install on a few thousand servers. You don't get freedom or 
not-being-locked-in from not using best practices like versioned 
packaging. The choice for a certain platform was made. Deal with it.

 I have never seen that (the not building msi packages that is). And
 neither the reverse.

 How do you deal with java apps in cross platform environments?

RHEL5 life cycle ends on 31/03/2017 so for now I don't.

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


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread John R Pierce
On 07/25/11 2:44 PM, Les Mikesell wrote:
 255 heads, 63 sectors/track, 91201 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes

where is your existing partition starting?

if its on a track or cylinder boundary... then sure, you can move it 
forward by using something that will let you partition by sectors.

-- 
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] ext4, 4k sector alignment

2011-07-25 Thread Les Mikesell
On 7/25/2011 5:33 PM, John R Pierce wrote:
 On 07/25/11 2:44 PM, Les Mikesell wrote:
 255 heads, 63 sectors/track, 91201 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes

 where is your existing partition starting?

 if its on a track or cylinder boundary... then sure, you can move it
 forward by using something that will let you partition by sectors.


  Device Boot  Start End  Blocks   Id  System
/dev/sdh1  1   91201   732572001   fd  Linux raid autodetect

It doesn't need to boot.   And the 3rd member doesn't need to 
autodetect, although I do want to be able to mount it independently if 
needed.   Should it work to use the raw disk instead of a partition?

-- 
   Les Mikesell
lesmikes...@gmail.com

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


[CentOS] CentOS6 on EC2

2011-07-25 Thread Richard Shade
Anyone successfully got CentOS6 running on EC2. We have bundled a pvgrub
image but get to Initialising Xen virtual ethernet driver. and the system
stops outputting?

-- 
Thanks,

Richard Shade
Integration Engineer
RightScale - http://www.rightscale.com/
phone: 8055004164x1018
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread John R Pierce
On 07/25/11 3:54 PM, Les Mikesell wrote:
Device Boot  Start End  Blocks   Id  System
 /dev/sdh1  1   91201   732572001   fd  Linux raid autodetect

 It doesn't need to boot.   And the 3rd member doesn't need to
 autodetect, although I do want to be able to mount it independently if
 needed.   Should it work to use the raw disk instead of a partition?

thats by cylinder, which is an old MSDOS legacy thing.   I believe 
parted and probably some other programs let you partition by sector instead.

you previously wrote...

On 07/25/11 2:44 PM, Les Mikesell wrote:

   255 heads, 63 sectors/track, 91201 cylinders
   Units = cylinders of 16065 * 512 = 8225280 bytes


so, a 'cylinder' is 8225 kbytes per that.   simply cutting that down by 
a few kbytes will get you on your 4K boundary.   right now a cylinder is 
255*63 = 16065 sectors.  which is most certainly not divisible by 8 (8 
512 byte sectors is 4K bytes)


-- 
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


[CentOS] Sudo #includedir function ignored CentOS 6

2011-07-25 Thread Trey Dockendorf
I am unable to get the #includedir function to work with sudo.  This works
just fine on all my CentOS 5.6 servers, but on 6 it is being ignored.  I
have this line in the file /etc/sudoers.d/zabbix-puppet

zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet

However sudo still requires a password.  If I put that same line into
/etc/sudoers file , there is no password prompt.  At the end of my sudoers
file I have this line

#includedir /etc/sudoers.d

It seems that line is being ignored.

The permissions on the file in that directory are 0440.

Any ideas would be greatly appreciated.

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


Re: [CentOS] Sudo #includedir function ignored CentOS 6

2011-07-25 Thread Trey Dockendorf
Correction, seems to be broken in 5.6 as well...I also had this interesting
argument with sudo...

# visudo -c -f /etc/sudoers.d/zabbix-puppet
 /etc/sudoers.d/zabbix-puppet: syntax error near line 0 
parse error in /etc/sudoers.d/zabbix-puppet near line 0

(((NOTE: I made absolutely no changes , just did :q)))
# visudo -f /etc/sudoers.d/zabbix-puppet
 /etc/sudoers.d/zabbix-puppet: syntax error near line 0 


# visudo -c -f /etc/sudoers.d/zabbix-puppet
/etc/sudoers.d/zabbix-puppet: parsed OK


:-/

- Trey


On Mon, Jul 25, 2011 at 6:41 PM, Trey Dockendorf treyd...@gmail.com wrote:

 I am unable to get the #includedir function to work with sudo.  This works
 just fine on all my CentOS 5.6 servers, but on 6 it is being ignored.  I
 have this line in the file /etc/sudoers.d/zabbix-puppet

 zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet

 However sudo still requires a password.  If I put that same line into
 /etc/sudoers file , there is no password prompt.  At the end of my sudoers
 file I have this line

 #includedir /etc/sudoers.d

 It seems that line is being ignored.

 The permissions on the file in that directory are 0440.

 Any ideas would be greatly appreciated.

 Thanks
 - Trey

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


Re: [CentOS] Sudo #includedir function ignored CentOS 6

2011-07-25 Thread Tom H
On Mon, Jul 25, 2011 at 7:41 PM, Trey Dockendorf treyd...@gmail.com wrote:

 I am unable to get the #includedir function to work with sudo.  This works
 just fine on all my CentOS 5.6 servers, but on 6 it is being ignored.  I
 have this line in the file /etc/sudoers.d/zabbix-puppet
 zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet
 However sudo still requires a password.  If I put that same line into
 /etc/sudoers file , there is no password prompt.  At the end of my sudoers
 file I have this line
 #includedir /etc/sudoers.d
 It seems that line is being ignored.
 The permissions on the file in that directory are 0440.

Have you tried zabbix ALL = NOPASSWD:
/var/lib/zabbix/bin/start_puppet (spaces before and after =)?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sudo #includedir function ignored CentOS 6

2011-07-25 Thread John R Pierce
On 07/25/11 4:41 PM, Trey Dockendorf wrote:
 I am unable to get the #includedir function to work with sudo.  This 
 works just fine on all my CentOS 5.6 servers, but on 6 it is being 
 ignored.  I have this line in the file /etc/sudoers.d/zabbix-puppet

 zabbix ALL=NOPASSWD: /var/lib/zabbix/bin/start_puppet

 However sudo still requires a password.  If I put that same line into 
 /etc/sudoers file , there is no password prompt.  At the end of my 
 sudoers file I have this line

 #includedir /etc/sudoers.d


did you edit these files with visudo -f /path/to/file ?   I'd try that.


-- 
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


[CentOS] tabs in emacs fundamental mode?

2011-07-25 Thread Devin Reade
I'm noticing that under CentOS 6, emacs fundamental mode is no longer
inserting tabs at factor-of-8 tabstops, but rather is doing some 
funky guess-the-intended-tab-distance thing like text mode has done
for a while, currently using three spaces per tab key.

Has anyone tracked down where this was changed and, more to the point,
how to get the old CentOS 5 behavior back?

FWIW, I'm invoking it as emacs -nw filename.  LANG is C.

Devin
-- 
He is one of those people who would
be enormously improved by death.- H. H. Munro

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Mike Burger

 Am 24.07.2011 14:04, schrieb Always Learning:

 The challenge is how to do an easily transition from one major version
 to its successor version with the least physical, emotional,
 intellectual and time-consuming effort.

 Paul,

 as much as I understand your point of view, I must disagree taking
 upstream's and CentOS's position. Your description reflects a home user
 or an administrator with just less than a handful of systems.

 CentOS and RHEL aims for the enterprise use. Of course that does not
 imply people can not rely on this stable platform in very small
 environments, but that's not the focus of the OS design. And speaking
 about the enterprise scenario, no serious administrator will risk the
 proper function of his install base by going risky paths. Typically the
 OS is just the base for the middleware and application level. Switching
 to a new major level of OS with lots of important changes means, the
 administrator will have to test and adjust his setup of OS and
 application use in multiple aspects. This even applies to applications
 the base OS ships with.

 In enterprise environments, where the CentOS systems are more than a
 simple shell box or a trivial webserver, it is more time consuming to
 find all the possible places to adjust the obsolete configurations being
 transferred by an upgrade and to find the tripping points than to run a
 clean and fresh installation with a defined state. In less trivial
 setups the applications even get wrecked because of library changes and
 such.

I am a sysadmin for an enterprise running both RHEL and AIX...both of them
being enterprise level OSes.

IBM has managed to support in place upgrading of their OSes from one major
version to another for several versions, now...in fact, each release is,
according to IBM, a separate release, with technical levels or maintenance
levels and service packs being in-level patches.

So, going from 5.3 TL6 SP6 to 5.3 TL12 is as considered patching and is as
simple as running smitty update_all from within an appropriately
configured repository directory (or directories), much like running yum
update.

On the other hand, going from 5.1 anything to 5.2 anything, 5.2 to 5.3,
5.3 to 6.1 is considered a major release...and upgrading those, in place,
is fully supported by IBM, and is as simple as either booting from an
appropriate boot disk, or using the appropriately configured NIM boot and
install/up process.

If IBM can make this happen for their OS, and Red Hat certainly supports
such a process in the Fedora line of releases (including the ability to
list additional repositories for remote installation as part of the
process), they could certainly make it a supportable option for the RHEL
line.
-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscr...@bubbanfriends.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread R P Herrold
On Tue, 26 Jul 2011, Mike Burger wrote:

 If IBM can make this happen for their OS, and Red Hat certainly supports
 such a process in the Fedora line of releases (including the ability to
 list additional repositories for remote installation as part of the
 process), they could certainly make it a supportable option for the RHEL
 line.

The upstream supports nothing as to Fedora, and indeed, 
members of that project regularly (and seem to gleefully) 
break forward compatability

But you are missing the point -- WHY spend the engineering 
effort on trying to support such Major 'upgradeany's?  A new 
deployment takes mere minutes for a commercial shop, and by 
NOT supporting such explicitly, the upstream avoids much 
support and engineering load.

[I say this having done an 'upgradeany' and run into a later 
'nss' in C5 than the C6 initial media provides, that required 
some head scratching, and a nasty workaround, to solve over 
the weekend]

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Craig White
On Mon, 2011-07-25 at 10:05 -0400, R P Herrold wrote:
 On Sun, 24 Jul 2011, Craig White wrote:
 
  you made a vacuous argument.
 
 Hunh.  You are ** still ** trolling here [arguing against 
 package management] and on this thread [C 6 matters], Craig?
 
 I thot back on June 13 you said here:
 
  easier just to give up - I moved my new servers to ubuntu - 
  no more new CentOS installs any more

still running some CentOS 5 servers... what's your point?

Craig


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

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Mike Burger

 On Tue, 26 Jul 2011, Mike Burger wrote:

 If IBM can make this happen for their OS, and Red Hat certainly supports
 such a process in the Fedora line of releases (including the ability to
 list additional repositories for remote installation as part of the
 process), they could certainly make it a supportable option for the RHEL
 line.

 The upstream supports nothing as to Fedora, and indeed,
 members of that project regularly (and seem to gleefully)
 break forward compatability

I can not believe that the upstream does not guide/provide direction with
regard to the Fedora project, given that the Fedora project is still the
test bed for what eventually goes into the upstream's commercially
supported product.

 But you are missing the point -- WHY spend the engineering
 effort on trying to support such Major 'upgradeany's?  A new
 deployment takes mere minutes for a commercial shop, and by
 NOT supporting such explicitly, the upstream avoids much
 support and engineering load.

Quite simply, because the customer base, which is paying the upstream for
support, is requesting that such a process be supported.

Quite simply, as well, because the upstream is selling the customer on the
idea that their product is an enterprise level product.  Other enterprise
level *NIX providers support this process...the customer may reasonably
expect that this provider do the same.

Sure...it may take only a few minutes for a commercial shop to deploy an
OS, it takes that shop much more time to have to reinstall and reconfigure
the applications that run on those OS instances, test, cut over, etc.

Additionally, not every shop is running their entire Linux infrastructure
in a VM based environment. For those running physical systems, the
hardware may still be within their viable hardware lifecycle, but be in
need of a newer version of the OS.  Should the customer have to purchase
an additional physical system for each instance of their OS that must be
upgraded from one major release to the next?  Where would that leave the
customer, as far as having been sold on the cost effectiveness of their
Linux installs vs other commercial *NIX offerings?

How about those virtualized environments? Spinning up a new VM environment
to eventually replace the existing VM with a new OS instance may also
require the purchase of additional hardware, in an effort to support the
temporary resources needed to spin up, configure and test the new
instances prior to putting them into live use.

The cost of testing and then supporting live upgrade scenarios, born by
the upstream, would likely be less than the cost to the customer base in
potential hardware and manpower cycles, and would undoubtedly build the
upstream more good will from the customer base.

Consider, again, that the feature to perform an upgrade (and not via a
hidden upgradeany command line option) is available in the version of
Anaconda (the installation tool used by the upstream) that is in use for
Fedora intallations and upgrades, and that particular compilation of
Anaconda does include the ability to specify those third party
repositories from which one may have installed packages. It may be
compiled out of the binary that is in use by the upstream, but any of us
who have also used their test environment know that it's there, and are
more than aware that the upstream has and continues to disable certain
features of various included tools when shipping those tools in their
commercially supported distribution.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscr...@bubbanfriends.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread Stephen Harris
On Tue, Jul 26, 2011 at 01:07:36AM -0400, Mike Burger wrote:
  On Tue, 26 Jul 2011, Mike Burger wrote:
  But you are missing the point -- WHY spend the engineering
  effort on trying to support such Major 'upgradeany's?  A new
  deployment takes mere minutes for a commercial shop, and by
  NOT supporting such explicitly, the upstream avoids much
  support and engineering load.
 
 Quite simply, because the customer base, which is paying the upstream for
 support, is requesting that such a process be supported.

If there's sufficient customer demand _and_ if RH decide it's worth it
then they might support it.  However I can tell you that the 20,000+ RH
machines at my place will not be major-version upgraded in-place; they'll
be rebuilt (possibly onto new hardware; maybe onto a split-mirror).
That's how we do Linux; that's how we do Solaris; heck, that's even how
we do AIX.

Our support dollars are pushing RedHat in a different direction.  We don't
care about in-place major-version upgrades.

-- 

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


Re: [CentOS] ext4, 4k sector alignment

2011-07-25 Thread Nataraj
On 07/25/2011 10:10 AM, Les Mikesell wrote:
 I've mentioned this problem before but put off doing anything about it 
 and maybe now someone can suggest the best solution.

 I have a 3-member RAID1 set where one of the members is periodically 
 swapped and rotated offsite.  The filesystem contains a backuppc archive 
 which has millions of hardlinks that make it impractical to copy with a 
 file-oriented approach.  The current filesystem is ext3 with one 
 partition that uses the entire disk capacity (no lvm).  It works as is, 
 but...

 I'd like to use a laptop size drive for the swapped member and the only 
 ones available that match the size have 4k sectors.  I have swappable, 
 trayless SATA bays available for both drive sizes.  The problem is that 
 with the current partition layout, the drive with 4k sectors takes more 
 than a day to re-sync even though on read access the speed is a match 
 for the full sized drives that sync in a few hours.

 My questions for any filesystem experts are:

 Is there a way to adjust the existing md partitions to get the right 
 alignment for 4k sectors without having to do a file-oriented copy to 
 new partitions?  A resize + a dd copy to shift the position might be 
 feasible time-wise if that would work.

 Is it worth converting to ext4?

 Is there a difference between doing this on 5.6 or 6.x?

 If I start over from scratch with 6.x, will the partitioning tools 
 automatically align for 4k sector drives (with/without lvm?)?

For LVM's see the --dataalignment and --dataalignmentoffset options. 
For md devices, my understanding is that the raid superblock is at the
end of the partition, so the data is aligned with wherever the partition
starts.  I verified this using: 
 hexdump /dev/md1 | head -6
 hexdump /dev/sda4 | head -6

Nataraj

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


Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread 夜神 岩男
On 07/26/2011 01:32 PM, R P Herrold wrote:
 On Tue, 26 Jul 2011, Mike Burger wrote:

 If IBM can make this happen for their OS, and Red Hat certainly supports
 such a process in the Fedora line of releases (including the ability to
 list additional repositories for remote installation as part of the
 process), they could certainly make it a supportable option for the RHEL
 line.

 The upstream supports nothing as to Fedora, and indeed,
 members of that project regularly (and seem to gleefully)
 break forward compatability

 But you are missing the point -- WHY spend the engineering
 effort on trying to support such Major 'upgradeany's?  A new
 deployment takes mere minutes for a commercial shop, and by
 NOT supporting such explicitly, the upstream avoids much
 support and engineering load.

 [I say this having done an 'upgradeany' and run into a later
 'nss' in C5 than the C6 initial media provides, that required
 some head scratching, and a nasty workaround, to solve over
 the weekend]

RPH is definitely right about gleefully breaking forward compatibility.

It is easier to control compatibility backward and forward when you're 
deploying a closed (or at least tightly controlled) system as opposed to 
one that boils with change the way the Fedora upstream does.

Example: systemd

Find a way to make a transition from 6x to 7.0 seamless by way of a 
simple yum update once SysV init goes away and all system services 
must grow configuration files and drop init scripts. That's just one 
subsystem, there are other huge changes as well (Gnome3...).

IBM and the tightly controlled (and decades long) OS/360 - z/OS process 
or their linear passes through AIX Ver.n - Ver.n+i do not compare to 
Red Hat's situation. Anyway, compatibility is often complex enough for 
IBM to address by quietly including emulators for their previous systems 
instead of shooting for base compatibility.

The key to Red Hat's success has been its hands-off approach to the 
Fedora Project. If Red Hat ever desires to implement something they must 
first present working implementations for acceptance by FESCo -- which 
implies promising, working implementations. This forces a lot of unique 
situations, but the primary effects are:
  * Advances occur at a rate difficult to compare to other projects
  * Entire subsystems can be marked obsolete if a working 
implementation demonstrates superior function (systemd ousting the 
venerated SysV init is an example of this nothing sacred attitude)
  * Technical debate about anything/everything crosses company, private 
and personal lines in ways difficult to interpret from a traditional 
development perspective
  * The chaos level is high (marked by the inability for any one person 
to be an expert on everything at a given time -- by the time one thing 
is thoroughly understood something else has changed)
  * Absolute forward and backward compatibility requires too much 
effort, so the concept of compatibility moves up two levels to the 
data layer[1]

IBM, on the other hand, has a long-term compatibility program they 
consider to be at the core of their business model (System/360 history 
is interesting here). They plan their changes around a few subsystems 
they consider to be sacred. If you want to change something sacred you 
have to plan it out through the high priest in charge of that subsystem 
-- and it is acceptable for major system changes to take several years.

The whole thought process is entirely different -- as are their target 
markets. Red Hat is a good value for large- to huge-sized businesses, 
and IBM is a better value (sometimes with a mix of Red Hat in some 
areas/departments) for titanic- to ZOMG-sized businesses.

I apologize for the long message. I didn't have time to write a short one.

-Iwao

[1] I've been thinking about this a bit and I've come to think that 
there are roughly three layers to compatibility -- so I'll define them 
here since I referenced my own definition:

1- Absolute forward and backward compatibility. Code builds and runs in 
exactly the same way on any system in the series.

This is the level IBM shoots for. System upgrades and downgrades are 
clean, reliable and easy to recommend and support.

In Linux terms this would mean you could load, say, RHEL 3 and yum 
upgrade to RHEL 6.1 -- whether that is through a yum-initiated upgrade 
chain or a one-step upgrade is of no concern to the user.

2- Configuration compatibility. Implementations change in radical ways, 
but the interpretation, format and semantics of configuration files is 
absolutely respected between versions and often between competing 
implementations of a single standard. OpenLDAP's move to cn=config while 
retaining the ability for slapd.conf to be read and converted to a 
cn=config loadable set of LDIFs is an example of this.

This is roughly what Microsoft used to aim for (somewhere on the road 
between XP and 8 they seem to have totally quit the idea, though).

In Linux terms this would 

Re: [CentOS] Upgrading from CentOS 5.6 to 6.0

2011-07-25 Thread 夜神 岩男
On 07/26/2011 02:07 PM, Mike Burger wrote:

 But you are missing the point -- WHY spend the engineering
 effort on trying to support such Major 'upgradeany's?  A new
 deployment takes mere minutes for a commercial shop, and by
 NOT supporting such explicitly, the upstream avoids much
 support and engineering load.

 Quite simply, because the customer base, which is paying the upstream for
 support, is requesting that such a process be supported.

And this would be a sensible argument, were it not being made on the 
CentOS list. Folks here aren't paying anyone anything.

This is more like an extension of the Fedora community, in a way -- free 
testers and freeloaders. Big deal. Red Hat doesn't *need* to do anything 
for us, come to think of it they're already doing quite a bit, so I see 
no point in complaining.

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