[CentOS] upgrade of 32bit to 64 bit CentOS 5.7

2012-01-07 Thread Rob Kampen
Hi List, Early in dec I was forced to upgrade one of my server systems - initially built in 2004 on an intel server mb it finally failed. Under some time pressure, I replaced the mb etc with a 64 bit asus system and did a repair of the linux system upon reboot with a 64 bit DVD. As one can imagin

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Marko Vojinovic
On Saturday 07 January 2012 17:23:57 Bennett Haselton wrote: > [root@g6950-21025 ~]# ls -lZ /tmp/hostname_SKYSLICE.INFO > -rw-r--r-- apache apache system_u:object_r:file_t > /tmp/hostname_SKYSLICE.INFO > > Any ideas? What does # restorecon -v /tmp/hostname_SKYSLICE.INFO return? HTH, :-) Marko

Re: [CentOS] LUKS full disk Encryption question

2012-01-07 Thread Devin Reade
Ljubomir Ljubojevic wrote: > Hm, I forgot to mention that it would be for laptop. MSI VR601x, Celeron > 1.73 GHz (Single Core), 80 GB SATA, 2GB RAM, CentOS 6.2 x86_64, > encryption would be activated by Anaconda on ext4 partitions belonging > to LVM Volume Group. I had guessed that you were t

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Gordon Messmer
On 01/06/2012 01:36 AM, Bennett Haselton wrote: > So I still don't know: after creating /.autorelabel (and verifying that > it's there), and rebooting the system (and then verifying that the > /.autorelabel file has been deleted, which is supposed to mean the > auto-relabel actually happened), why

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Gordon Messmer
On 01/05/2012 01:36 PM, Bennett Haselton wrote: > http://wiki.centos.org/HowTos/SELinux > says: > "Access is only allowed between similar types, so Apache running as > httpd_t can read /var/www/html/index.html of type httpd_sys_content_t." > > however the doc doesn't define what "similar types" mea

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Bennett Haselton
On 1/7/2012 9:41 AM, Marko Vojinovic wrote: > On Saturday 07 January 2012 08:15:35 Bennett Haselton wrote: >> On 1/7/2012 6:50 AM, Marko Vojinovic wrote: >>> On Saturday 07 January 2012 05:39:15 Bennett Haselton wrote: Apparently the marketplace favors hosting companies turning SELinux of

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Bennett Haselton
On 1/7/2012 9:58 AM, John R. Dennison wrote: > On Sat, Jan 07, 2012 at 09:09:45AM -0800, Bennett Haselton wrote: >> OK, I followed the instructions at >> http://wiki.centos.org/HowTos/SELinux >> for re-labeling the filesystem and it did not work. Why not? Since you >> said you had "no issues" fig

Re: [CentOS] LUKS full disk Encryption question

2012-01-07 Thread Ljubomir Ljubojevic
On 01/08/2012 12:56 AM, Devin Reade wrote: > Ljubomir Ljubojevic wrote: > >> What will be the performance impact on my Celeron 1.73 GHz CPU and/or >> hdd speed? > > Well, the usual "it depends on your [exact] environment" is the real answer. > > However from a subjective perspective I've found tha

Re: [CentOS] LUKS full disk Encryption question

2012-01-07 Thread Devin Reade
Ljubomir Ljubojevic wrote: > What will be the performance impact on my Celeron 1.73 GHz CPU and/or > hdd speed? Well, the usual "it depends on your [exact] environment" is the real answer. However from a subjective perspective I've found that the only time that I've really noticed a performanc

[CentOS] LUKS full disk Encryption question

2012-01-07 Thread Ljubomir Ljubojevic
From RHEL docs: "The default implementation of LUKS in Red Hat Enterprise Linux is AES 128 with a SHA256 hashing. Ciphers that are available are: AES - Advanced Encryption Standard - FIPS PUB 197 Twofish (A 128-bit Block Cipher) Serpent cast5 - RFC 2144 cast6 - RFC 2612"

Re: [CentOS] sa-update error with perl

2012-01-07 Thread Johnny Hughes
On 01/07/2012 12:50 PM, email builder wrote: I don't know what is causing your specific issue ... whether you are getting something newer in sa-update than is designed to work with CentOS (sa-update bypasses the normal rpm type updates and does updates from elsewhere).

Re: [CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-07 Thread Alexander Dalloz
Am 07.01.2012 19:39, schrieb Les Mikesell: > Different setup, but might have the same answer: I'm trying to use a > VMware ESXi box to hold an assortment of images that could be fired up > quickly as backups of working machines. One of them happens to be a > windows box that needs audio for some

Re: [CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-07 Thread nux
Les Mikesell writes: > is there a better way to do remote audio in general, and specifically > for a windows guest that doesn't see a real audio device? Lol, this is starting to smell like winbl0ws forums. Way off-topic. Afaik you don't need any real audio device, then again I'm no windows expe

Re: [CentOS] Problems with AWUS036H usb wirless nic under CentOS 6.2

2012-01-07 Thread Ljubomir Ljubojevic
On 01/07/2012 06:23 PM, carlopmart wrote: > Hi all, > >I have problems with a wireless usb adapter (AWUS036H) under CentOS > 6.2 x86_64 machine. Sometimes, randomly, it loses wireless connection > and never back. I need to do an ifdown and then an ifup, but sometimes > works and sometimes not.

Re: [CentOS] sa-update error with perl

2012-01-07 Thread email builder
>>> I don't know what is causing your specific issue ... whether you >>> are >>> getting something newer in sa-update than is designed to work with >>> CentOS (sa-update bypasses the normal rpm type updates and does updates >>> from elsewhere).  It should only update rules, so maybe some of t

Re: [CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-07 Thread Les Mikesell
On Sat, Jan 7, 2012 at 11:31 AM, Lucian wrote: > > > Right now, at least with Windows vms, rdesktop is a way better way of > accessing the vm - it's fast, it let's you share directories, > clipboard sharing, sound etc. Spice will probably catch up with it > fast though, I hope. Also I have noticed

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread John R. Dennison
On Sat, Jan 07, 2012 at 09:09:45AM -0800, Bennett Haselton wrote: > > OK, I followed the instructions at > http://wiki.centos.org/HowTos/SELinux > for re-labeling the filesystem and it did not work. Why not? Since you > said you had "no issues" figuring it out. It "did not work" _how_? How di

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Marko Vojinovic
On Saturday 07 January 2012 08:15:35 Bennett Haselton wrote: > On 1/7/2012 6:50 AM, Marko Vojinovic wrote: > > On Saturday 07 January 2012 05:39:15 Bennett Haselton wrote: > >> Apparently the marketplace favors hosting companies turning SELinux > >> off > >> because the failures it causes are too o

Re: [CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-07 Thread Lucian
2012/1/7 Jorge Fábregas : > On 01/07/2012 06:05 AM, Lucian wrote: >> +1 for KVM/virt-manager/virtio. I need to look further into Spice, but >> now I use rdesktop which gives me file sharing and sound. > > I'm wondering about the difference between using rdesktop or spice to > connect to a VM on you

[CentOS] Problems with AWUS036H usb wirless nic under CentOS 6.2

2012-01-07 Thread carlopmart
Hi all, I have problems with a wireless usb adapter (AWUS036H) under CentOS 6.2 x86_64 machine. Sometimes, randomly, it loses wireless connection and never back. I need to do an ifdown and then an ifup, but sometimes works and sometimes not. If I am not wrong this adapter uses rtl8187 chip .

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Lamar Owen
On Saturday, January 07, 2012 11:15:35 AM Bennett Haselton wrote: > Hence the idea for having SELinux send messages to the terminal saying > "SELinux blocked such-and-such". There's probably some better way. Huh? CentOS has done this by default since CentOS 4. At least I see SELinux-generated

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Bennett Haselton
On 1/7/2012 6:19 AM, John R. Dennison wrote: > I'm truly sick of the "*cry* selinux makes things _hard_ *cry*" > whining from not only users but hosting providers and alleged > "administrators" that are, at the root of it, too lazy to figure out > how to properly use selinux and similar technolo

[CentOS] CentOS-announce Digest, Vol 83, Issue 3

2012-01-07 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..

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Bennett Haselton
On 1/7/2012 6:50 AM, Marko Vojinovic wrote: > On Saturday 07 January 2012 05:39:15 Bennett Haselton wrote: >> On 1/7/2012 5:25 AM, John R. Dennison wrote: >>> On Sat, Jan 07, 2012 at 04:43:31AM -0800, Bennett Haselton wrote: Virtually every hosting company I've ever bought a CentOS server from

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Les Mikesell
On Sat, Jan 7, 2012 at 8:19 AM, John R. Dennison wrote: > > I'm truly sick of the "*cry* selinux makes things _hard_ *cry*" > whining from not only users but hosting providers and alleged > "administrators" that are, at the root of it, too lazy to figure out how > to properly use selinux and simil

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Marko Vojinovic
On Saturday 07 January 2012 05:39:15 Bennett Haselton wrote: > On 1/7/2012 5:25 AM, John R. Dennison wrote: > > On Sat, Jan 07, 2012 at 04:43:31AM -0800, Bennett Haselton wrote: > >> Virtually every hosting company I've ever bought a CentOS server from > >> has had SELinux turned off by default. (

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread John R. Dennison
On Sat, Jan 07, 2012 at 05:39:15AM -0800, Bennett Haselton wrote: > > What you think people "should" know is a matter of opinion. However, > complaining about what people "should" know, usually doesn't do any > good, and that's an empirical fact, not an opinion. I'm not complaining. I'm point

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Bennett Haselton
On 1/7/2012 5:57 AM, Marko Vojinovic wrote: > On Saturday 07 January 2012 04:43:31 Bennett Haselton wrote: >> On 1/7/2012 4:16 AM, Marko Vojinovic wrote: >>> IMHO, if a hosting company does that sort of things (especially turning >>> off SELinux), I wouldn't touch them with a ten-foot pole. Who kno

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Marko Vojinovic
On Saturday 07 January 2012 04:43:31 Bennett Haselton wrote: > On 1/7/2012 4:16 AM, Marko Vojinovic wrote: > > IMHO, if a hosting company does that sort of things (especially turning > > off SELinux), I wouldn't touch them with a ten-foot pole. Who knows > > what else they might have customized, in

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Bennett Haselton
On 1/7/2012 5:25 AM, John R. Dennison wrote: > On Sat, Jan 07, 2012 at 04:43:31AM -0800, Bennett Haselton wrote: >> Virtually every hosting company I've ever bought a CentOS server from >> has had SELinux turned off by default. (So, a partial list would >> include FDCServers, Superb.net, SiteGenie

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread John R. Dennison
On Sat, Jan 07, 2012 at 04:43:31AM -0800, Bennett Haselton wrote: > > Virtually every hosting company I've ever bought a CentOS server from > has had SELinux turned off by default. (So, a partial list would > include FDCServers, Superb.net, SiteGenie, SecuredServers (ho, ho), > AeroVPS (sells

Re: [CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-07 Thread Jorge Fábregas
On 01/07/2012 06:05 AM, Lucian wrote: > +1 for KVM/virt-manager/virtio. I need to look further into Spice, but > now I use rdesktop which gives me file sharing and sound. I'm wondering about the difference between using rdesktop or spice to connect to a VM on your local machine (UI responsiveness,

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Bennett Haselton
On 1/7/2012 4:16 AM, Marko Vojinovic wrote: > On Friday 06 January 2012 18:27:05 Bennett Haselton wrote: >> On 1/6/2012 6:16 PM, RILINDO FOSTER wrote: >>> On Jan 6, 2012, at 10:35 AM, Bennett Haselton wrote: I'm pretty sure this machine was never "upgraded to CentOS 5.2", it was just

Re: [CentOS] SELinux and access across 'similar types'

2012-01-07 Thread Marko Vojinovic
On Friday 06 January 2012 18:27:05 Bennett Haselton wrote: > On 1/6/2012 6:16 PM, RILINDO FOSTER wrote: > > On Jan 6, 2012, at 10:35 AM, Bennett Haselton wrote: > >> I'm pretty sure this machine was never "upgraded to CentOS 5.2", it > >> was > >> just imaged with 5.7 when the hosting company set i

Re: [CentOS] Need help in writing a shell/bash script

2012-01-07 Thread ankush grover
Thanks supergiantpotato and Edo. Scripts worked for me. Thanks a lot :) On Sat, Dec 31, 2011 at 12:45 AM, wrote: > John R Pierce wrote: >> On 12/30/11 9:58 AM, Les Mikesell wrote: >>> Here's a perl approach: >> >> which, unlike all the other versions, doesn't require the data be >> pre-sorted,

Re: [CentOS] sa-update error with perl

2012-01-07 Thread Nicolas Thierry-Mieg
Le 06/01/2012 21:06, email builder wrote : >> I don't know what is causing your specific issue ... whether you are >> getting something newer in sa-update than is designed to work with >> CentOS (sa-update bypasses the normal rpm type updates and does updates >> from elsewhere). It should only u

Re: [CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-07 Thread Florian La Roche
On Fri, Jan 06, 2012 at 05:28:06PM -0500, Digimer wrote: > On 01/06/2012 05:17 PM, david wrote: > > Folks > > > > I have a new laptop running Centos 6.2 64-bit. I'd like to put a > > virtual machine running Windows 7 (licensed), with full audio/video > > functions, and good response. Which vir

Re: [CentOS] Advice sought: Virtual Win7 on Centos 6.2

2012-01-07 Thread Lucian
On 6 January 2012 22:28, Digimer wrote: > On 01/06/2012 05:17 PM, david wrote: >> Folks >> >> I have a new laptop running Centos 6.2 64-bit.  I'd like to put a >> virtual machine running Windows 7 (licensed), with full audio/video >> functions, and good response.  Which virtual system would you >>