Re: [CentOS-virt] Fwd: Building Xen on RHEL7

2013-12-22 Thread Peter
On 12/22/2013 08:32 PM, Nico Kadel-Garcia wrote:
 On Sun, Dec 22, 2013 at 1:30 AM, Peter pe...@pajamian.dhs.org wrote:

 gcc is considered to be part of the standard build toolset and as such
 is not required to be listed as a dependency in any spec file.
 
 Part of a standard build toolset or not, it needs to be mentioned. The
 dev86 SRPM was pretty old, admittedly. But Fedora, and EPEL, and RHEL,
 all build their  RPM's with mock and koji these days, and gcc is
 *not* part of the basic build environment. There are reasons, having
 to do with cross-compilation and alternative compiler toolchains. So
 RHEL, Fedora, and EPEL RPM's all specify cc or gcc as needed,
 
 Do take a good look at those Fedora SRPM's if you think I'm kidding..

I did check before I made the comment in the first place (this is for
el6 from epel buildsys-build is the standard install for mock epel-6):
$ yum groupinfo buildsys-build

...

Group: Buildsystem building group
 Mandatory Packages:

...

   gcc
   gcc-c++

...


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


Re: [CentOS-es] Volver a CentOS de Cero

2013-12-22 Thread Yanis Guenane
Se que no es lo que has pedido, pero podrias usar containers.

Me explico, podrias crear containers con CentOS 'minimal' y luego
destruirlos on-demand.
Asi tendras el entorno que buscas directemente desde tu VM.

Aqui el enlace de CentOS http://wiki.centos.org/HowTos/LXC-on-CentOS6

Espero que sirve,

--
Yanis Guenane


2013/12/21 cheperobert jrobertoa...@gmail.com

 El 21/12/13, Azu Carlitox elazucarli...@gmail.com escribió:
  Hola, tengo una maquina virtual a la cual no tengo acceso al host para
  poder instalar nuevamente centos.
  Agradezco saber como puedo hacer para volver a que quede totalmente
 limpio,
  desde consola sin necesidad de utilizar un cd de centos.
  Lo que necesito es borrar todos los paquetes instalados así como la
  configuración de todos los servicios.
  Gracias.

 * Podridas detener los los servicios que no necesitas.
 * Si lo deseas y te sientes cómodo, elimina el entorno gráfico, las X
 y solo inicia en modo texto.
 * Limpia los usuarios
 * Limpia los logs

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




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


[CentOS] monitor config in xorg.conf

2013-12-22 Thread ken
What's the smoothest way to change the monitor on a system?  I've done 
this before and, aside from the initial cold boot (after unplugging the 
old monitor and plugging in the new one), it also took restarting X 
(gnome) several times to get the (new) monitor tuned correctly.

The new (actually a bit old) monitor is an Acer P191W d.  It is a 
19-inch, LCD flat-screen.  Other specs:

 Aspect Ratio 16:10,
 Native Resolution 1440 x 900 at 75 Hz
 Pixel Pitch 0.284 mm

Does anyone have an xorg.conf entry for this monitor and/or suggestions 
as to what a workable (or optimal) xorg.conf entry might be?

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


Re: [CentOS] monitor config in xorg.conf

2013-12-22 Thread ken
On 12/22/2013 07:46 AM Reindl Harald wrote:


 Am 22.12.2013 13:36, schrieb ken:
 What's the smoothest way to change the monitor on a system?  I've done
 this before and, aside from the initial cold boot (after unplugging the
 old monitor and plugging in the new one), it also took restarting X
 (gnome) several times to get the (new) monitor tuned correctly.

 The new (actually a bit old) monitor is an Acer P191W d.  It is a
 19-inch, LCD flat-screen.  Other specs:

   Aspect Ratio 16:10,
   Native Resolution 1440 x 900 at 75 Hz
   Pixel Pitch 0.284 mm

 Does anyone have an xorg.conf entry for this monitor and/or suggestions
 as to what a workable (or optimal) xorg.conf entry might be?

 there is no xorg.conf these days becaue it's auto-detected
 and if you have one *that* might be the problem

Reindl, perhaps your system is configured differently or something, but 
nothing you said reflects my experience.

Everybody else, my situation and query stand as they are.  Any solutions?

Thanks.

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


Re: [CentOS] monitor config in xorg.conf

2013-12-22 Thread Ned Slider
On 22/12/13 15:29, ken wrote:
 On 12/22/2013 07:46 AM Reindl Harald wrote:


 Am 22.12.2013 13:36, schrieb ken:
 What's the smoothest way to change the monitor on a system?  I've done
 this before and, aside from the initial cold boot (after unplugging the
 old monitor and plugging in the new one), it also took restarting X
 (gnome) several times to get the (new) monitor tuned correctly.

 The new (actually a bit old) monitor is an Acer P191W d.  It is a
 19-inch, LCD flat-screen.  Other specs:

Aspect Ratio 16:10,
Native Resolution 1440 x 900 at 75 Hz
Pixel Pitch 0.284 mm

 Does anyone have an xorg.conf entry for this monitor and/or suggestions
 as to what a workable (or optimal) xorg.conf entry might be?

 there is no xorg.conf these days becaue it's auto-detected
 and if you have one *that* might be the problem

 Reindl, perhaps your system is configured differently or something, but
 nothing you said reflects my experience.

 Everybody else, my situation and query stand as they are.  Any solutions?

 Thanks.


CentOS 5 or CentOS 6?

Are you using any proprietary display drivers, or are you using the 
native Xorg drivers?

Answers to these questions will affect your options.

I'd back up any current xorg.conf file, plug it in and restart X and see 
what happens. If it's not to your liking try running your Xorg config 
utility (which can be different for different proprietary display drivers).


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


Re: [CentOS] Log rolling with a daemon

2013-12-22 Thread Larry Martell
On Sat, Dec 21, 2013 at 9:46 PM, Cliff Pratt enkiduonthe...@gmail.com wrote:
 John's suggestion is still pertinent. You'll need a SIGHUP handler in your
 script. Logrotate could send the SIGHUP in a postrotate 'script'.

Thanks!


 On Sun, Dec 22, 2013 at 3:15 PM, Larry Martell larry.mart...@gmail.comwrote:

 On Sat, Dec 21, 2013 at 8:52 PM, John R Pierce pie...@hogranch.com
 wrote:
  On 12/21/2013 4:56 PM, Larry Martell wrote:
  I'm looking for advice or suggestions for rolling log files with a
  daemon. I have a python script that I daemonized with
 
 http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/
 .
  Before I daemonized it it was run from a bash script that invoked the
  underlying python script. It ran the python script, waited for it to
  complete and then it slept for 5 seconds and ran it again. This was in
  a infinite loop. In between each invocation it checked the log file
  and if it was over 10MB it renamed it and then the next invocation
  started with a new empty log. Since each invocation was a separate run
  this worked fine.  But now the daemonized python script doesn't exit -
  the same log file is attached to it forever. So my renaming of the
  file does nothing - the i node doesn't change and it's still logging
  to the same large file. Anyone have any ideas how I can achieve this
  sort of log rolling in this situation?
 
 
  send a SIGHUP to syslog  and it shoudl re-opent he log files.
 
  silly question, but whats wrong with the logrotate daemon thats built
  into centos?

 This is not using syslog. If you look at the daemonizing script I gave
 the link to, you pass in the log files for stdout and stderr, and it
 does some double fork magic and then associates the given files with
 them.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Serial Console Config in 6.5

2013-12-22 Thread Michael Lampe
Camron W. Fox wrote:

 After upgrading from 6.4 to 6.5, our serial console configuration non
 longer work. We have the following upstart file: ...

According to the comments in /etc/init/serial.conf you shouldn't have a 
/etc/init/ttyS0.conf or do anything to /etc/securetty. This is all 
handled automatically. You just add 'console=tty0 console=ttySX,YZ' to 
the kernel line in grub and that's it.

I did it like this a couple of days ago on 6.5. Works as advertised for 
me but I have never used a serial console before.

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


[CentOS] Remove/deactivate the session and language buttons in login screen

2013-12-22 Thread cbul...@gmail.com
Hi All,

I'm using centOS 6.4 with openbox as windows manager. I modified
/etc/X11/xinit/Xsession file in orden to set up openbox as default
windows manager for all users (I changed gnome-session to openbox-session).
Now, I would like to remove or deactivate the the session and language
button in login screen. I tried to find these using gconf-editor but
without any luck. I could change the banner text message and disabled
user list but nothing for the other buttons.
Any clue how can I accomplish this?

Thanks in advance!


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


Re: [CentOS] monitor config in xorg.conf

2013-12-22 Thread ken
On 12/22/2013 11:15 AM Ned Slider wrote:
 On 22/12/13 15:29, ken wrote:
 On 12/22/2013 07:46 AM Reindl Harald wrote:


 Am 22.12.2013 13:36, schrieb ken:
 What's the smoothest way to change the monitor on a system?  I've done
 this before and, aside from the initial cold boot (after unplugging the
 old monitor and plugging in the new one), it also took restarting X
 (gnome) several times to get the (new) monitor tuned correctly.

 The new (actually a bit old) monitor is an Acer P191W d.  It is a
 19-inch, LCD flat-screen.  Other specs:

 Aspect Ratio 16:10,
 Native Resolution 1440 x 900 at 75 Hz
 Pixel Pitch 0.284 mm

 Does anyone have an xorg.conf entry for this monitor and/or suggestions
 as to what a workable (or optimal) xorg.conf entry might be?

 CentOS 5 or CentOS 6?

5.



 Are you using any proprietary display drivers, or are you using the
 native Xorg drivers?

Just the native... at least to start out.



 Answers to these questions will affect your options.

 I'd back up any current xorg.conf file, plug it in and restart X and see
 what happens. If it's not to your liking try running your Xorg config
 utility (which can be different for different proprietary display drivers).

I did the restart X and see what happens thing for a different monitor 
a few months ago and it made a real mess of things.  So that's 
specifically what I'm trying to avoid this time... if I can.  Having a 
working xorg.conf, in my experience, is a better, cleaner way to go.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Serial Console Config in 6.5

2013-12-22 Thread SilverTip257
On Sun, Dec 22, 2013 at 2:15 PM, Michael Lampe
la...@gcsc.uni-frankfurt.dewrote:

 Camron W. Fox wrote:

  After upgrading from 6.4 to 6.5, our serial console configuration non
  longer work. We have the following upstart file: ...

 According to the comments in /etc/init/serial.conf you shouldn't have a
 /etc/init/ttyS0.conf or do anything to /etc/securetty. This is all
 handled automatically. You just add 'console=tty0 console=ttySX,YZ' to
 the kernel line in grub and that's it.


+1
-- passing serial params to the kernel in grub.conf should be all it takes
with the CentOS 6 initscripts

In the past I incorrectly configured both and they fought (caused a
feedback loop).  Tail /var/log/secure and you'll find invalid logins every
couple of seconds if you have this type of feedback loop. :)

In most of my cases, the feedback loop only seemed to begin when I
disconnected from the serial console (Serial over LAN).



 I did it like this a couple of days ago on 6.5. Works as advertised for
 me but I have never used a serial console before.


If you want Linux kernel boot output redirected to serial, the grub.conf
modifications are necessary.  BUT if you just want a getty listening once
the machine is fully booted, a separate serial initscript is worthwhile.



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




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


[CentOS] Amavisd start

2013-12-22 Thread Jussi Hirvi
This is CentOS 6. Why can it be that when I try to run
/etc/init.d/amavisd start
... I get this error:
Starting Mail Virus Scanner (amavisd): Config file /etc/amavisd.conf 
is inaccessible: Permission denied, at /usr/sbin/amavisd line 2085.
[FAILED]

But when I use sh:
sh /etc/init.d/amavisd start
...it starts ok.

This is connected to the fact that my amavisd.conf is from another 
machine (CentOS 5). If I replace amavisd.conf with the default conf 
(that came with yum install amavisd-new), the starting problem goes away.

I would like to debug this, but I don't know where to look.

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


Re: [CentOS] Amavisd start - SOLVED

2013-12-22 Thread Jussi Hirvi
This was connected with SELinux. I disabled SELinux and rebooted 
(naughty me), and things are back to normal.

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