From williamjr2011 at hotmail.com Sun Jan 2 05:36:08 2011 From: williamjr2011 at hotmail.com (William Junior) Date: Sat, 1 Jan 2011 23:36:08 -0600 Subject: [rhelv6-list] Modify (or replace) login screen Message-ID: As of yet I have found no way to change the login screen. Specifically I need to replace the background, insert a text message or graphic image, and remove the user chooser list. Under version 5 (and earlier) I was able to provide my own theme in /usr/share/gdm/themes and then easily select that theme. Any recommendations on how to do this? Regards, William -------------- next part -------------- An HTML attachment was scrubbed... URL: From amyagi at gmail.com Sun Jan 2 08:58:05 2011 From: amyagi at gmail.com (Akemi Yagi) Date: Sun, 2 Jan 2011 00:58:05 -0800 Subject: [rhelv6-list] Modify (or replace) login screen In-Reply-To: References: Message-ID: On Sat, Jan 1, 2011 at 9:36 PM, William Junior wrote: > As of yet I have found no way to change the login screen.? Specifically I > need to replace the background, insert a text message or graphic image, and > remove the user chooser list.? Under version 5 (and earlier) I was able to > provide my own theme in /usr/share/gdm/themes and then easily select that > theme.?? Any recommendations on how to do this? Regarding the "remove the user chooser list" part, this blog shows how: http://blog.toracat.org/2011/01/gnome-login-shows-all-valid-user-accounts-disable-it/ [ Just written for you ;-) ] Akemi From carlopmart at gmail.com Mon Jan 3 08:43:42 2011 From: carlopmart at gmail.com (carlopmart) Date: Mon, 03 Jan 2011 09:43:42 +0100 Subject: [rhelv6-list] Installing nvidia driver on a rhel6 laptop Message-ID: <4D218C3E.5080309@gmail.com> Hi all, Where can I find some good howto to install nvidia propietary driver (from nvidia.com or using elrepo.org) and disable nouveau driver onto rhel6 laptop?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com From amyagi at gmail.com Mon Jan 3 08:55:06 2011 From: amyagi at gmail.com (Akemi Yagi) Date: Mon, 3 Jan 2011 00:55:06 -0800 Subject: [rhelv6-list] Installing nvidia driver on a rhel6 laptop In-Reply-To: <4D218C3E.5080309@gmail.com> References: <4D218C3E.5080309@gmail.com> Message-ID: On Mon, Jan 3, 2011 at 12:43 AM, carlopmart wrote: > Hi all, > > ?Where can I find some good howto to install nvidia propietary driver (from > nvidia.com or using elrepo.org) and disable nouveau driver onto rhel6 > laptop?? The ELRepo package is working for me. It will disable the nouveau driver for you. Also, there is no need to reinstall for each kernel update. Akemi From phil at elrepo.org Mon Jan 3 09:41:11 2011 From: phil at elrepo.org (Phil Perry) Date: Mon, 03 Jan 2011 09:41:11 +0000 Subject: [rhelv6-list] Installing nvidia driver on a rhel6 laptop In-Reply-To: References: <4D218C3E.5080309@gmail.com> Message-ID: <4D2199B7.6020502@elrepo.org> On 03/01/11 08:55, Akemi Yagi wrote: > On Mon, Jan 3, 2011 at 12:43 AM, carlopmart wrote: >> Hi all, >> >> Where can I find some good howto to install nvidia propietary driver (from >> nvidia.com or using elrepo.org) and disable nouveau driver onto rhel6 >> laptop?? > > The ELRepo package is working for me. It will disable the nouveau > driver for you. Also, there is no need to reinstall for each kernel > update. > > Akemi > Yes, set up the elrepo repository for rhel6 as described here: http://elrepo.org then: yum --enablerepo=elrepo install kmod-nvidia and reboot your system. If you then want to re-enable plymouth graphical booting, see known issues at the bottom of this page: http://elrepo.org/tiki/kmod-nvidia Support is available on the elrepo mailing lists. Hope that helps. Phil From feldt at nhn.ou.edu Mon Jan 3 20:45:11 2011 From: feldt at nhn.ou.edu (Andy Feldt) Date: Mon, 03 Jan 2011 14:45:11 -0600 Subject: [rhelv6-list] Modify (or replace) login screen In-Reply-To: References: Message-ID: <1294087511.26840.28.camel@faramir> On Sat, 2011-01-01 at 23:36 -0600, William Junior wrote: > As of yet I have found no way to change the login screen. > Specifically I need to replace the background, insert a text message > or graphic image, and remove the user chooser list. Under version 5 > (and earlier) I was able to provide my own theme > in /usr/share/gdm/themes and then easily select that theme. Any > recommendations on how to do this? > > Regards, > William By my digging around, I have managed this via (the lines below may get wrapped, but are single lines after the prompt): # su -s /bin/sh gdm sh-3.2$ gconftool-2 --direct --config-source=xml:readwrite:$HOME/.gconf -t bool -s /apps/gdm/simple-greeter/disable_user_list true sh-3.2$ gconftool-2 --direct --config-source=xml:readwrite:$HOME/.gconf -t string -s /apps/gdm/simple-greeter/banner_message_text 'Your banner message' sh-3.2$ gconftool-2 --direct --config-source=xml:readwrite:$HOME/.gconf -t bool -s /apps/gdm/simple-greeter/banner_message_enable true and for the background image, you modify: /usr/share/backgrounds/default.xml to taste (you don't have to have timed images as it does if you do not wish to do so) From Werner.Maes at icts.kuleuven.be Tue Jan 4 17:12:47 2011 From: Werner.Maes at icts.kuleuven.be (Werner Maes) Date: Tue, 4 Jan 2011 18:12:47 +0100 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly Message-ID: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> Hello When I run yum -y update, the new kernel packages is downloaded and installed but grub.conf was not changed. I receive this error: Installing : kernel-2.6.32-71.7.1.el6.i686 47/104 grubby fatal error: unable to find a suitable template What's wrong? Kind regards Werner Maes From marco.shaw at gmail.com Tue Jan 4 17:34:42 2011 From: marco.shaw at gmail.com (Marco Shaw) Date: Tue, 4 Jan 2011 13:34:42 -0400 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> Message-ID: Have a read through this: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=28433&forum=44 Post your grub.conf if that doesn't help. Marco On Tue, Jan 4, 2011 at 1:12 PM, Werner Maes wrote: > Hello > > When I run yum -y update, the new kernel packages is downloaded and installed but grub.conf was not changed. > I receive this error: > > Installing ? ? : kernel-2.6.32-71.7.1.el6.i686 ? ? ? ? ? ? ? ? ? ? ? ? 47/104 > grubby fatal error: unable to find a suitable template > > What's wrong? > > Kind regards > > Werner Maes > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list > -- *Microsoft MVP - Windows PowerShell https://mvp.support.microsoft.com/profile/Marco.Shaw *Co-Author - Sams Windows PowerShell Unleashed 2nd Edition *Blog - http://marcoshaw.blogspot.com From jussi_rhel6 at silvennoinen.net Tue Jan 4 18:23:49 2011 From: jussi_rhel6 at silvennoinen.net (Jussi Silvennoinen) Date: Tue, 4 Jan 2011 20:23:49 +0200 (EET) Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> Message-ID: > Hello > > When I run yum -y update, the new kernel packages is downloaded and installed but grub.conf was not changed. > I receive this error: > > Installing : kernel-2.6.32-71.7.1.el6.i686 47/104 > grubby fatal error: unable to find a suitable template Is this rhnreg_ks during kickstart instead on yum -y update afterwards? In my case, I noticed Anaconda or whatever sets up /etc/mtab during install in such a manner that grubby is confused. So I "egrep '(\/sysimage |\/sysimage\/boot)' /etc/mtab | sed -r -e 's/\/mnt\/sysimage(\/)?/\//' /etc/mtab >/mnt/sysimage/etc/mtab" and run our Satellite registration chrooted to /mnt/sysimage. -- Jussi From t.h.amundsen at usit.uio.no Tue Jan 4 18:44:23 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Tue, 04 Jan 2011 19:44:23 +0100 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: (Jussi Silvennoinen's message of "Tue, 4 Jan 2011 20:23:49 +0200 (EET)") References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> Message-ID: <15toc7wfr08.fsf@tux.uio.no> Jussi Silvennoinen writes: >> When I run yum -y update, the new kernel packages is downloaded and installed but grub.conf was not changed. >> I receive this error: >> >> Installing : kernel-2.6.32-71.7.1.el6.i686 47/104 >> grubby fatal error: unable to find a suitable template > > Is this rhnreg_ks during kickstart instead on yum -y update afterwards? > In my case, I noticed Anaconda or whatever sets up /etc/mtab during > install in such a manner that grubby is confused. Indeed. This is an anaconda bug and there is a bugzilla for it: https://bugzilla.redhat.com/show_bug.cgi?id=657257 Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo From jjneely at ncsu.edu Tue Jan 4 20:07:10 2011 From: jjneely at ncsu.edu (Jack Neely) Date: Tue, 4 Jan 2011 15:07:10 -0500 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: <15toc7wfr08.fsf@tux.uio.no> References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> <15toc7wfr08.fsf@tux.uio.no> Message-ID: <20110104200710.GF23098@virge.linuxczar.net> On Tue, Jan 04, 2011 at 07:44:23PM +0100, Trond Hasle Amundsen wrote: > Jussi Silvennoinen writes: > > >> When I run yum -y update, the new kernel packages is downloaded and installed but grub.conf was not changed. > >> I receive this error: > >> > >> Installing : kernel-2.6.32-71.7.1.el6.i686 47/104 > >> grubby fatal error: unable to find a suitable template > > > > Is this rhnreg_ks during kickstart instead on yum -y update afterwards? > > In my case, I noticed Anaconda or whatever sets up /etc/mtab during > > install in such a manner that grubby is confused. > > Indeed. This is an anaconda bug and there is a bugzilla for it: > > https://bugzilla.redhat.com/show_bug.cgi?id=657257 > I filed https://bugzilla.redhat.com/show_bug.cgi?id=625216 during the RHEL 6 beta. Grubby would segfault. I think that these issues may be related. In any case, grubby was obviously changed...as it now doesn't segfault. But it looks like no one tested it from a %post. I could really, really use a fix here. Jack -- Jack Neely Linux Czar, OIT Campus Linux Services Office of Information Technology, NC State University GPG Fingerprint: 1917 5AC1 E828 9337 7AA4 EA6B 213B 765F 3B6A 5B89 From gsgatlin at ncsu.edu Tue Jan 4 20:11:31 2011 From: gsgatlin at ncsu.edu (Gary Gatling) Date: Tue, 4 Jan 2011 15:11:31 -0500 (EST) Subject: [rhelv6-list] new kernel is installed but grub was not updatedproperly In-Reply-To: References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> Message-ID: I think this might be related to this bug? https://bugzilla.redhat.com/show_bug.cgi?id=625216 I've been having to use sed instead of grubby as a temp workaround when adding kernel arguments to grub.conf in a kickstart install. Just until this gets fixed. Cheers, Gary Gatling | ITECS Systems On Tue, 4 Jan 2011, Jussi Silvennoinen wrote: >> Hello >> >> When I run yum -y update, the new kernel packages is downloaded and >> installed but grub.conf was not changed. >> I receive this error: >> >> Installing : kernel-2.6.32-71.7.1.el6.i686 >> 47/104 >> grubby fatal error: unable to find a suitable template > > Is this rhnreg_ks during kickstart instead on yum -y update afterwards? > In my case, I noticed Anaconda or whatever sets up /etc/mtab during install > in such a manner that grubby is confused. > > So I "egrep '(\/sysimage |\/sysimage\/boot)' /etc/mtab | sed -r -e > 's/\/mnt\/sysimage(\/)?/\//' /etc/mtab >/mnt/sysimage/etc/mtab" and run our > Satellite registration chrooted to /mnt/sysimage. > > -- > > Jussi > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list > From Tim.GOLLSCHEWSKY at suncorp.com.au Tue Jan 4 22:58:52 2011 From: Tim.GOLLSCHEWSKY at suncorp.com.au (GOLLSCHEWSKY, Tim) Date: Wed, 5 Jan 2011 08:58:52 +1000 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: <20110104200710.GF23098@virge.linuxczar.net> References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> <15toc7wfr08.fsf@tux.uio.no> <20110104200710.GF23098@virge.linuxczar.net> Message-ID: > > > > Indeed. This is an anaconda bug and there is a bugzilla for it: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=657257 > > > > I filed > > https://bugzilla.redhat.com/show_bug.cgi?id=625216 > > during the RHEL 6 beta. Grubby would segfault. I think that these > issues may be related. In any case, grubby was obviously changed...as > it now doesn't segfault. But it looks like no one tested it from a > %post. > > I could really, really use a fix here. There is a workaround mentioned in bug 657257 which worked for me. Put this in your postinstall before the yum update: ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root Regards. Tim. This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities "Suncorp". Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. From mike at linuxexam.com Wed Jan 5 16:51:17 2011 From: mike at linuxexam.com (MJang) Date: Wed, 05 Jan 2011 08:51:17 -0800 Subject: [rhelv6-list] Heavy laptop disk cycling? Message-ID: <1294246277.2647.17.camel@Maui> Folks, Just noticed that since I installed RHEL 6 back in Nov, my laptop hard disk (from a new T410) has gone through about 200,000 cycles, as confirmed by the smartctl -a /dev/sda command. (If I remember right, hard drives expire at around 600,000 cycles.) (In contrast, the oldest hard drive my server on which I installed RHEL 5 a year ago has gone through 228 cycles.) As this seems reminiscent of an Ubuntu 8.04 issue (ref https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695 ), I've been experimenting with different hdparm readahead settings without much success (yet). I don't see a Red Hat bug on the subject -- has anyone here seen one, or has gone through a similar issue? Thanks, Mike From alois at astro.ch Thu Jan 6 00:21:37 2011 From: alois at astro.ch (Alois Treindl) Date: Thu, 06 Jan 2011 01:21:37 +0100 Subject: [rhelv6-list] is there a way to use more than 16gb memory on 32bit RHEL6 Message-ID: <4D250B11.9080002@astro.ch> The memory limit for 32bit RHEL6 seems to be 16 Gb Is there a way to raise this limit to 32 gb, as I happen to have two machines with 32 gb? I have test instaell RHEL6 on one of sees, and it uses only 16 gb out of the available 32 gb. I know that I can use more memory if I switch to 64bit Linux. I would prefer to stay with 32bit, though, for software compatibility reasons. From delhage at gmail.com Thu Jan 6 00:41:29 2011 From: delhage at gmail.com (delhage at gmail.com) Date: Thu, 6 Jan 2011 01:41:29 +0100 Subject: [rhelv6-list] is there a way to use more than 16gb memory on 32bit RHEL6 In-Reply-To: <4D250B11.9080002@astro.ch> References: <4D250B11.9080002@astro.ch> Message-ID: On Thu, Jan 6, 2011 at 01:21, Alois Treindl wrote: > The memory limit for 32bit RHEL6 seems to be 16 Gb > > Is there a way to raise this limit to 32 gb, as I happen to have two > machines with 32 gb? > > I have test instaell RHEL6 on one of sees, and it uses only 16 gb out of the > available 32 gb. > 16GB is the support limit for x86, see http://www.redhat.com/rhel/compare > I know that I can use more memory if I switch to 64bit Linux. > I would prefer to stay with 32bit, though, for software compatibility > reasons. > You should really switch to 64-bit, and fix the "software compatibility reasons" instead. /Lars From solarflow99 at gmail.com Thu Jan 6 02:55:47 2011 From: solarflow99 at gmail.com (solarflow99) Date: Wed, 5 Jan 2011 21:55:47 -0500 Subject: [rhelv6-list] is there a way to use more than 16gb memory on 32bit RHEL6 In-Reply-To: <4D250B11.9080002@astro.ch> References: <4D250B11.9080002@astro.ch> Message-ID: you could consider running a 32 bit VM if you need the compatibility, as long as your app can run ok being virtualized. On Wed, Jan 5, 2011 at 7:21 PM, Alois Treindl wrote: > The memory limit for 32bit RHEL6 seems to be 16 Gb > > Is there a way to raise this limit to 32 gb, as I happen to have two > machines with 32 gb? > > I have test instaell RHEL6 on one of sees, and it uses only 16 gb out of the > available 32 gb. > > > I know that I can use more memory if I switch to 64bit Linux. > I would prefer to stay with 32bit, though, for software compatibility > reasons. > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list > From janfrode at tanso.net Thu Jan 6 07:58:34 2011 From: janfrode at tanso.net (Jan-Frode Myklebust) Date: Thu, 6 Jan 2011 08:58:34 +0100 Subject: [rhelv6-list] Heavy laptop disk cycling? In-Reply-To: <1294246277.2647.17.camel@Maui> References: <1294246277.2647.17.camel@Maui> Message-ID: <20110106075834.GA4987@oc1046828364.ibm.com> On Wed, Jan 05, 2011 at 08:51:17AM -0800, MJang wrote: > > Just noticed that since I installed RHEL 6 back in Nov, my laptop hard > disk (from a new T410) has gone through about 200,000 cycles, as > confirmed by the smartctl -a /dev/sda command. (If I remember right, > hard drives expire at around 600,000 cycles.) Just for datapoint.. my T400, installed with RHEL6 october 31. (was running fedora-13 before that, and RHEL5 before that), has only gone trough 290 power cycles: 9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 12661 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 290 I have disabled the "spin down hard disk" option in the power management preferences (it's an SSD, so there's nothing spinning anyway). -jf From Werner.Maes at icts.kuleuven.be Thu Jan 6 08:49:41 2011 From: Werner.Maes at icts.kuleuven.be (Werner Maes) Date: Thu, 6 Jan 2011 09:49:41 +0100 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> <15toc7wfr08.fsf@tux.uio.no> <20110104200710.GF23098@virge.linuxczar.net> Message-ID: <9F990792DAA5FF4F96FD0B95C9C44C0B0108816802BB@ICTS-S-EXC1-CA.luna.kuleuven.be> awk '{ if ($2 == "/") print $1; }' /etc/fstab in kickstart postinstall returns UUID=7a645002-36c7-4e39-bc32-c7051beda688 with ls -l /dev/disk/by-uuid lrwxrwxrwx 1 root root 10 Jan 5 12:35 7a645002-36c7-4e39-bc32-c7051beda688 -> ../../sda1 if I use " ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root", it still does not work. What am I doing wrong? Werner -----Original Message----- From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of GOLLSCHEWSKY, Tim Sent: dinsdag 4 januari 2011 11:59 To: 'Jack Neely'; 'rhelv6-list at redhat.com' Subject: Re: [rhelv6-list] new kernel is installed but grub was not updated properly > > > > Indeed. This is an anaconda bug and there is a bugzilla for it: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=657257 > > > > I filed > > https://bugzilla.redhat.com/show_bug.cgi?id=625216 > > during the RHEL 6 beta. Grubby would segfault. I think that these > issues may be related. In any case, grubby was obviously changed...as > it now doesn't segfault. But it looks like no one tested it from a > %post. > > I could really, really use a fix here. There is a workaround mentioned in bug 657257 which worked for me. Put this in your postinstall before the yum update: ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root Regards. Tim. This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities "Suncorp". Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list From Werner.Maes at icts.kuleuven.be Thu Jan 6 11:34:04 2011 From: Werner.Maes at icts.kuleuven.be (Werner Maes) Date: Thu, 6 Jan 2011 12:34:04 +0100 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: <9F990792DAA5FF4F96FD0B95C9C44C0B0108816802BB@ICTS-S-EXC1-CA.luna.kuleuven.be> References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> <15toc7wfr08.fsf@tux.uio.no> <20110104200710.GF23098@virge.linuxczar.net> <9F990792DAA5FF4F96FD0B95C9C44C0B0108816802BB@ICTS-S-EXC1-CA.luna.kuleuven.be> Message-ID: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680350@ICTS-S-EXC1-CA.luna.kuleuven.be> It works If I use ln -s /dev/sda1 /dev/root in /etc/fstab: UUID=f3b29a10-aed7-47d1-8410-5a2c3c2f4be4 / ext4 defaults 1 1 Why does the harddisk UUID appear in fstab? Kind regards Werner Maes -----Original Message----- From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Werner Maes Sent: donderdag 6 januari 2011 9:50 To: 'rhelv6-list at redhat.com' Subject: Re: [rhelv6-list] new kernel is installed but grub was not updated properly awk '{ if ($2 == "/") print $1; }' /etc/fstab in kickstart postinstall returns UUID=7a645002-36c7-4e39-bc32-c7051beda688 with ls -l /dev/disk/by-uuid lrwxrwxrwx 1 root root 10 Jan 5 12:35 7a645002-36c7-4e39-bc32-c7051beda688 -> ../../sda1 if I use " ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root", it still does not work. What am I doing wrong? Werner -----Original Message----- From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of GOLLSCHEWSKY, Tim Sent: dinsdag 4 januari 2011 11:59 To: 'Jack Neely'; 'rhelv6-list at redhat.com' Subject: Re: [rhelv6-list] new kernel is installed but grub was not updated properly > > > > Indeed. This is an anaconda bug and there is a bugzilla for it: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=657257 > > > > I filed > > https://bugzilla.redhat.com/show_bug.cgi?id=625216 > > during the RHEL 6 beta. Grubby would segfault. I think that these > issues may be related. In any case, grubby was obviously changed...as > it now doesn't segfault. But it looks like no one tested it from a > %post. > > I could really, really use a fix here. There is a workaround mentioned in bug 657257 which worked for me. Put this in your postinstall before the yum update: ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root Regards. Tim. This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities "Suncorp". Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list From john.haxby at gmail.com Thu Jan 6 12:47:59 2011 From: john.haxby at gmail.com (John Haxby) Date: Thu, 6 Jan 2011 12:47:59 +0000 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680350@ICTS-S-EXC1-CA.luna.kuleuven.be> References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> <15toc7wfr08.fsf@tux.uio.no> <20110104200710.GF23098@virge.linuxczar.net> <9F990792DAA5FF4F96FD0B95C9C44C0B0108816802BB@ICTS-S-EXC1-CA.luna.kuleuven.be> <9F990792DAA5FF4F96FD0B95C9C44C0B010881680350@ICTS-S-EXC1-CA.luna.kuleuven.be> Message-ID: On 6 January 2011 11:34, Werner Maes wrote: > > in /etc/fstab: > UUID=f3b29a10-aed7-47d1-8410-5a2c3c2f4be4 / ext4 > defaults 1 1 > Why does the harddisk UUID appear in fstab? > > Because the older LABEL=... is unreliable (especially when you have virtualised guests) and the even old /dev/sda1 (or whatever) is even more unreliable. jch -------------- next part -------------- An HTML attachment was scrubbed... URL: From gsgatlin at ncsu.edu Thu Jan 6 15:12:45 2011 From: gsgatlin at ncsu.edu (Gary Gatling) Date: Thu, 6 Jan 2011 10:12:45 -0500 (EST) Subject: [rhelv6-list] is there a way to use more than 16gb memory on 32bitRHEL6 In-Reply-To: <4D250B11.9080002@astro.ch> References: <4D250B11.9080002@astro.ch> Message-ID: You can also install 32 bit rpms on a 64 bit system to get mutilib compatibility. Its not done by default any longer but you can still install all or some of the 32 bit rpms so that 32 bit programs will work. I will need to do this when I upgrade my machines at home to RHEL 6 because I have some software that I run that can't be built as 64 bit. :( But some other software I use more gets a performace boost with a 64 bit system. So I just go with 64 bit install with as many 32 bit packages as possible. Then I can run everything. Cheers, Gary Gatling | ITECS Systems On Thu, 6 Jan 2011, Alois Treindl wrote: > The memory limit for 32bit RHEL6 seems to be 16 Gb > > Is there a way to raise this limit to 32 gb, as I happen to have two machines > with 32 gb? > > I have test instaell RHEL6 on one of sees, and it uses only 16 gb out of the > available 32 gb. > > > I know that I can use more memory if I switch to 64bit Linux. > I would prefer to stay with 32bit, though, for software compatibility > reasons. > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list > From csieh at fnal.gov Thu Jan 6 15:53:15 2011 From: csieh at fnal.gov (Connie Sieh) Date: Thu, 06 Jan 2011 09:53:15 -0600 (CST) Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> <15toc7wfr08.fsf@tux.uio.no> <20110104200710.GF23098@virge.linuxczar.net> <9F990792DAA5FF4F96FD0B95C9C44C0B0108816802BB@ICTS-S-EXC1-CA.luna.kuleuven.be> <9F990792DAA5FF4F96FD0B95C9C44C0B010881680350@ICTS-S-EXC1-CA.luna.kuleuven.be> Message-ID: On Thu, 6 Jan 2011, John Haxby wrote: > On 6 January 2011 11:34, Werner Maes wrote: > >> >> in /etc/fstab: >> UUID=f3b29a10-aed7-47d1-8410-5a2c3c2f4be4 / ext4 >> defaults 1 1 >> Why does the harddisk UUID appear in fstab? >> >> > Because the older LABEL=... is unreliable (especially when you have Why is the older LABEL= unreliable other than virtualised guests? > virtualised guests) and the even old /dev/sda1 (or whatever) is even more > unreliable. > > jch > -C Sieh From john.haxby at gmail.com Thu Jan 6 16:24:21 2011 From: john.haxby at gmail.com (John Haxby) Date: Thu, 6 Jan 2011 16:24:21 +0000 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be> <15toc7wfr08.fsf@tux.uio.no> <20110104200710.GF23098@virge.linuxczar.net> <9F990792DAA5FF4F96FD0B95C9C44C0B0108816802BB@ICTS-S-EXC1-CA.luna.kuleuven.be> <9F990792DAA5FF4F96FD0B95C9C44C0B010881680350@ICTS-S-EXC1-CA.luna.kuleuven.be> Message-ID: On 6 January 2011 15:53, Connie Sieh wrote: > > Why is the older LABEL= unreliable other than virtualised guests? > > > There are quite a few cases when you can wind up with two partitions somewhere with the same label. The most common case, and I suspect that the main reason for the change is when some guest creates and labels a file system on a whole virtual disk which is mapped to a single logical volume or sungle partition in the host. (Interestingly, there's probably nothing to stop a malicious guest creating a file system with a UUID that you're already using). Another common case, though, is when you move a disk from one system to another (for example, to recover data from a system whose cpu has gone up in smoke) and in thise case you're quite likely to have file systems with the same label (not to mention, until RHEL6, volume groups with the same name). jch -------------- next part -------------- An HTML attachment was scrubbed... URL: From David.Kinzel at encana.com Thu Jan 6 16:24:44 2011 From: David.Kinzel at encana.com (Kinzel, David) Date: Thu, 6 Jan 2011 09:24:44 -0700 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be><15toc7wfr08.fsf@tux.uio.no><20110104200710.GF23098@virge.linuxczar.net><9F990792DAA5FF4F96FD0B95C9C44C0B0108816802BB@ICTS-S-EXC1-CA.luna.kuleuven.be><9F990792DAA5FF4F96FD0B95C9C44C0B010881680350@ICTS-S-EXC1-CA.luna.kuleuven.be> Message-ID: >> On 6 January 2011 11:34, Werner Maes > wrote: >> >>> >>> in /etc/fstab: >>> UUID=f3b29a10-aed7-47d1-8410-5a2c3c2f4be4 / > ext4 >>> defaults 1 1 >>> Why does the harddisk UUID appear in fstab? >>> >>> >> Because the older LABEL=... is unreliable (especially when you have > >Why is the older LABEL= unreliable other than virtualised guests? > If you had local disks attached direct to VMs, and had LABEL=/ all over the place, for instance. >> virtualised guests) and the even old /dev/sda1 (or whatever) >is even more >> unreliable. >> >> jch >> > >-C Sieh > >_______________________________________________ >rhelv6-list mailing list >rhelv6-list at redhat.com >https://www.redhat.com/mailman/listinfo/rhelv6-list > This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only. Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited. If you receive this email in error, please contact the sender and delete this communication and any copies immediately. Thank you. http://www.encana.com From alois at astro.ch Thu Jan 6 16:34:04 2011 From: alois at astro.ch (Alois Treindl) Date: Thu, 06 Jan 2011 17:34:04 +0100 Subject: [rhelv6-list] Acrobat plugin and Flashplayer plugin for x86_64 firefox - how to? Message-ID: <4D25EEFC.2000008@astro.ch> How can I get Acrobat plugin and Flashplayer plugin to work in firefox on 64bit RHEL 6? I tried the instructions in http://www.if-not-true-then-false.com/2010/install-adobe-acrobat-pdf-reader-on-fedora-centos-red-hat-rhel/ but Firefox does not see these plugins. Acrobat Reader by itself works after this installation, but not as browser plugin. From gsgatlin at ncsu.edu Thu Jan 6 16:58:54 2011 From: gsgatlin at ncsu.edu (Gary Gatling) Date: Thu, 6 Jan 2011 11:58:54 -0500 (EST) Subject: [rhelv6-list] Acrobat plugin and Flashplayer plugin forx86_64firefox - how to? In-Reply-To: <4D25EEFC.2000008@astro.ch> References: <4D25EEFC.2000008@astro.ch> Message-ID: Hello, Currently I'm "cheating" with RHEL 6 because I'm using a 32 bit browser on a 64 bit OS to get flashplayer. But in the future I'll be switching to a different RHEL 6 setup. For that system I'll have to use the normal 64 bit firefox browser so I use what the users have. I plan on using the experimental 64 bit version of flash once I switch. I don't think there is an rpm (yet). Its in a tarball... The page explaining it is at: http://labs.adobe.com/technologies/flashplayer10/square/ The URL is: http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz I'm not sure about acrobat because I just use evince and it "just works." :) Maybe if you install the 32 bit rpms you can run the 32 bit version on a 64 bit system? Something like: rpm -qa | grep x86_64 | sed 's at x86_64@i686@' | xargs yum -y install as root to install the packages. Cheers, Gary Gatling | ITECS Systems ITECS, BOX 7901 | Operations and Systems Analyst NCSU, Raleigh, NC | Email: gsgatlin at ncsu.edu 27695-7901 | Phone: (919) 513-4572 (5C Page Hall) On Thu, 6 Jan 2011, Alois Treindl wrote: > How can I get Acrobat plugin and Flashplayer plugin to work in firefox on > 64bit RHEL 6? > > I tried the instructions in > http://www.if-not-true-then-false.com/2010/install-adobe-acrobat-pdf-reader-on-fedora-centos-red-hat-rhel/ > but Firefox does not see these plugins. > > Acrobat Reader by itself works after this installation, but not as browser > plugin. > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list > From wolfy at nobugconsulting.ro Thu Jan 6 17:11:08 2011 From: wolfy at nobugconsulting.ro (Manuel Wolfshant) Date: Thu, 06 Jan 2011 19:11:08 +0200 Subject: [rhelv6-list] Acrobat plugin and Flashplayer plugin forx86_64firefox - how to? In-Reply-To: References: <4D25EEFC.2000008@astro.ch> Message-ID: <4D25F7AC.50900@nobugconsulting.ro> On 01/06/2011 06:58 PM, Gary Gatling wrote: > > Hello, > > Currently I'm "cheating" with RHEL 6 because I'm using a 32 bit > browser on a 64 bit OS to get flashplayer. But in the future I'll be > switching to a different RHEL 6 setup. For that system I'll have to > use the normal 64 bit firefox browser so I use what the users have. I > plan on using the experimental 64 bit version of flash once I switch. > I don't think there is an rpm (yet). Its in a tarball... > > The page explaining it is at: > > http://labs.adobe.com/technologies/flashplayer10/square/ > > The URL is: > > http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz > > > I'm not sure about acrobat because I just use evince and it "just > works." :) > > Maybe if you install the 32 bit rpms you can run the 32 bit version on > a 64 bit system? > > Something like: > > rpm -qa | grep x86_64 | sed 's at x86_64@i686@' | xargs yum -y install > > as root to install the packages. > Use nspluginwrapper > Cheers, > > Gary Gatling | ITECS Systems > ITECS, BOX 7901 | Operations and Systems Analyst > NCSU, Raleigh, NC | Email: gsgatlin at ncsu.edu > 27695-7901 | Phone: (919) 513-4572 (5C Page Hall) > > On Thu, 6 Jan 2011, Alois Treindl wrote: > >> How can I get Acrobat plugin and Flashplayer plugin to work in >> firefox on 64bit RHEL 6? >> >> I tried the instructions in >> http://www.if-not-true-then-false.com/2010/install-adobe-acrobat-pdf-reader-on-fedora-centos-red-hat-rhel/ >> >> but Firefox does not see these plugins. >> >> Acrobat Reader by itself works after this installation, but not as >> browser plugin. >> >> _______________________________________________ >> rhelv6-list mailing list >> rhelv6-list at redhat.com >> https://www.redhat.com/mailman/listinfo/rhelv6-list >> > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list -- Manuel Wolfshant linux registered user #131416 IT manager NoBug Consulting SRL A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? From alois at astro.ch Thu Jan 6 18:25:24 2011 From: alois at astro.ch (Alois Treindl) Date: Thu, 06 Jan 2011 19:25:24 +0100 Subject: [rhelv6-list] Acrobat plugin and Flashplayer plugin forx86_64firefox - how to? In-Reply-To: <4D25F7AC.50900@nobugconsulting.ro> References: <4D25EEFC.2000008@astro.ch> <4D25F7AC.50900@nobugconsulting.ro> Message-ID: <4D260914.6070009@astro.ch> Can you please be specific and tell exactly what to do? Manuel Wolfshant wrote: > Use nspluginwrapper From alois at astro.ch Thu Jan 6 18:30:01 2011 From: alois at astro.ch (Alois Treindl) Date: Thu, 06 Jan 2011 19:30:01 +0100 Subject: [rhelv6-list] Acrobat plugin and Flashplayer plugin forx86_64firefox - how to? In-Reply-To: <4D25F7AC.50900@nobugconsulting.ro> References: <4D25EEFC.2000008@astro.ch> <4D25F7AC.50900@nobugconsulting.ro> Message-ID: <4D260A29.40800@astro.ch> How does one make evince work as browser plugin in firefox, to display a PDF within a browser window, like acrobat plugin does? Manuel Wolfshant wrote: >> I'm not sure about acrobat because I just use evince and it "just >> works." :) From alois at astro.ch Thu Jan 6 18:43:30 2011 From: alois at astro.ch (Alois Treindl) Date: Thu, 06 Jan 2011 19:43:30 +0100 Subject: [rhelv6-list] Acrobat plugin and Flashplayer plugin forx86_64firefox - how to? In-Reply-To: <4D260914.6070009@astro.ch> References: <4D25EEFC.2000008@astro.ch> <4D25F7AC.50900@nobugconsulting.ro> <4D260914.6070009@astro.ch> Message-ID: <4D260D52.5070909@astro.ch> Problem solved: yum install nspluginwrapper.i686 From wolfy at nobugconsulting.ro Thu Jan 6 19:49:42 2011 From: wolfy at nobugconsulting.ro (Manuel Wolfshant) Date: Thu, 06 Jan 2011 21:49:42 +0200 Subject: [rhelv6-list] Acrobat plugin and Flashplayer plugin forx86_64firefox - how to? In-Reply-To: <4D260D52.5070909@astro.ch> References: <4D25EEFC.2000008@astro.ch> <4D25F7AC.50900@nobugconsulting.ro> <4D260914.6070009@astro.ch> <4D260D52.5070909@astro.ch> Message-ID: <4D261CD6.6000409@nobugconsulting.ro> On 01/06/2011 08:43 PM, Alois Treindl wrote: > Problem solved: > yum install nspluginwrapper.i686 > http://www.fedorafaq.org/#flash > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list -- Manuel Wolfshant linux registered user #131416 IT manager NoBug Consulting SRL A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? From Werner.Maes at icts.kuleuven.be Fri Jan 7 13:04:18 2011 From: Werner.Maes at icts.kuleuven.be (Werner Maes) Date: Fri, 7 Jan 2011 14:04:18 +0100 Subject: [rhelv6-list] new kernel is installed but grub was not updated properly In-Reply-To: References: <9F990792DAA5FF4F96FD0B95C9C44C0B010881680035@ICTS-S-EXC1-CA.luna.kuleuven.be><15toc7wfr08.fsf@tux.uio.no><20110104200710.GF23098@virge.linuxczar.net><9F990792DAA5FF4F96FD0B95C9C44C0B0108816802BB@ICTS-S-EXC1-CA.luna.kuleuven.be><9F990792DAA5FF4F96FD0B95C9C44C0B010881680350@ICTS-S-EXC1-CA.luna.kuleuven.be> Message-ID: <9F990792DAA5FF4F96FD0B95C9C44C0B0108816804EB@ICTS-S-EXC1-CA.luna.kuleuven.be> Anyway This patch works for me (it is more general that the proposed solution- echo "patch rhel6" mp=$(grep -w "/" /etc/fstab | sed -e 's/ .*//') if echo "$mp" | grep "^UUID=" then uuid=$(echo "$mp" |sed 's/UUID=//') rootdisk=$(blkid -U $uuid) ln -vs $rootdisk /dev/root fi kind regards werner maes -----Original Message----- From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Kinzel, David Sent: donderdag 6 januari 2011 5:25 To: Connie Sieh; rhelv6-list at redhat.com Subject: Re: [rhelv6-list] new kernel is installed but grub was not updated properly >> On 6 January 2011 11:34, Werner Maes > wrote: >> >>> >>> in /etc/fstab: >>> UUID=f3b29a10-aed7-47d1-8410-5a2c3c2f4be4 / > ext4 >>> defaults 1 1 >>> Why does the harddisk UUID appear in fstab? >>> >>> >> Because the older LABEL=... is unreliable (especially when you have > >Why is the older LABEL= unreliable other than virtualised guests? > If you had local disks attached direct to VMs, and had LABEL=/ all over the place, for instance. >> virtualised guests) and the even old /dev/sda1 (or whatever) >is even more >> unreliable. >> >> jch >> > >-C Sieh > >_______________________________________________ >rhelv6-list mailing list >rhelv6-list at redhat.com >https://www.redhat.com/mailman/listinfo/rhelv6-list > This email communication and any files transmitted with it may contain confidential and or proprietary information and is provided for the use of the intended recipient only. Any review, retransmission or dissemination of this information by anyone other than the intended recipient is prohibited. If you receive this email in error, please contact the sender and delete this communication and any copies immediately. Thank you. http://www.encana.com _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list From rhelv6-list at feystorm.net Mon Jan 10 08:42:53 2011 From: rhelv6-list at feystorm.net (Patrick H.) Date: Mon, 10 Jan 2011 01:42:53 -0700 Subject: [rhelv6-list] IP load balancing Message-ID: <4D2AC68D.8080505@feystorm.net> So I just started setting up a RHEL6 box for use in a load balanced cluster and have run across a problem. The way you set up a virtual IP on the back end realhost side is to add an interface alias to the loopback device (such as lo:0). Well the ifup-eth script in RHEL6 refuses to add aliases to the loopback interface. Additionally if you try to add the alias to the real ethX device instead it fails because the arping check it does finds that the IP is already running on the IPVS director. So, how is one supposed to setup a realhost now? The difference from RHEL5 is that RHEL5 doesnt check to see if youre adding an alias to the loopback device or not. Why does RHEL6 even care about that anyway? Theres nothing wrong with it... (I posted this in the cluster mailing list but didnt get any response) From thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net Mon Jan 10 16:25:58 2011 From: thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net (Matthias Saou) Date: Mon, 10 Jan 2011 17:25:58 +0100 Subject: [rhelv6-list] IP load balancing In-Reply-To: <4D2AC68D.8080505@feystorm.net> References: <4D2AC68D.8080505@feystorm.net> Message-ID: <20110110172558.4aa76407@python3.es.aed.lan> Patrick H. wrote : > So I just started setting up a RHEL6 box for use in a load balanced > cluster and have run across a problem. The way you set up a virtual IP > on the back end realhost side is to add an interface alias to the > loopback device (such as lo:0). Well the ifup-eth script in RHEL6 > refuses to add aliases to the loopback interface. Additionally if you > try to add the alias to the real ethX device instead it fails because > the arping check it does finds that the IP is already running on the > IPVS director. > > So, how is one supposed to setup a realhost now? > The difference from RHEL5 is that RHEL5 doesnt check to see if youre > adding an alias to the loopback device or not. Why does RHEL6 even care > about that anyway? Theres nothing wrong with it... I've quickly tested a simple ifcfg-lo:0 like this and it works fine for me on RHEL6 : DEVICE=lo:0 IPADDR=10.0.0.1 NETMASK=255.255.255.255 Maybe you've been using a netmask which overlaps with some of the addresses configured on your eth interfaces : Don't do that for those "dummy" addresses. Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 14 (Laughlin) - Linux kernel 2.6.35.10-72.fc14.x86_64 Load : 0.01 0.04 0.11 From rhelv6-list at feystorm.net Mon Jan 10 16:52:41 2011 From: rhelv6-list at feystorm.net (Patrick H.) Date: Mon, 10 Jan 2011 09:52:41 -0700 Subject: [rhelv6-list] IP load balancing In-Reply-To: <20110110172558.4aa76407@python3.es.aed.lan> References: <4D2AC68D.8080505@feystorm.net> <20110110172558.4aa76407@python3.es.aed.lan> Message-ID: <4D2B3959.9090603@feystorm.net> Sent: Mon Jan 10 2011 09:25:58 GMT-0700 (Mountain Standard Time) From: Matthias Saou To: rhelv6-list at redhat.com Subject: Re: [rhelv6-list] IP load balancing > Patrick H. wrote : > > >> So I just started setting up a RHEL6 box for use in a load balanced >> cluster and have run across a problem. The way you set up a virtual IP >> on the back end realhost side is to add an interface alias to the >> loopback device (such as lo:0). Well the ifup-eth script in RHEL6 >> refuses to add aliases to the loopback interface. Additionally if you >> try to add the alias to the real ethX device instead it fails because >> the arping check it does finds that the IP is already running on the >> IPVS director. >> >> So, how is one supposed to setup a realhost now? >> The difference from RHEL5 is that RHEL5 doesnt check to see if youre >> adding an alias to the loopback device or not. Why does RHEL6 even care >> about that anyway? Theres nothing wrong with it... >> > > I've quickly tested a simple ifcfg-lo:0 like this and it works fine for > me on RHEL6 : > > DEVICE=lo:0 > IPADDR=10.0.0.1 > NETMASK=255.255.255.255 > > Maybe you've been using a netmask which overlaps with some of the > addresses configured on your eth interfaces : Don't do that for those > "dummy" addresses. > > Matthias > > I found the problem. I was attempting to `ifup lo:0` to bring up the specific interface. Apparently you can not do this anymore. You have to do `ifup lo` and let it bring up all aliases together. -Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at linuxexam.com Mon Jan 10 17:01:17 2011 From: mike at linuxexam.com (MJang) Date: Mon, 10 Jan 2011 09:01:17 -0800 Subject: [rhelv6-list] Heavy laptop disk cycling? In-Reply-To: <20110106075834.GA4987@oc1046828364.ibm.com> References: <1294246277.2647.17.camel@Maui> <20110106075834.GA4987@oc1046828364.ibm.com> Message-ID: <1294678877.31125.29.camel@Maui> On Thu, 2011-01-06 at 08:58 +0100, Jan-Frode Myklebust wrote: > On Wed, Jan 05, 2011 at 08:51:17AM -0800, MJang wrote: > > > > Just noticed that since I installed RHEL 6 back in Nov, my laptop hard > > disk (from a new T410) has gone through about 200,000 cycles, as > > confirmed by the smartctl -a /dev/sda command. (If I remember right, > > hard drives expire at around 600,000 cycles.) > > Just for datapoint.. my T400, installed with RHEL6 october 31. (was > running fedora-13 before that, and RHEL5 before that), has only gone > trough 290 power cycles: > > 9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 12661 > > 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 290 > > I have disabled the "spin down hard disk" option in the power > management preferences (it's an SSD, so there's nothing spinning > anyway). Appreciate the datapoint. FWIW, I've reported this as a bug at https://bugzilla.redhat.com/show_bug.cgi?id=667485 I gather opinions vary on whether one of the following commands is the better way to prevent the premature aging problem: hdparm -B 254 /dev/sda hdparm -B 200 /dev/sda I've since had to replace the hard drive, as it was spouting out lots of read error messages -- the damage was focused on the top-level root directory partition where RHEL 6 was installed. (the other partitions on my drive were fine) Thanks, Mike From mike at linuxexam.com Mon Jan 10 17:05:35 2011 From: mike at linuxexam.com (MJang) Date: Mon, 10 Jan 2011 09:05:35 -0800 Subject: [rhelv6-list] Fewer dependencies Message-ID: <1294679135.31125.33.camel@Maui> Folks, One thing I've noticed is the reduced number of dependencies in RHEL 6 RPM packages. For example, the following command: yum install system-config-printer-* does --not-- install the CUPS service as a dependency. More interesting -- in my installation tests (from memory), the selection of the Desktop package group does --not-- install the X Window System package group. I wonder if that's by design. Thanks, Mike From solarflow99 at gmail.com Mon Jan 10 17:40:16 2011 From: solarflow99 at gmail.com (solarflow99) Date: Mon, 10 Jan 2011 12:40:16 -0500 Subject: [rhelv6-list] Heavy laptop disk cycling? In-Reply-To: <1294678877.31125.29.camel@Maui> References: <1294246277.2647.17.camel@Maui> <20110106075834.GA4987@oc1046828364.ibm.com> <1294678877.31125.29.camel@Maui> Message-ID: On Mon, Jan 10, 2011 at 12:01 PM, MJang wrote: > On Thu, 2011-01-06 at 08:58 +0100, Jan-Frode Myklebust wrote: >> On Wed, Jan 05, 2011 at 08:51:17AM -0800, MJang wrote: >> > >> > Just noticed that since I installed RHEL 6 back in Nov, my laptop hard >> > disk (from a new T410) has gone through about 200,000 cycles, as >> > confirmed by the smartctl -a /dev/sda command. (If I remember right, >> > hard drives expire at around 600,000 cycles.) >> >> Just for datapoint.. my T400, installed with RHEL6 october 31. (was >> running fedora-13 before that, and RHEL5 before that), has only gone >> trough 290 power cycles: >> >> ? ? ? ? 9 Power_On_Hours ? ? ? ? ?0x0032 ? 097 ? 097 ? 000 ? ?Old_age Always ? ? ? - ? ? ? 12661 >> >> ? ? ? ?12 Power_Cycle_Count ? ? ? 0x0032 ? 099 ? 099 ? 000 ? ?Old_age Always ? ? ? - ? ? ? 290 >> >> I have disabled the "spin down hard disk" option in the power >> management preferences (it's an SSD, so there's nothing spinning >> anyway). > > Appreciate the datapoint. FWIW, I've reported this as a bug at > https://bugzilla.redhat.com/show_bug.cgi?id=667485 > > I gather opinions vary on whether one of the following commands is the > better way to prevent the premature aging problem: > > hdparm -B 254 /dev/sda > hdparm -B 200 /dev/sda > > I've since had to replace the hard drive, as it was spouting out lots of > read error messages -- the damage was focused on the top-level root > directory partition where RHEL 6 was installed. (the other partitions on > my drive were fine) Does the new drive show high cycles also? From mike at linuxexam.com Mon Jan 10 18:10:06 2011 From: mike at linuxexam.com (MJang) Date: Mon, 10 Jan 2011 10:10:06 -0800 Subject: [rhelv6-list] Heavy laptop disk cycling? In-Reply-To: References: <1294246277.2647.17.camel@Maui> <20110106075834.GA4987@oc1046828364.ibm.com> <1294678877.31125.29.camel@Maui> Message-ID: <1294683006.31125.42.camel@Maui> On Mon, 2011-01-10 at 12:40 -0500, solarflow99 wrote: > On Mon, Jan 10, 2011 at 12:01 PM, MJang wrote: > > On Thu, 2011-01-06 at 08:58 +0100, Jan-Frode Myklebust wrote: > >> On Wed, Jan 05, 2011 at 08:51:17AM -0800, MJang wrote: > >> > > >> > Just noticed that since I installed RHEL 6 back in Nov, my laptop hard > >> > disk (from a new T410) has gone through about 200,000 cycles, as > >> > confirmed by the smartctl -a /dev/sda command. (If I remember right, > >> > hard drives expire at around 600,000 cycles.) > >> > >> Just for datapoint.. my T400, installed with RHEL6 october 31. (was > >> running fedora-13 before that, and RHEL5 before that), has only gone > >> trough 290 power cycles: > >> > >> 9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 12661 > >> > >> 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 290 > >> > >> I have disabled the "spin down hard disk" option in the power > >> management preferences (it's an SSD, so there's nothing spinning > >> anyway). > > > > Appreciate the datapoint. FWIW, I've reported this as a bug at > > https://bugzilla.redhat.com/show_bug.cgi?id=667485 > > > > I gather opinions vary on whether one of the following commands is the > > better way to prevent the premature aging problem: > > > > hdparm -B 254 /dev/sda > > hdparm -B 200 /dev/sda > > > > I've since had to replace the hard drive, as it was spouting out lots of > > read error messages -- the damage was focused on the top-level root > > directory partition where RHEL 6 was installed. (the other partitions on > > my drive were fine) > > Does the new drive show high cycles also? Nope -- it's run about 200 cycles in the past 3 days, maybe 3 cycles/hr, which is acceptable on a laptop. (The related Ubuntu bug had a design solution goal of 15 cycles/hr.) One thing I forgot to add here is that it's the Load_Cycle_Count (item 193 in the output to smartctl -a /dev/sda) (25k cycles/yr is OK, AFAIK.) I currently have the following command in my /etc/rc.local /sbin/hdparm -B 200 /dev/sda at least until I figure out or remember where hdparm settings are normally configured. Thanks, Mike From neo3matrix at gmail.com Tue Jan 11 10:34:32 2011 From: neo3matrix at gmail.com (neo3 matrix) Date: Tue, 11 Jan 2011 16:04:32 +0530 Subject: [rhelv6-list] module load order changed in initramfs Message-ID: I have recently installed RHEL 6.0 GA. I want to find out what are the modules get loaded from initramfs image in RHEL 6. Upto RHEL 5, we can directly see "insmod" and "modprobe" calls and their sequences in "init" file from initrd.img. But now, in RHEL 6, initramfs doesn't have direct calls to "insmod" or "modprobe" inside init file. I walked through init script and also "grep"ed complete initramfs for insmod/modprobe, got very few of the module names then actual loaded modules. I even tried searching in /etc/rcX....., /etc/modprobe.d, etc.etc. Can anybody tell me what is the driver load order in RHEL 6 and how can I find it out? -------------- next part -------------- An HTML attachment was scrubbed... URL: From twaugh at redhat.com Tue Jan 11 11:03:59 2011 From: twaugh at redhat.com (Tim Waugh) Date: Tue, 11 Jan 2011 11:03:59 +0000 Subject: [rhelv6-list] Fewer dependencies In-Reply-To: <1294679135.31125.33.camel@Maui> References: <1294679135.31125.33.camel@Maui> Message-ID: <1294743839.3187.1.camel@worm.elk> On Mon, 2011-01-10 at 09:05 -0800, MJang wrote: > yum install system-config-printer-* > > does --not-- install the CUPS service as a dependency. In fact I don't think system-config-printer has ever directly required the CUPS service, as it can be used to configure remote CUPS servers and so does not technically require a local CUPS server. Tim. */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: This is a digitally signed message part URL: From jcm at redhat.com Tue Jan 11 11:05:32 2011 From: jcm at redhat.com (Jon Masters) Date: Tue, 11 Jan 2011 06:05:32 -0500 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: References: Message-ID: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> On Tue, 2011-01-11 at 16:04 +0530, neo3 matrix wrote: > Can anybody tell me what is the driver load order in RHEL 6 and how > can I find it out? Hello, Module loading for hardware devices in RHEL6 initramfs is determined by calls udev makes to modprobe, so in theory you will see very few as it's a standard script. The order of loading may change from RHEL5, but broadly follows the order in which the kernel enumerates devices. I specifically changed module load ordering in RHEL6 to remove the "parallel" loading approach taken in Fedora. That was cute for slight improvement in boot speed, but it undermined predictability. Therefore, the version of udev in RHEL6 will make *one call at a time*, and you should always see the same ordering on each boot. Can you let us know specifically what problem you are having? Possibly by filing a support case or opening a Bugzilla? Jon. From lfarkas at lfarkas.org Tue Jan 11 11:21:55 2011 From: lfarkas at lfarkas.org (Farkas Levente) Date: Tue, 11 Jan 2011 12:21:55 +0100 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> Message-ID: On Tue, Jan 11, 2011 at 12:05, Jon Masters wrote: > On Tue, 2011-01-11 at 16:04 +0530, neo3 matrix wrote: > >> Can anybody tell me what is the driver load order in RHEL 6 and how >> can I find it out? > > Hello, > > Module loading for hardware devices in RHEL6 initramfs is determined by > calls udev makes to modprobe, so in theory you will see very few as it's > a standard script. The order of loading may change from RHEL5, but > broadly follows the order in which the kernel enumerates devices. > > I specifically changed module load ordering in RHEL6 to remove the > "parallel" loading approach taken in Fedora. That was cute for slight > improvement in boot speed, but it undermined predictability. Therefore, > the version of udev in RHEL6 will make *one call at a time*, and you > should always see the same ordering on each boot. > > Can you let us know specifically what problem you are having? Possibly > by filing a support case or opening a Bugzilla? what's the current preferred mode to change the order? eg. for us sata_promise load before ahci which cause the on motherboard sata contorller's disk is loaded after the additional sata pci card's disk so sda become sde in some case. so we modify grub driverload=ata_piix driverload=ahci and run this on all machine ------------------------------------------- echo "PREMODS='$PREMODS ata_piix ahci'" > /etc/sysconfig/mkinitrd/sata_disk chmod +x /etc/sysconfig/mkinitrd/sata_disk /sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install `rpm -q --qf "%{version}-%{release}" kernel` ------------------------------------------- anyway none of the above documented by rh (at least we can't find it). regards. -- ? Levente? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? "Si vis pacem para bellum!" From tr.ml at gmx.de Tue Jan 11 11:29:33 2011 From: tr.ml at gmx.de (Rainer Traut) Date: Tue, 11 Jan 2011 12:29:33 +0100 Subject: [rhelv6-list] Fewer dependencies In-Reply-To: <1294679135.31125.33.camel@Maui> References: <1294679135.31125.33.camel@Maui> Message-ID: <4D2C3F1D.2020201@gmx.de> Am 10.01.2011 18:05, schrieb MJang: > Folks, > > One thing I've noticed is the reduced number of dependencies in RHEL 6 > RPM packages. For example, the following command: > > yum install system-config-printer-* > > does --not-- install the CUPS service as a dependency. > > More interesting -- in my installation tests (from memory), the > selection of the Desktop package group does --not-- install the X Window > System package group. > > I wonder if that's by design. Like the other answer to your mail, maybe because X is network usable, you do not need a local X server to use the desktop apps. So both missing dependencies may be by design. Regards Rainer From alois at astro.ch Tue Jan 11 14:04:32 2011 From: alois at astro.ch (Alois Treindl) Date: Tue, 11 Jan 2011 15:04:32 +0100 Subject: [rhelv6-list] mingrate sendmail to postfix In-Reply-To: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> Message-ID: <4D2C6370.1070800@astro.ch> My new RHEL 6 installation does not contain sendmail as a service, only postfix. Are there any instructions how to migrate a sendmail mail server installation to postfix? In my case, this includes in /etc/mail these configuration files sendmail.mc with settings for procmail, for rbl-plus.mail-abuse.org, for sbl.spamhaus.org, for avmilter etc Or can I continue to use sendmail as MTA on RHEL6. If yes, how to configure at kickstart install? From Greg_Swift at aotx.uscourts.gov Tue Jan 11 14:25:42 2011 From: Greg_Swift at aotx.uscourts.gov (Greg_Swift at aotx.uscourts.gov) Date: Tue, 11 Jan 2011 08:25:42 -0600 Subject: [rhelv6-list] mingrate sendmail to postfix In-Reply-To: <4D2C6370.1070800@astro.ch> References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> <4D2C6370.1070800@astro.ch> Message-ID: rhelv6-list-bounces at redhat.com wrote on 01/11/2011 08:04:32 AM: > Or can I continue to use sendmail as MTA on RHEL6. If yes, how to > configure at kickstart install? don't have a fix for how to configure postfix over sendmail other than research it. however if you want to use sendmail, sendmail and sendmail-cf are both in RHEL6, install them. What I'm not seeing, however is the old system-switch-mail that will do all the alternatives adjustments for you. It looks like its been deprecated in favor of direct use of the 'alternatives' application. http://linuxhelp.blogspot.com/2005/06/change-your-mail-transport-agent-mta.html or more directly: alternatives --config mta -greg From neo3matrix at gmail.com Tue Jan 11 14:30:11 2011 From: neo3matrix at gmail.com (neo3 matrix) Date: Tue, 11 Jan 2011 20:00:11 +0530 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> Message-ID: Hi Jon, Thank you very much for replying. The specific problem which I am facing is:- I am working on a Linux disaster recovery product where we used to restore the client to its original state after once we have a full backup of client. While restoring the client, we boot the client with minimum os image (actually with initramfs) . Now, to properly boot the client using initramfs, *we need to provide proper driver load order/sequence* to detect disks and other hardware, especially for SCSI devices. Upto RHEL5, we can easily get the drivers and their respective load order/sequence by just "grep"ing insmod or modprobe on the "init" script. In RHEL6, as per your comments, calls to modprobe made by udev decides driver loading order and we can see very few module names in standard script. So, my question is how can I get the modules list and their load order from initramfs? If not from initramfs, is there any other way to get it from a normal running system? This information is critical for me to provide proper drivers and their load order during restoration. Can you please give me some guidelines on this front? -- Neo On Tue, Jan 11, 2011 at 4:35 PM, Jon Masters wrote: > On Tue, 2011-01-11 at 16:04 +0530, neo3 matrix wrote: > > > Can anybody tell me what is the driver load order in RHEL 6 and how > > can I find it out? > > Hello, > > Module loading for hardware devices in RHEL6 initramfs is determined by > calls udev makes to modprobe, so in theory you will see very few as it's > a standard script. The order of loading may change from RHEL5, but > broadly follows the order in which the kernel enumerates devices. > > I specifically changed module load ordering in RHEL6 to remove the > "parallel" loading approach taken in Fedora. That was cute for slight > improvement in boot speed, but it undermined predictability. Therefore, > the version of udev in RHEL6 will make *one call at a time*, and you > should always see the same ordering on each boot. > > Can you let us know specifically what problem you are having? Possibly > by filing a support case or opening a Bugzilla? > > Jon. > > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at linuxexam.com Tue Jan 11 06:30:56 2011 From: mike at linuxexam.com (MJang) Date: Mon, 10 Jan 2011 22:30:56 -0800 Subject: [rhelv6-list] Fewer dependencies In-Reply-To: <4D2C3F1D.2020201@gmx.de> References: <1294679135.31125.33.camel@Maui> <4D2C3F1D.2020201@gmx.de> Message-ID: <1294727456.3268.1.camel@Maui> On Tue, 2011-01-11 at 12:29 +0100, Rainer Traut wrote: > Am 10.01.2011 18:05, schrieb MJang: > > Folks, > > > > One thing I've noticed is the reduced number of dependencies in RHEL 6 > > RPM packages. For example, the following command: > > > > yum install system-config-printer-* > > > > does --not-- install the CUPS service as a dependency. > > > > More interesting -- in my installation tests (from memory), the > > selection of the Desktop package group does --not-- install the X Window > > System package group. > > > > I wonder if that's by design. > > Like the other answer to your mail, maybe because X is network usable, > you do not need a local X server to use the desktop apps. > > So both missing dependencies may be by design. Thank you for helping me think it through. What the both of you are saying makes sense. Thanks, Mike From christian.masopust at siemens.com Tue Jan 11 14:44:47 2011 From: christian.masopust at siemens.com (Masopust, Christian) Date: Tue, 11 Jan 2011 15:44:47 +0100 Subject: [rhelv6-list] Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server Message-ID: Hi, I've recently installed a new (big) HP ProLiant DL585-G7 with RHEL 6 working as NFS-server. Now I've seen thousands of tcp-connections in TIME_WAIT state. I've already set net.ipv4.tcp_fin_timeout = 10, but the number of the connections in TIME_WAIT remains almost the same (also setting tcp_fin_timeout to 1 doesn't change anything here). Checking "netstat -tn" shows: Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State ...... tcp 0 0 127.0.0.1:47120 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:689 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46500 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46927 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46694 127.0.0.1:962 TIME_WAIT ....... and lsof for port 962 shows: lsof -i :962 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ypbind 46372 root 6u IPv4 444939 0t0 TCP *:962 (LISTEN) so, is it ypbind that is having that much (short lived) connections??? why?? or what else could be the reason for having that much local connections? any idea? thanks a lot, Christian From john.haxby at gmail.com Tue Jan 11 15:04:21 2011 From: john.haxby at gmail.com (John Haxby) Date: Tue, 11 Jan 2011 15:04:21 +0000 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> Message-ID: On 11 January 2011 14:30, neo3 matrix wrote: > > So, my question is how can I get the modules list and their load order from > initramfs? > If not from initramfs, is there any other way to get it from a normal > running system? > This information is critical for me to provide proper drivers and their > load order during restoration. > > I don't think that there is a specific load order: even if you could detect the order in which devices are discovered (and thereby the modules are loaded) there is no guarantee that it will be the same next time it is booted, or if it is the same, that it will be consistent across different machines (even identically configured different machines). > Can you please give me some guidelines on this front? I think you need a different approach. If you look at /etc/fstab on an RHEL6 system you'll see that file systems are either identified by a logical volume name or by a UID -- this is to get away from needing to know what file system is associated with which device (eg /dev/sda, /dev/sde, etc). Nothing in the boot sequence cares what the underlying device is called -- you can find out, after booting, that (say) UUID=42005eb1-fc91-4ee4-97f5-b453d3896ff0 is actually /dev/sda1. You might find the various /dev/disk/* directories useful for identifying disks by something less ephemeral than a device name -- /dev/disk/by-uuid is probably the best one. jch -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.haxby at gmail.com Tue Jan 11 15:06:25 2011 From: john.haxby at gmail.com (John Haxby) Date: Tue, 11 Jan 2011 15:06:25 +0000 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> Message-ID: On 11 January 2011 11:21, Farkas Levente wrote: > > what's the current preferred mode to change the order? > eg. for us sata_promise load before ahci which cause the on > motherboard sata contorller's disk is loaded after the additional sata > pci card's disk so sda become sde in some case. so we modify grub > driverload=ata_piix driverload=ahci > and run this on all machine > Probably the right thing to do is to stop depending on the device name and pick something that doesn't change, eg the file system uuid. -- Phear the Penguin -------------- next part -------------- An HTML attachment was scrubbed... URL: From lfarkas at lfarkas.org Tue Jan 11 15:22:15 2011 From: lfarkas at lfarkas.org (Farkas Levente) Date: Tue, 11 Jan 2011 16:22:15 +0100 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> Message-ID: <4D2C75A7.9090201@lfarkas.org> On 01/11/2011 04:06 PM, John Haxby wrote: > > > On 11 January 2011 11:21, Farkas Levente > wrote: > > > what's the current preferred mode to change the order? > eg. for us sata_promise load before ahci which cause the on > motherboard sata contorller's disk is loaded after the additional sata > pci card's disk so sda become sde in some case. so we modify grub > driverload=ata_piix driverload=ahci > and run this on all machine > > > > Probably the right thing to do is to stop depending on the device name > and pick something that doesn't change, eg the file system uuid. which you're not able to do during kickstart install since the filesystem not exist before the install, but still would like to use a "small" system disk and many bigger data disks... -- Levente "Si vis pacem para bellum!" From jcm at redhat.com Tue Jan 11 16:04:00 2011 From: jcm at redhat.com (Jon Masters) Date: Tue, 11 Jan 2011 11:04:00 -0500 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> Message-ID: <1294761840.18742.572.camel@constitution.bos.jonmasters.org> On Tue, 2011-01-11 at 15:04 +0000, John Haxby wrote: > On 11 January 2011 14:30, neo3 matrix wrote: > > So, my question is how can I get the modules list and their load > > order from initramfs? You don't :) Not directly. It requires the initramfs to actually be run and for the module loading to take place in reaction to the kernel detecting various devices. > > If not from initramfs, is there any other way to get it from a > > normal running system? I'm not sure whether you actually need to duplicate the ordering, or simply the list of modules that were loaded, and I'm still not really sure what you're trying to do. Is it that you're emulating the running system, or driving a system image under a virtual machine, and don't want to actually run any of the bits that came with it? (perhaps for some kind of forensics purpose in addition to disaster recovery?). > I don't think that there is a specific load order: even if you could > detect the order in which devices are discovered (and thereby the > modules are loaded) there is no guarantee that it will be the same > next time it is booted Yea, there is a reasonable expectation that it will be identical across same boots of the same system, running the same kernel build. We intentionally engineered that the system behave this way, in contrast to the way that Fedora will load many modules at the same time, racing. > or if it is the same, that it will be consistent across different > machines (even identically configured different machines). This is true. Even similar model numbers could have different hardware bus structures, and different detection ordering therefore. Jon. From KCollins at chevron.com Tue Jan 11 16:36:29 2011 From: KCollins at chevron.com (Collins, Kevin [BEELINE]) Date: Tue, 11 Jan 2011 08:36:29 -0800 Subject: [rhelv6-list] Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server In-Reply-To: References: Message-ID: <86E21A982A7C5249956350A6746108C2020AC9E8@CHVPKNTXC5M.chvpk.chevrontexaco.net> Port :962 is being connected to... you want to find out what is opening those connections. You could try using lsof on the source ports instead, although if you have very short lived processes it might be difficult. I don't have any RHEL6 with NIS (we use LDAP), so I can't comment on if it is "normal". I don't think it is behavior I have seen with NIS on previous versions or RHEL. Kevin -----Original Message----- From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Masopust, Christian Sent: Tuesday, January 11, 2011 6:45 AM To: 'rhelv6-list at redhat.com' Subject: [rhelv6-list] Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server Hi, I've recently installed a new (big) HP ProLiant DL585-G7 with RHEL 6 working as NFS-server. Now I've seen thousands of tcp-connections in TIME_WAIT state. I've already set net.ipv4.tcp_fin_timeout = 10, but the number of the connections in TIME_WAIT remains almost the same (also setting tcp_fin_timeout to 1 doesn't change anything here). Checking "netstat -tn" shows: Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State ...... tcp 0 0 127.0.0.1:47120 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:689 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46500 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46927 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46694 127.0.0.1:962 TIME_WAIT ....... and lsof for port 962 shows: lsof -i :962 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ypbind 46372 root 6u IPv4 444939 0t0 TCP *:962 (LISTEN) so, is it ypbind that is having that much (short lived) connections??? why?? or what else could be the reason for having that much local connections? any idea? thanks a lot, Christian _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list From john.haxby at gmail.com Tue Jan 11 19:39:16 2011 From: john.haxby at gmail.com (John Haxby) Date: Tue, 11 Jan 2011 19:39:16 +0000 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: <1294761840.18742.572.camel@constitution.bos.jonmasters.org> References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> <1294761840.18742.572.camel@constitution.bos.jonmasters.org> Message-ID: On 11 January 2011 16:04, Jon Masters wrote: > On Tue, 2011-01-11 at 15:04 +0000, John Haxby wrote:> I don't think that > there is a specific load order: even if you could > > detect the order in which devices are discovered (and thereby the > > modules are loaded) there is no guarantee that it will be the same > > next time it is booted > > Yea, there is a reasonable expectation that it will be identical across > same boots of the same system, running the same kernel build. We > intentionally engineered that the system behave this way, in contrast to > the way that Fedora will load many modules at the same time, racing. > > I wonder if this is where I got the idea that some machines don't have a predictable hardware discovery sequence? Or is there some hardware that doesn't have a predictable sequence? I know that adding and removing hardware can upset things royally and that hardware that suddenly springs to life while the system is running is also "interesting" but is there anything that really does vary from boot to boot? jch -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.masopust at siemens.com Tue Jan 11 20:26:20 2011 From: christian.masopust at siemens.com (Masopust, Christian) Date: Tue, 11 Jan 2011 21:26:20 +0100 Subject: [rhelv6-list] SOLVED: Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server In-Reply-To: <86E21A982A7C5249956350A6746108C2020AC9E8@CHVPKNTXC5M.chvpk.chevrontexaco.net> References: <86E21A982A7C5249956350A6746108C2020AC9E8@CHVPKNTXC5M.chvpk.chevrontexaco.net> Message-ID: Hi Kevin, thanks a lot for your answer. Indeed it was a "NIS-problem" that lead to that much short lived connections.... NFS's mountd is using netgroup from NIS, also hosts come from NIS... I've checked now the netgroups (have been created by the an admin that already left company :-)) and found that there are lots of nested netgroups, some netgroups used in /etc/exports are no longer existing and so on... I've now changed hosts and netgroup on my server to use only files and it works wonderful now !!! Again thanks a lot for pointing me in the right direction :-)) Christian -----Urspr?ngliche Nachricht----- Von: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] Im Auftrag von Collins, Kevin [BEELINE] Gesendet: Dienstag, 11. J?nner 2011 17:36 An: Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list Betreff: Re: [rhelv6-list] Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server Port :962 is being connected to... you want to find out what is opening those connections. You could try using lsof on the source ports instead, although if you have very short lived processes it might be difficult. I don't have any RHEL6 with NIS (we use LDAP), so I can't comment on if it is "normal". I don't think it is behavior I have seen with NIS on previous versions or RHEL. Kevin -----Original Message----- From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Masopust, Christian Sent: Tuesday, January 11, 2011 6:45 AM To: 'rhelv6-list at redhat.com' Subject: [rhelv6-list] Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server Hi, I've recently installed a new (big) HP ProLiant DL585-G7 with RHEL 6 working as NFS-server. Now I've seen thousands of tcp-connections in TIME_WAIT state. I've already set net.ipv4.tcp_fin_timeout = 10, but the number of the connections in TIME_WAIT remains almost the same (also setting tcp_fin_timeout to 1 doesn't change anything here). Checking "netstat -tn" shows: Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State ...... tcp 0 0 127.0.0.1:47120 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:689 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46500 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46927 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46694 127.0.0.1:962 TIME_WAIT ....... and lsof for port 962 shows: lsof -i :962 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ypbind 46372 root 6u IPv4 444939 0t0 TCP *:962 (LISTEN) so, is it ypbind that is having that much (short lived) connections??? why?? or what else could be the reason for having that much local connections? any idea? thanks a lot, Christian _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list From KCollins at chevron.com Tue Jan 11 20:27:59 2011 From: KCollins at chevron.com (Collins, Kevin [BEELINE]) Date: Tue, 11 Jan 2011 12:27:59 -0800 Subject: [rhelv6-list] SOLVED: Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server In-Reply-To: References: <86E21A982A7C5249956350A6746108C2020AC9E8@CHVPKNTXC5M.chvpk.chevrontexaco.net> Message-ID: <86E21A982A7C5249956350A6746108C2020ACA4D@CHVPKNTXC5M.chvpk.chevrontexaco.net> No problem - always happy to help on things like this. You might also want to investigate the use of nscd - it may help alleviate some of these problems, too. Kevin -----Original Message----- From: Masopust, Christian [mailto:christian.masopust at siemens.com] Sent: Tuesday, January 11, 2011 12:26 PM To: 'Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list' Cc: Collins, Kevin [BEELINE] Subject: SOLVED: Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server Hi Kevin, thanks a lot for your answer. Indeed it was a "NIS-problem" that lead to that much short lived connections.... NFS's mountd is using netgroup from NIS, also hosts come from NIS... I've checked now the netgroups (have been created by the an admin that already left company :-)) and found that there are lots of nested netgroups, some netgroups used in /etc/exports are no longer existing and so on... I've now changed hosts and netgroup on my server to use only files and it works wonderful now !!! Again thanks a lot for pointing me in the right direction :-)) Christian -----Urspr?ngliche Nachricht----- Von: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] Im Auftrag von Collins, Kevin [BEELINE] Gesendet: Dienstag, 11. J?nner 2011 17:36 An: Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list Betreff: Re: [rhelv6-list] Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server Port :962 is being connected to... you want to find out what is opening those connections. You could try using lsof on the source ports instead, although if you have very short lived processes it might be difficult. I don't have any RHEL6 with NIS (we use LDAP), so I can't comment on if it is "normal". I don't think it is behavior I have seen with NIS on previous versions or RHEL. Kevin -----Original Message----- From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Masopust, Christian Sent: Tuesday, January 11, 2011 6:45 AM To: 'rhelv6-list at redhat.com' Subject: [rhelv6-list] Lots of (thousands) tcp-connections in state TIME_WAIT on heavy load NFS-server Hi, I've recently installed a new (big) HP ProLiant DL585-G7 with RHEL 6 working as NFS-server. Now I've seen thousands of tcp-connections in TIME_WAIT state. I've already set net.ipv4.tcp_fin_timeout = 10, but the number of the connections in TIME_WAIT remains almost the same (also setting tcp_fin_timeout to 1 doesn't change anything here). Checking "netstat -tn" shows: Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State ...... tcp 0 0 127.0.0.1:47120 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:689 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46500 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46927 127.0.0.1:962 TIME_WAIT tcp 0 0 127.0.0.1:46694 127.0.0.1:962 TIME_WAIT ....... and lsof for port 962 shows: lsof -i :962 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ypbind 46372 root 6u IPv4 444939 0t0 TCP *:962 (LISTEN) so, is it ypbind that is having that much (short lived) connections??? why?? or what else could be the reason for having that much local connections? any idea? thanks a lot, Christian _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list From neo3matrix at gmail.com Wed Jan 12 06:58:32 2011 From: neo3matrix at gmail.com (neo3 matrix) Date: Wed, 12 Jan 2011 12:28:32 +0530 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> <1294761840.18742.572.camel@constitution.bos.jonmasters.org> Message-ID: Hi, Thanks for reply. You don't :) Not directly. It requires the initramfs to actually be run and for the module loading to take place in reaction to the kernel detecting various devices. Ok... So I understood that unlike RHEL5, I cannot get drivers and their load order just by digging initramfs without actually running it. Yea, there is a reasonable expectation that it will be identical across same boots of the same system, running the same kernel build. Yes, I am restoring the client image on same system, same hardware and using same kernel build. I'm not sure whether you actually need to duplicate the ordering, or simply the list of modules that were loaded, and I'm still not really sure what you're trying to do. I explain my problem in detail:- For an RHEL client, if the client gets crashed, then on the same system, same hardware and using same kernel build, we just restore the client to its original state with same OS level, with same initramfs. The driver load order I was talking about is, in case of RHEL5, I fire a command on initrd to get drivers and their load order as follows:- Command:if [ -e /etc/redhat-release ] ; then ext=".img" ; else ext="" ; fi ; kernel=`/bin/uname -r`; gunzip -c /boot/initrd-$kernel$ext 2>/dev/null | strings 2>/dev/null | grep -E "insmod /lib|^modprobe " 2>/dev/null | /usr/bin/awk '{ print $2 }' | /usr/bin/awk -F '/' '{ print $NF }' | /usr/bin/awk -F '.' '{ print $1 }' Output:- ehci-hcd ohci-hcd uhci-hcd jbd ext3 scsi_mod sd_mod scsi_transport_sas mptbase mptscsih mptsas shpchp libata ata_piix usb-storage dm-mem-cache dm-mod dm-log dm-region_hash dm-message dm-raid45 So, I can easily get the drivers and their load orders as listed above, which I used to save and pass it to the client while restoring the client using min os. This I cannot do with RHEL6 initramfs as their is no provision of getting drivers and their load order from initramfs on RHEl6. So, how can I get such type of drivers and their sequence specific to RHEL6? *Eventually, I just need to save the drivers and their load sequence from client while it was running fine, which I want to use during restoration time.* One more question:- Can I trust the list shown in "/proc/modules" file on the same client while it was working before crash? Should I follow top-to-bottom sequence showed in the /proc/modules file for the required sequence I am looking for? Thanks, Neo On Wed, Jan 12, 2011 at 1:09 AM, John Haxby wrote: > > > On 11 January 2011 16:04, Jon Masters wrote: > >> On Tue, 2011-01-11 at 15:04 +0000, John Haxby wrote:> I don't think that >> there is a specific load order: even if you could >> > detect the order in which devices are discovered (and thereby the >> > modules are loaded) there is no guarantee that it will be the same >> > next time it is booted >> >> Yea, there is a reasonable expectation that it will be identical across >> same boots of the same system, running the same kernel build. We >> intentionally engineered that the system behave this way, in contrast to >> the way that Fedora will load many modules at the same time, racing. >> >> > I wonder if this is where I got the idea that some machines don't have a > predictable hardware discovery sequence? Or is there some hardware that > doesn't have a predictable sequence? I know that adding and removing > hardware can upset things royally and that hardware that suddenly springs to > life while the system is running is also "interesting" but is there anything > that really does vary from boot to boot? > > jch > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcm at redhat.com Wed Jan 12 12:21:42 2011 From: jcm at redhat.com (Jon Masters) Date: Wed, 12 Jan 2011 07:21:42 -0500 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> <1294761840.18742.572.camel@constitution.bos.jonmasters.org> Message-ID: <1294834902.18742.641.camel@constitution.bos.jonmasters.org> On Wed, 2011-01-12 at 12:28 +0530, neo3 matrix wrote: > Thanks for reply. No problem. Could I ask that you preserve standard mail formatting convention by including a quoting character of some kind (in this case, I've used one ">" to indicate your message, and ">>" to indicate your quoting of my message, following standard convention. Gmail can do this for you, and in fact will do so in the default configuration. > > You don't :) Not directly. It requires the initramfs to actually be > > run and for the module loading to take place in reaction to the > > kernel detecting various devices. > Ok... So I understood that unlike RHEL5, I cannot get drivers and > their load order just by digging initramfs RHEL5 generates a static initrd that contains a module load order. If you add new hardware, and so forth, you need to rebuild the initrd because it is static. It's simple, and convenient, but it's not as flexible as RHEL6. RHEL6 uses a dynamic initramfs that contains many possible modules that might be loaded, and scripts that load them. It should be possible to use the same initramfs on other machines (depending upon the configuration of the "dracut" tool, whether in host only mode or not), and is much improved in many other ways. > > Yea, there is a reasonable expectation that it will be identical > > across same boots of the same system, running the same kernel build. > > Yes, I am restoring the client image on same system, same hardware and > using same kernel build. In this case, why not use the initramfs that was supplied? > So, I can easily get the drivers and their load orders as listed > above, which I used to save and pass it to the client while restoring > the client using min os. Sounds like you're using a totally different "mini distribution" of your own to do the restoration, and choosing the modules to load based upon those loaded in RHEL. btw, this only works if you are using a similar kernel, because if you're not, there's no guarantee that the modules will be the same, work the same way, or have the same dependencies. > This I cannot do with RHEL6 initramfs as their is no provision of > getting drivers and their load order from initramfs on RHEl6. > > So, how can I get such type of drivers and their sequence specific to > RHEL6? There are two possibilities: 1). (what I would do) Have your "mini OS" ship with an array of drivers, using a standard udev-based load environment, and let it load the appropriate drivers automatically, like RHEL-6 does. 2). Extract the list of modules included in the initramfs for RHEL6 and include all of those in your mini-OS. Load them as in "1", using udev. You could write a minimal alternative wherein you include all of these modules, then generate a modules.dep/modules.dep.bin and repeatedly call "modprobe -b" with the module alias detected from running various tools (again udev is the proper solution, but there are potential hacks). Taking the list from the running RHEL-6 system, before problems arise, as you say you are thinking about doing, will not be sufficient, unless you do it on every boot of the system (and even then), because there is no guarantee that additional drivers will not be loaded onto the system, that the hardware won't be changed between boots, or that the kernel was not upgraded to one that loaded a new or different module after reboot (this would occur between minor releases of the RHEL-6 product). I hope this helps. If you need further assistance, I suggest contacting our GSS (support) and filing a ticket, or GES (consultancy group). Jon. From thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net Wed Jan 12 13:22:25 2011 From: thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net (Matthias Saou) Date: Wed, 12 Jan 2011 14:22:25 +0100 Subject: [rhelv6-list] IPv6 adoption with RHEL6 (and GNU/Linux in general) Message-ID: <20110112142225.686624cf@python3.es.aed.lan> Hi, Every once in a while, someone important comes up with a scary story about IPv4 space exhaustion. So far so good, raising awareness about this issue is positive. Then people get all hyped up about IPv6. Cool, lots of techies and geeks like me love toying with new things, and IPv6 is not too hard to understand nor implement. But then everyone realizes that IPv6 will only be really useful once everyone has it and everyone is reachable from any IPv6-only connected host. This leads to two possible behaviors : * One just thinks "I'll look at IPv6 once everyone else already has, since there is no point in doing it sooner." * Or one thinks "I'll implement new IPv6 networks on top of our existing IPv4 networks, get it all dual-stacked, and hopefully contribute to bootstraping the whole IPv6 adoption." I'm from that second group. I've learned what I need to know about IPv6 and did quite a bit of testing. But I've never managed to get IPv6 into production on any of the infrastructures I manage. Why? ip6tables doesn't support NAT. It's that simple. I know the reasons for the lack of NAT support, which are given over and over again. But here is my real world issue with them : All of the networks I manage have at least one or more points where multiple hosts are connected with a single network interface to a network which is not routed to the outside, but translated instead. Some other hosts have two interfaces and are connected to both this private/internal network and to another where they have routable IPv4 addresses. Given the above : * It would be trivial to define a 1:1 mapping between existing IPv4 networks and new IPv6 networks (both routable and private) *IF* I could just copy and slightly adapt all iptables rules to ip6tables rules. * It is *NOT* trivial to rethink the entire network topology in order to have all hosts with IPv6 and no NAT at all : IPv6 routing is needed where no IPv4 routing was present (only translation), and existing hosts which were previously unreachable from the Internet would become reachable by default through IPv6, creating new annoyances such as ssh hammering, requiring inbound filtering where none was previously needed. My personal conclusion is that while netfilter developers have a point in not wanting to implement NAT for IPv6 in order to get a cleaner and more routable Internet, sys/netadmins like me relying heavily on GNU/Linux would have deployed IPv6 already if easy 1:1 scenarios for typical infrastructures were available. I'd be curious to know what others think of this, read experiences, from the Enterprise side. Did you already deploy IPv6 on existing RHEL-based infrastructures? Onto new infrastructures? How do you deal with existing IPv4 NAT situations? Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 14 (Laughlin) - Linux kernel 2.6.35.10-72.fc14.x86_64 Load : 0.00 0.04 0.13 From RJM002 at shsu.edu Wed Jan 12 13:46:23 2011 From: RJM002 at shsu.edu (Marti, Robert) Date: Wed, 12 Jan 2011 07:46:23 -0600 Subject: [rhelv6-list] IPv6 adoption with RHEL6 (and GNU/Linux in general) In-Reply-To: <20110112142225.686624cf@python3.es.aed.lan> References: <20110112142225.686624cf@python3.es.aed.lan> Message-ID: You could still use 4 for private networks that aren't going to connect out to somewhere, but that likely doesn't solve your problem. Your example is probably why people aren't rushing to adopt - lots of people NAT and doing away with that requires a lot of network design work. Sent from my iPhone On Jan 12, 2011, at 7:27 AM, "Matthias Saou" wrote: > Hi, > > Every once in a while, someone important comes up with a scary story > about IPv4 space exhaustion. So far so good, raising awareness about > this issue is positive. > > Then people get all hyped up about IPv6. Cool, lots of techies and > geeks like me love toying with new things, and IPv6 is not too hard to > understand nor implement. > > But then everyone realizes that IPv6 will only be really useful once > everyone has it and everyone is reachable from any IPv6-only connected > host. This leads to two possible behaviors : > > * One just thinks "I'll look at IPv6 once everyone else already has, > since there is no point in doing it sooner." > * Or one thinks "I'll implement new IPv6 networks on top of our > existing IPv4 networks, get it all dual-stacked, and hopefully > contribute to bootstraping the whole IPv6 adoption." > > I'm from that second group. I've learned what I need to know about > IPv6 and did quite a bit of testing. But I've never managed to get IPv6 > into production on any of the infrastructures I manage. > > Why? ip6tables doesn't support NAT. It's that simple. > > I know the reasons for the lack of NAT support, which are given over and > over again. But here is my real world issue with them : > All of the networks I manage have at least one or more points where > multiple hosts are connected with a single network interface to a > network which is not routed to the outside, but translated instead. > Some other hosts have two interfaces and are connected to both this > private/internal network and to another where they have routable IPv4 > addresses. > > Given the above : > * It would be trivial to define a 1:1 mapping between existing IPv4 > networks and new IPv6 networks (both routable and private) *IF* I > could just copy and slightly adapt all iptables rules to ip6tables > rules. > * It is *NOT* trivial to rethink the entire network topology in order > to have all hosts with IPv6 and no NAT at all : IPv6 routing is > needed where no IPv4 routing was present (only translation), and > existing hosts which were previously unreachable from the Internet > would become reachable by default through IPv6, creating new > annoyances such as ssh hammering, requiring inbound filtering where > none was previously needed. > > My personal conclusion is that while netfilter developers have a point > in not wanting to implement NAT for IPv6 in order to get a cleaner and > more routable Internet, sys/netadmins like me relying heavily on > GNU/Linux would have deployed IPv6 already if easy 1:1 scenarios for > typical infrastructures were available. > > I'd be curious to know what others think of this, read experiences, from > the Enterprise side. Did you already deploy IPv6 on existing RHEL-based > infrastructures? Onto new infrastructures? How do you deal with > existing IPv4 NAT situations? > > Matthias > > -- > Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ > Fedora release 14 (Laughlin) - Linux kernel 2.6.35.10-72.fc14.x86_64 > Load : 0.00 0.04 0.13 > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list From jfranz at freerun.com Wed Jan 12 13:59:32 2011 From: jfranz at freerun.com (Benjamin Franz) Date: Wed, 12 Jan 2011 05:59:32 -0800 Subject: [rhelv6-list] IPv6 adoption with RHEL6 (and GNU/Linux in general) In-Reply-To: <20110112142225.686624cf@python3.es.aed.lan> References: <20110112142225.686624cf@python3.es.aed.lan> Message-ID: <4D2DB3C4.9010702@freerun.com> On 01/12/2011 05:22 AM, Matthias Saou wrote: > I know the reasons for the lack of NAT support, which are given over and > over again. But here is my real world issue with them : > All of the networks I manage have at least one or more points where > multiple hosts are connected with a single network interface to a > network which is not routed to the outside, but translated instead. > Some other hosts have two interfaces and are connected to both this > private/internal network and to another where they have routable IPv4 > addresses. So carve up your IPv6 allocation into chunks for your previously private subnets, setup routes for them, and firewall off incoming connections to the private ones at your router/firewalls. You have no shortage of spare IPs when you get a IPv6 allocation. I'm not getting the issue. All you lose is the many real ips hidden behind one public ip effect. They still reach the internet, they can still be grouped together, they can still be made unreachable from the broader world by your firewalls. What doesn't it do that you need? -- Benjamin Franz From jiml at mail.slh.wisc.edu Wed Jan 12 18:23:27 2011 From: jiml at mail.slh.wisc.edu (Leinweber, James) Date: Wed, 12 Jan 2011 12:23:27 -0600 Subject: [rhelv6-list] IPv6 adoption with RHEL6 (and GNU/Linux in general) Message-ID: <1298E81544388440ADBE9B0072AABD8109126E66@slhmail2003.ad.slh.wisc.edu> Matthias Saou: > ... scary story about IPv4 space exhaustion... Personally, I'm predicting the IPocalypse for 2013. IANA runs out of IPv4 /8's next month, most RIR's including ARIN and APNIC are projecting to be out in H2 2011. For APNIC "out" means only allocating /22's, so complete exhaustion may be a ways out yet, but customers who don't want to do lots of NAT will be out of luck. Here in the US the 4G phone rollouts from T-mobile, Verizon etc. are already dual-stack-lite, meaning IPv6-mostly. (Native IPv6, carrier NAT44). Google, Facebook, and CNN are v6-enabled, more or less. ISOC just declared June 8th to be "world IPv6 test day". I figure in 2013 about 15% of the internet will be IPv6-only, mostly in India, China, and mobile stuff. Probably 2015 before v6 is widespread, 2017 before it's 99% of traffic, and 2020 before the tier-1 ISP's declare a flag day and turn off IPv4 routing. Note that an IPv6-only router has about 1/18th the load of a dual-stack v4+v6 router, so while there was no incentive to deploy IPv6 historically, there is a very strong incentive to get rid of IPv4 transit (except tunneled) once v6 is common. I don't see the last IPv4 device disappearing until 2036 or so, giving v4 an impressive 55 year run as a network technology. I suggest avoid v6 prior to windows 7 SP1, redhat 6, summer's Mac OS-X 10.7 "lion", etc. The lesson of NANOG 42's IPv6 hour is that dual-stack-something on new software is the way to go; older software and v6-only would be a support nightmare. Note that Android and iOS are already v6-enabled, so the smartphones will be knocking on the door of your web servers via v6 any year now. > ... ip6tables doesn't support NAT. It's worse than ip6tables, the IAB and IETF hate NAT, refuse to define NAT66, and Really Want to return to the end-to-end transparency of the 1980's as their v6 model. See e.g. RFC-5902 from July 2010 for their most recent thinking. NAT64 (e.g. draft-IVI) isn't good for much beyond HTTP, and NAT46 is defunct (you can't fake DNS A for AAAA servers reliably at internet scale). So for 2012-2015 I expect the world to belong to 6rd (tunneled v6 over v4 from your broadband modem to your ISP) and dual-stack-lite (native v6 with carrier NAT44). The v6 transition is going to be like the transition from analog to digital TV: a little messy, a lot confusing, and new subscriber equipment all around. NAT fans who are faced with rolling out v6 should probably be looking at RFC-4193 unique local addresses (format FD+40 random+16 subnet+64 host bits) to meet their private / unroutable address needs. None of this helps Matthias's topology dilemma, alas. Some of us have it easier - I currently only have 1 layer of internal routing, so if I add v6 subnets on my firewalls, I'm good. I've already got my 2607:f388:1084::/48 divied up and routed externally, so I'm getting closer to production v6. -- Jim Leinweber State Laboratory of Hygiene, University of Wisconsin - Madison 2810 Walton Commons West; phone +1 608 221 6281 PGP fp: 2E36 47BC DB03 57CE 86AD 19CC 41A1 9179 5C6B C8B9 From thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net Wed Jan 12 19:04:18 2011 From: thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net (Matthias Saou) Date: Wed, 12 Jan 2011 20:04:18 +0100 Subject: [rhelv6-list] IPv6 adoption with RHEL6 (and GNU/Linux in general) In-Reply-To: <4D2DB3C4.9010702@freerun.com> References: <20110112142225.686624cf@python3.es.aed.lan> <4D2DB3C4.9010702@freerun.com> Message-ID: <20110112200418.28633363@python3.es.aed.lan> Benjamin Franz wrote : > On 01/12/2011 05:22 AM, Matthias Saou wrote: > > I know the reasons for the lack of NAT support, which are given over and > > over again. But here is my real world issue with them : > > All of the networks I manage have at least one or more points where > > multiple hosts are connected with a single network interface to a > > network which is not routed to the outside, but translated instead. > > Some other hosts have two interfaces and are connected to both this > > private/internal network and to another where they have routable IPv4 > > addresses. > > So carve up your IPv6 allocation into chunks for your previously private > subnets, setup routes for them, and firewall off incoming connections to > the private ones at your router/firewalls. You have no shortage of spare > IPs when you get a IPv6 allocation. > > I'm not getting the issue. All you lose is the many real ips hidden > behind one public ip effect. They still reach the internet, they can > still be grouped together, they can still be made unreachable from the > broader world by your firewalls. What doesn't it do that you need? The change you suggest implies routing an IPv6 network (the one for the private IPv4 hosts) behind the IPv6 address of another network (the one where the IPv4 NAT host is). This means that local routing is required where there was none before, and you also need to start filtering some inbound forwarded traffic where you didn't need to before. Hence my rant about a 1:1 mapping of both IPv4 and IPv6 stacks on a very typical network layout not being possible. Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 14 (Laughlin) - Linux kernel 2.6.35.10-72.fc14.x86_64 Load : 0.06 0.41 0.60 From thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net Wed Jan 12 19:18:21 2011 From: thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net (Matthias Saou) Date: Wed, 12 Jan 2011 20:18:21 +0100 Subject: [rhelv6-list] IPv6 adoption with RHEL6 (and GNU/Linux in general) In-Reply-To: <1298E81544388440ADBE9B0072AABD8109126E66@slhmail2003.ad.slh.wisc.edu> References: <1298E81544388440ADBE9B0072AABD8109126E66@slhmail2003.ad.slh.wisc.edu> Message-ID: <20110112201821.139045c6@python3.es.aed.lan> Leinweber, James wrote : [...] > It's worse than ip6tables, the IAB and IETF hate NAT, refuse > to define NAT66, and Really Want to return to the end-to-end > transparency of the 1980's as their v6 model. See e.g. > RFC-5902 from July 2010 for their most recent thinking. Very interesting read, thanks for the pointer. [...] > NAT fans who are faced with rolling out v6 should probably > be looking at RFC-4193 unique local addresses (format > FD+40 random+16 subnet+64 host bits) to meet their > private / unroutable address needs. I've got a bunch of OpenVPN links with OSPF deployed on top them to interconnect many remote locations in a private and redundant way (think WAN database interconnections etc.), so I'll definitely be using networks from the fc00::/7 space for that. > None of this helps Matthias's topology dilemma, alas. Some > of us have it easier - I currently only have 1 layer of > internal routing, so if I add v6 subnets on my firewalls, > I'm good. I've already got my 2607:f388:1084::/48 divied > up and routed externally, so I'm getting closer to production v6. I'll hopefully be lucky enough to build a new infrastructure from scratch soon, and want to implement IPv6 from day one. My biggest problems is that my large scale IPv6 experience is non-existing (on network gear with BGP, with Quagga, with VRRP, etc.), meaning that there will be lots of trial and error for that setup. It's clear to me that not all companies feel this is worth the effort as of now. Thanks for sharing all of your thoughts and experience, much appreciated! Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 14 (Laughlin) - Linux kernel 2.6.35.10-72.fc14.x86_64 Load : 0.00 0.09 0.37 From alois at astro.ch Wed Jan 12 21:34:35 2011 From: alois at astro.ch (Alois Treindl) Date: Wed, 12 Jan 2011 22:34:35 +0100 Subject: [rhelv6-list] mingrate sendmail to postfix In-Reply-To: References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> <4D2C6370.1070800@astro.ch> Message-ID: <4D2E1E6B.8060203@astro.ch> Thanks, I also have found out shortly after asking my question that yum install sendmail does the job. On 11.01.11 15:25, Greg_Swift at aotx.uscourts.gov wrote: > > > rhelv6-list-bounces at redhat.com wrote on 01/11/2011 08:04:32 AM: > >> Or can I continue to use sendmail as MTA on RHEL6. If yes, how to >> configure at kickstart install? > > don't have a fix for how to configure postfix over sendmail other than > research it. > > however if you want to use sendmail, sendmail and sendmail-cf are both in > RHEL6, install them. What I'm not seeing, however is the old > system-switch-mail that will do all the alternatives adjustments for you. > It looks like its been deprecated in favor of direct use of the > 'alternatives' application. > > http://linuxhelp.blogspot.com/2005/06/change-your-mail-transport-agent-mta.html > > or more directly: > > alternatives --config mta > > > -greg > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list From alois at astro.ch Wed Jan 12 21:41:05 2011 From: alois at astro.ch (Alois Treindl) Date: Wed, 12 Jan 2011 22:41:05 +0100 Subject: [rhelv6-list] vnc how to get gnome session login? Message-ID: <4D2E1FF1.3000906@astro.ch> I am tryiong to configure vnc on a new RHEL6 system. Like on RHEL 5 systems I adminster I set it up as a service via xinetd. My xinetd.d entry /etc/xinetd.d/vnc says service vnc { disable = no socket_type = stream protocol = tcp group = tty wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd :2 -query localhost -geometry 1200x900 -depth 16 -fp /usr/share/X11/fonts/misc/ -securitytypes=none flags = REUSE } and in /etc/services I define service vnc as vnc 5901/tcp When I connect to the vnc service, I get a black empty x11 root window, but nothing visible on it. What I would like to get is a gnome login On my RHEL5 systems where I have basically the same setup but also a confuration for xdmcp for X-terminals I get a login screen for a full gnome session with vnc. What do I have to do to get the same on RHEL 6 ? From KCollins at chevron.com Thu Jan 13 00:34:58 2011 From: KCollins at chevron.com (Collins, Kevin [BEELINE]) Date: Wed, 12 Jan 2011 16:34:58 -0800 Subject: [rhelv6-list] vnc how to get gnome session login? In-Reply-To: <4D2E1FF1.3000906@astro.ch> References: <4D2E1FF1.3000906@astro.ch> Message-ID: <86E21A982A7C5249956350A6746108C2020ACBD5@CHVPKNTXC5M.chvpk.chevrontexaco.net> You are running your service as "nobody", and the howm dir for nobody is "/". The VNC server process needs to write to $HOME/.vnc to start. I used to do this a long time ago, so I don't remember for certain, but you may need to create a /.vnc directory and make it writable by nobody... Or, it may be that you need to make sure /etc/vnc/xstartup is correctly defined to start your X desktop session appropriately. Also, if it isn't, you may need to remove (or edit) the /.vnc/xstartup file (copied from /etc/vnc on initial start of Xvnc). Hope that helps. Kevin -----Original Message----- From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Alois Treindl Sent: Wednesday, January 12, 2011 1:41 PM To: Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list Subject: [rhelv6-list] vnc how to get gnome session login? I am tryiong to configure vnc on a new RHEL6 system. Like on RHEL 5 systems I adminster I set it up as a service via xinetd. My xinetd.d entry /etc/xinetd.d/vnc says service vnc { disable = no socket_type = stream protocol = tcp group = tty wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd :2 -query localhost -geometry 1200x900 -depth 16 -fp /usr/share/X11/fonts/misc/ -securitytypes=none flags = REUSE } and in /etc/services I define service vnc as vnc 5901/tcp When I connect to the vnc service, I get a black empty x11 root window, but nothing visible on it. What I would like to get is a gnome login On my RHEL5 systems where I have basically the same setup but also a confuration for xdmcp for X-terminals I get a login screen for a full gnome session with vnc. What do I have to do to get the same on RHEL 6 ? _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list From colin.coe at gmail.com Thu Jan 13 04:05:12 2011 From: colin.coe at gmail.com (Colin Coe) Date: Thu, 13 Jan 2011 12:05:12 +0800 Subject: [rhelv6-list] virt-v2v Message-ID: Hi all I'm doing testing on KVM to make sure we're happy to move away from Xen on RHEL5. One of the things that really interests me is virt-v2v. I've a dev xen server with all its guests on local storage. I want to "import" those guests onto KVM with a shared iSCSI SAN. The problem I'm having is with the pool. virt-v2v seems not to like using iSCSI. Has anyone got this working? If I say to use the default pool, it starts to write the guest image to /var/lib/libvirt/images/ but thats not what I want. virt-v2v -ic xen+ssh://root at xen_server -op default --bridge br641 guest.server Any ideas? CC -- RHCE#805007969328369 From thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net Thu Jan 13 12:40:12 2011 From: thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net (Matthias Saou) Date: Thu, 13 Jan 2011 13:40:12 +0100 Subject: [rhelv6-list] Production multi-homed BGP4 routing with RHEL Message-ID: <20110113134012.7afb0ada@python3.es.aed.lan> Hi, I was wondering if anyone has RHEL running to route multi-homed networks using BGP4 in production? Does using RHEL+Quagga work well to receive full Internet IPv4 and IPv6 routing tables as well as route multi-Gbps local traffic to the outside? I've always done this with dedicated network gear, but I've always been very happy with Quagga and small routing setups. I don't have the ability to easily test the above scenario, so I'd really be interested in hearing from anyone who might have. Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 14 (Laughlin) - Linux kernel 2.6.35.10-72.fc14.x86_64 Load : 0.04 0.03 0.09 From Andreas.Reschke at behrgroup.com Fri Jan 14 11:09:06 2011 From: Andreas.Reschke at behrgroup.com (Andreas Reschke) Date: Fri, 14 Jan 2011 12:09:06 +0100 Subject: [rhelv6-list] Question to /var/run/nm-dhclient-eth0.conf Message-ID: Hello, I'm using Red Hat 6 (up2date) on my laptop. Sometimes i must use Windows with vmplayer located on the laptop. The samba configuration on Red Hat works fine. I don't want to use the ip-adress of the laptop, so I added send dhcp-client-identifier "st00ni0029"; to the /var/run/nm-dhclient-eth0.conf. nslookup from windows can't find my hostname. What's wrong with my configuration? Gru? Andreas Reschke Unix/Linux-Administration Andreas.Reschke at behrgroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruprech at jilau1.colorado.edu Fri Jan 14 18:01:20 2011 From: ruprech at jilau1.colorado.edu (Peter Ruprecht) Date: Fri, 14 Jan 2011 11:01:20 -0700 Subject: [rhelv6-list] routing/interface question Message-ID: <4D308F70.3090205@jilau1.colorado.edu> Hi everyone, I think I'm seeing a difference in behavior between RHEL 5 and 6 on how packets get routed between different subnets on different network interfaces. Say I have a dual-homed host, with each interface connected to a different physical class C subnet. The routing table looks like: # netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 128.138.140.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 128.138.107.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1 0.0.0.0 128.138.107.1 0.0.0.0 UG 0 0 0 eth0 In RHEL5, if I ping the host's 128.138.140.X address from a machine on the 128.138.107. subnet, I can use tcpdump to see the icmp request coming in on eth1, and the reply going out on eth0. The host is not doing forwarding; that is, there's a 0 in /proc/sys/net/ipv4/ip_forward. Now, with what I think is exactly the same setup on a RHEL 6 host, I can see the incoming icmp packet on eth1, but there's no reply at all, on any interface. Similarly for an incoming ssh request, for example. If I ping the host's 128.138.140.X address from a machine on the 128.138.140. subnet, then I see both the request and reply as expected on eth1. And if I ping the host's 128.138.107.X address from a machine on the 128.138.107. subnet, then I see both the request and reply as expected on eth0. iptables is not running. Does anyone know if there's a way to get RHEL 6 to give me the behavior I'm used to with RHEL 5? That is, how can I ping the interface on the "other" subnet and actually get a reply? Thanks, Peter Ruprecht From KCollins at chevron.com Fri Jan 14 18:16:17 2011 From: KCollins at chevron.com (Collins, Kevin [BEELINE]) Date: Fri, 14 Jan 2011 10:16:17 -0800 Subject: [rhelv6-list] Question to /var/run/nm-dhclient-eth0.conf In-Reply-To: References: Message-ID: <86E21A982A7C5249956350A6746108C2020ACD63@CHVPKNTXC5M.chvpk.chevrontexaco.net> I believe that setting is used only to ID the DHCP client with the DHCP server, which has nothing at all to do with nslookup (which is for querying DNS). In order for nslookup to work, your DHCP server(s) need to be configured for DNS auto-updates, and your DNS server(s) need to be configured to allow auto-updates from the DHCP servers. Kevin From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list-bounces at redhat.com] On Behalf Of Andreas Reschke Sent: Friday, January 14, 2011 3:09 AM To: rhelv6-list at redhat.com Subject: [rhelv6-list] Question to /var/run/nm-dhclient-eth0.conf Hello, I'm using Red Hat 6 (up2date) on my laptop. Sometimes i must use Windows with vmplayer located on the laptop. The samba configuration on Red Hat works fine. I don't want to use the ip-adress of the laptop, so I added send dhcp-client-identifier "st00ni0029"; to the /var/run/nm-dhclient-eth0.conf. nslookup from windows can't find my hostname. What's wrong with my configuration? Gru? Andreas Reschke Unix/Linux-Administration Andreas.Reschke at behrgroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From npanderson at ups.com Fri Jan 14 18:46:32 2011 From: npanderson at ups.com (npanderson at ups.com) Date: Fri, 14 Jan 2011 13:46:32 -0500 Subject: [rhelv6-list] routing/interface question In-Reply-To: <4D308F70.3090205@jilau1.colorado.edu> References: <4D308F70.3090205@jilau1.colorado.edu> Message-ID: <73D647F4AA7D6F45A9F463D0A52A2E48021AB62924@gaalpsvr03ce.us.ups.com> Have you looked at /etc/sysctl.conf net.ipv4.conf.default.rp_filter rp_filter - BOOLEAN 1 - do source validation by reversed path, as specified in RFC1812 Recommended option for single homed hosts and stub network routers. Could cause troubles for complicated (not loop free) networks running a slow unreliable protocol (sort of RIP), or using static routes. 0 - No source validation. conf/all/rp_filter must also be set to TRUE to do source validation on the interface Default value is 0. Note that some distributions enable it in startup scripts. I believe RHEL5 defaults to 0, but check if it's set by default now. Nathan Anderson Automation Systems Group UPS 502.247.1268 > -----Original Message----- > From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list- > bounces at redhat.com] On Behalf Of Peter Ruprecht > Sent: Friday, January 14, 2011 1:01 PM > To: rhelv6-list at redhat.com > Subject: [rhelv6-list] routing/interface question > > Hi everyone, > > I think I'm seeing a difference in behavior between RHEL 5 and 6 on how > packets get routed between different subnets on different network > interfaces. Say I have a dual-homed host, with each interface connected > to a different physical class C subnet. The routing table looks like: > > # netstat -rn > Kernel IP routing table > Destination Gateway Genmask Flags MSS Window irtt > Iface > 128.138.140.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth1 > 128.138.107.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth0 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 > eth0 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 > eth1 > 0.0.0.0 128.138.107.1 0.0.0.0 UG 0 0 0 > eth0 > > In RHEL5, if I ping the host's 128.138.140.X address from a machine on > the 128.138.107. subnet, I can use tcpdump to see the icmp request > coming in on eth1, and the reply going out on eth0. The host is not > doing forwarding; that is, there's a 0 in /proc/sys/net/ipv4/ip_forward. > > Now, with what I think is exactly the same setup on a RHEL 6 host, I can > see the incoming icmp packet on eth1, but there's no reply at all, on > any interface. Similarly for an incoming ssh request, for example. If > I ping the host's 128.138.140.X address from a machine on the > 128.138.140. subnet, then I see both the request and reply as expected > on eth1. And if I ping the host's 128.138.107.X address from a machine > on the 128.138.107. subnet, then I see both the request and reply as > expected on eth0. iptables is not running. > > Does anyone know if there's a way to get RHEL 6 to give me the behavior > I'm used to with RHEL 5? That is, how can I ping the interface on the > "other" subnet and actually get a reply? > > Thanks, > Peter Ruprecht > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list From ruprech at jilau1.colorado.edu Fri Jan 14 19:56:43 2011 From: ruprech at jilau1.colorado.edu (Peter Ruprecht) Date: Fri, 14 Jan 2011 12:56:43 -0700 Subject: [rhelv6-list] routing/interface question In-Reply-To: <73D647F4AA7D6F45A9F463D0A52A2E48021AB62924@gaalpsvr03ce.us.ups.com> References: <4D308F70.3090205@jilau1.colorado.edu> <73D647F4AA7D6F45A9F463D0A52A2E48021AB62924@gaalpsvr03ce.us.ups.com> Message-ID: <4D30AA7B.1050708@jilau1.colorado.edu> Actually, rp_filter is set in both cases: # sysctl net/ipv4/conf/default/rp_filter net.ipv4.conf.default.rp_filter = 1 Resetting it to 0 on the RHEL6 box didn't seem to make any difference. Thanks, Peter npanderson at ups.com wrote: > Have you looked at /etc/sysctl.conf > > net.ipv4.conf.default.rp_filter > > rp_filter - BOOLEAN > 1 - do source validation by reversed path, as specified in RFC1812 > Recommended option for single homed hosts and stub network > routers. Could cause troubles for complicated (not loop free) > networks running a slow unreliable protocol (sort of RIP), > or using static routes. > > 0 - No source validation. > > conf/all/rp_filter must also be set to TRUE to do source validation > on the interface > > Default value is 0. Note that some distributions enable it > in startup scripts. > > I believe RHEL5 defaults to 0, but check if it's set by default now. > > Nathan Anderson > Automation Systems Group > UPS > 502.247.1268 > > >> -----Original Message----- >> From: rhelv6-list-bounces at redhat.com [mailto:rhelv6-list- >> bounces at redhat.com] On Behalf Of Peter Ruprecht >> Sent: Friday, January 14, 2011 1:01 PM >> To: rhelv6-list at redhat.com >> Subject: [rhelv6-list] routing/interface question >> >> Hi everyone, >> >> I think I'm seeing a difference in behavior between RHEL 5 and 6 on how >> packets get routed between different subnets on different network >> interfaces. Say I have a dual-homed host, with each interface connected >> to a different physical class C subnet. The routing table looks like: >> >> # netstat -rn >> Kernel IP routing table >> Destination Gateway Genmask Flags MSS Window irtt >> Iface >> 128.138.140.0 0.0.0.0 255.255.255.0 U 0 0 0 >> eth1 >> 128.138.107.0 0.0.0.0 255.255.255.0 U 0 0 0 >> eth0 >> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 >> eth0 >> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 >> eth1 >> 0.0.0.0 128.138.107.1 0.0.0.0 UG 0 0 0 >> eth0 >> >> In RHEL5, if I ping the host's 128.138.140.X address from a machine on >> the 128.138.107. subnet, I can use tcpdump to see the icmp request >> coming in on eth1, and the reply going out on eth0. The host is not >> doing forwarding; that is, there's a 0 in /proc/sys/net/ipv4/ip_forward. >> >> Now, with what I think is exactly the same setup on a RHEL 6 host, I can >> see the incoming icmp packet on eth1, but there's no reply at all, on >> any interface. Similarly for an incoming ssh request, for example. If >> I ping the host's 128.138.140.X address from a machine on the >> 128.138.140. subnet, then I see both the request and reply as expected >> on eth1. And if I ping the host's 128.138.107.X address from a machine >> on the 128.138.107. subnet, then I see both the request and reply as >> expected on eth0. iptables is not running. >> >> Does anyone know if there's a way to get RHEL 6 to give me the behavior >> I'm used to with RHEL 5? That is, how can I ping the interface on the >> "other" subnet and actually get a reply? >> >> Thanks, >> Peter Ruprecht >> >> _______________________________________________ >> rhelv6-list mailing list >> rhelv6-list at redhat.com >> https://www.redhat.com/mailman/listinfo/rhelv6-list > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list From neo3matrix at gmail.com Mon Jan 17 06:31:31 2011 From: neo3matrix at gmail.com (neo3 matrix) Date: Mon, 17 Jan 2011 12:01:31 +0530 Subject: [rhelv6-list] module load order changed in initramfs In-Reply-To: <1294834902.18742.641.camel@constitution.bos.jonmasters.org> References: <1294743932.18742.562.camel@constitution.bos.jonmasters.org> <1294761840.18742.572.camel@constitution.bos.jonmasters.org> <1294834902.18742.641.camel@constitution.bos.jonmasters.org> Message-ID: Hi, sorry for late reply. Thank you Jon and everybody for valuable advice. @Jon: Now I will try to work on the suggestions given by you. Thank You. On Wed, Jan 12, 2011 at 5:51 PM, Jon Masters wrote: > On Wed, 2011-01-12 at 12:28 +0530, neo3 matrix wrote: > > > Thanks for reply. > > No problem. Could I ask that you preserve standard mail formatting > convention by including a quoting character of some kind (in this case, > I've used one ">" to indicate your message, and ">>" to indicate your > quoting of my message, following standard convention. Gmail can do this > for you, and in fact will do so in the default configuration. > > > > You don't :) Not directly. It requires the initramfs to actually be > > > run and for the module loading to take place in reaction to the > > > kernel detecting various devices. > > > Ok... So I understood that unlike RHEL5, I cannot get drivers and > > their load order just by digging initramfs > > RHEL5 generates a static initrd that contains a module load order. If > you add new hardware, and so forth, you need to rebuild the initrd > because it is static. It's simple, and convenient, but it's not as > flexible as RHEL6. RHEL6 uses a dynamic initramfs that contains many > possible modules that might be loaded, and scripts that load them. It > should be possible to use the same initramfs on other machines > (depending upon the configuration of the "dracut" tool, whether in host > only mode or not), and is much improved in many other ways. > > > > Yea, there is a reasonable expectation that it will be identical > > > across same boots of the same system, running the same kernel build. > > > > Yes, I am restoring the client image on same system, same hardware and > > using same kernel build. > > In this case, why not use the initramfs that was supplied? > > > So, I can easily get the drivers and their load orders as listed > > above, which I used to save and pass it to the client while restoring > > the client using min os. > > Sounds like you're using a totally different "mini distribution" of your > own to do the restoration, and choosing the modules to load based upon > those loaded in RHEL. btw, this only works if you are using a similar > kernel, because if you're not, there's no guarantee that the modules > will be the same, work the same way, or have the same dependencies. > > > This I cannot do with RHEL6 initramfs as their is no provision of > > getting drivers and their load order from initramfs on RHEl6. > > > > So, how can I get such type of drivers and their sequence specific to > > RHEL6? > > There are two possibilities: > > 1). (what I would do) Have your "mini OS" ship with an array of drivers, > using a standard udev-based load environment, and let it load the > appropriate drivers automatically, like RHEL-6 does. > > 2). Extract the list of modules included in the initramfs for RHEL6 and > include all of those in your mini-OS. Load them as in "1", using udev. > You could write a minimal alternative wherein you include all of these > modules, then generate a modules.dep/modules.dep.bin and repeatedly call > "modprobe -b" with the module alias detected from running various tools > (again udev is the proper solution, but there are potential hacks). > > Taking the list from the running RHEL-6 system, before problems arise, > as you say you are thinking about doing, will not be sufficient, unless > you do it on every boot of the system (and even then), because there is > no guarantee that additional drivers will not be loaded onto the system, > that the hardware won't be changed between boots, or that the kernel was > not upgraded to one that loaded a new or different module after reboot > (this would occur between minor releases of the RHEL-6 product). > > I hope this helps. If you need further assistance, I suggest contacting > our GSS (support) and filing a ticket, or GES (consultancy group). > > Jon. > > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.haxby at gmail.com Mon Jan 17 11:01:36 2011 From: john.haxby at gmail.com (John Haxby) Date: Mon, 17 Jan 2011 11:01:36 +0000 Subject: [rhelv6-list] routing/interface question In-Reply-To: <4D308F70.3090205@jilau1.colorado.edu> References: <4D308F70.3090205@jilau1.colorado.edu> Message-ID: On 14 January 2011 18:01, Peter Ruprecht wrote: > Hi everyone, > > I think I'm seeing a difference in behavior between RHEL 5 and 6 on how > packets get routed between different subnets on different network > interfaces. Say I have a dual-homed host, with each interface connected to > a different physical class C subnet. The routing table looks like: > > # netstat -rn > Kernel IP routing table > Destination Gateway Genmask Flags MSS Window irtt > Iface > 128.138.140.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth1 > 128.138.107.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth0 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 > eth0 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 > eth1 > 0.0.0.0 128.138.107.1 0.0.0.0 UG 0 0 0 > eth0 > > In RHEL5, if I ping the host's 128.138.140.X address from a machine on the > 128.138.107. subnet, I can use tcpdump to see the icmp request coming in on > eth1, and the reply going out on eth0. The host is not doing forwarding; > that is, there's a 0 in /proc/sys/net/ipv4/ip_forward. > > As someone else pointed out (npanderson at ups.com) , this is to do with reverse path filtering. More specifically, it's to do with a change to rp_filter that happened in RHEL6. (I tracked down the specific commit a little while ago, I can do it again if you're interested). It's instructive to compare npanderson's quote of the RHEL5 docs with RHEL6: ----- rp_filter - INTEGER 0 - No source validation. 1 - Strict mode as defined in RFC3704 Strict Reverse Path Each incoming packet is tested against the FIB and if the interface is not the best reverse path the packet check will fail. By default failed packets are discarded. 2 - Loose mode as defined in RFC3704 Loose Reverse Path Each incoming packet's source address is also tested against the FIB and if the source address is not reachable via any interface the packet check will fail. Current recommended practice in RFC3704 is to enable strict mode to prevent IP spoofing from DDos attacks. If using asymmetric routing or other complicated routing, then loose mode is recommended. The max value from conf/{all,interface}/rp_filter is used when doing source validation on the {interface}. Default value is 0. Note that some distributions enable it in startup scripts. ----- Red Hat are (correctly) setting rp_filter to 1, strict mode. In this case a packet coming in eth0 will have its source address routed out on the same interface that it came in on (because that's the default route). However, a packet coming in on eth1 will have it source address routed out on a different interface to the one it came in on and it will be discarded. Silently. This is basically asymmetric routing and is quite possibly not what you want anyway (it messes up TCP flow control) so there are two ways to fix this: stick with asymmetric routing and permit it or fix the asymmetric routing. The first one is easiest: in /etc/sysctl.conf change rp_filter=1 to rp_filter=2). You'll need to load that and restart the network. It's probably easiest to reboot :-) to be sure. I suspect that it was not restarting enough things that prevented this change from working before. The second one may be simple as simple as adding those routes that should go out on eth1 to the routing table or running some routing daemon. It depends on your network topology, basically. This would be the preferred solution if it's practicable. jch jch -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andreas.Reschke at behrgroup.com Mon Jan 17 11:09:45 2011 From: Andreas.Reschke at behrgroup.com (Andreas Reschke) Date: Mon, 17 Jan 2011 12:09:45 +0100 Subject: [rhelv6-list] Antwort: Re: Question to /var/run/nm-dhclient-eth0.conf In-Reply-To: <86E21A982A7C5249956350A6746108C2020ACD63@CHVPKNTXC5M.chvpk.chevrontexaco.net> References: <86E21A982A7C5249956350A6746108C2020ACD63@CHVPKNTXC5M.chvpk.chevrontexaco.net> Message-ID: rhelv6-list-bounces at redhat.com schrieb am 14.01.2011 19:16:17: > "Collins, Kevin [BEELINE]" > Gesendet von: rhelv6-list-bounces at redhat.com > > 14.01.2011 19:18 > > Bitte antworten an > "Red Hat Enterprise Linux 6 \(Santiago\) discussion mailing-list" > > > An > > "Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list" > > > Kopie > > Thema > > Re: [rhelv6-list] Question to /var/run/nm-dhclient-eth0.conf > > I believe that setting is used only to ID the DHCP client with the > DHCP server, which has nothing at all to do with nslookup (which is > for querying DNS). > > > > In order for nslookup to work, your DHCP server(s) need to be > configured for DNS auto-updates, and your DNS server(s) need to be > configured to allow auto-updates from the DHCP servers. > > > > Kevin > > > > From: rhelv6-list-bounces at redhat.com [ mailto:rhelv6-list-bounces at redhat.com] > On Behalf Of Andreas Reschke > Sent: Friday, January 14, 2011 3:09 AM > To: rhelv6-list at redhat.com > Subject: [rhelv6-list] Question to /var/run/nm-dhclient-eth0.conf > > > > Hello, > I'm using Red Hat 6 (up2date) on my laptop. Sometimes i must use > Windows with vmplayer located on the laptop. The samba configuration > on Red Hat works fine. I don't want to use the ip-adress of the > laptop, so I added send dhcp-client-identifier "st00ni0029"; to the > /var/run/nm-dhclient-eth0.conf. > nslookup from windows can't find my hostname. > > What's wrong with my configuration? > > Gru? > Andreas Reschke > > Unix/Linux-Administration > Andreas.Reschke at behrgroup.com > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list Hi Kevin, The DHCP- and DNS-Server are Windows. In older Version of Fedora and Red Hat with /etc/dhclient-eth0.conf I dind't have this problem. I will talk with my Windows-Admin. Thanks Andreas -------------- next part -------------- An HTML attachment was scrubbed... URL: From I.Mortimer at uq.edu.au Tue Jan 18 01:04:51 2011 From: I.Mortimer at uq.edu.au (Ian Mortimer) Date: Tue, 18 Jan 2011 11:04:51 +1000 Subject: [rhelv6-list] vnc how to get gnome session login? In-Reply-To: <4D2E1FF1.3000906@astro.ch> References: <4D2E1FF1.3000906@astro.ch> Message-ID: <1295312691.31145.6.camel@im1.physics.uq.edu.au> On Wed, 2011-01-12 at 22:41 +0100, Alois Treindl wrote: > I am tryiong to configure vnc on a new RHEL6 system. > > Like on RHEL 5 systems I adminster I set it up as a service via xinetd. I haven't had a chance to try this on RHEL6 yet but on Fedora 12 and Fedora 14, I have it working with this xinetd config: service vnc-1280x1024 { disable = no socket_type = stream protocol = tcp wait = no user = nobody server = /usr/bin/Xvnc server_args = -inetd -query localhost -geometry 1280x1024 -depth 24 -once -fp /usr/share/X11/fonts/misc -SecurityTypes=None log_on_failure += USERID } and this in /etc/gdm/custom.conf: [security] DisallowTCP=false [xdmcp] Enable=true -- Ian From ruprech at jilau1.colorado.edu Tue Jan 18 20:52:59 2011 From: ruprech at jilau1.colorado.edu (Peter Ruprecht) Date: Tue, 18 Jan 2011 13:52:59 -0700 Subject: [rhelv6-list] routing/interface question In-Reply-To: References: <4D308F70.3090205@jilau1.colorado.edu> Message-ID: <4D35FDAB.6080909@jilau1.colorado.edu> John Haxby wrote: > > > On 14 January 2011 18:01, Peter Ruprecht > wrote: > > Hi everyone, > > I think I'm seeing a difference in behavior between RHEL 5 and 6 on > how packets get routed between different subnets on different > network interfaces. Say I have a dual-homed host, with each > interface connected to a different physical class C subnet. The > routing table looks like: > > # netstat -rn > Kernel IP routing table > Destination Gateway Genmask Flags MSS Window > irtt Iface > 128.138.140.0 0.0.0.0 255.255.255.0 U 0 0 > 0 eth1 > 128.138.107.0 0.0.0.0 255.255.255.0 U 0 0 > 0 eth0 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 > 0 eth0 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 > 0 eth1 > 0.0.0.0 128.138.107.1 0.0.0.0 UG 0 0 > 0 eth0 > > In RHEL5, if I ping the host's 128.138.140.X address from a machine > on the 128.138.107. subnet, I can use tcpdump to see the icmp > request coming in on eth1, and the reply going out on eth0. The > host is not doing forwarding; that is, there's a 0 in > /proc/sys/net/ipv4/ip_forward. > > > As someone else pointed out (npanderson at ups.com ) , > this is to do with reverse path filtering. More specifically, it's to > do with a change to rp_filter that happened in RHEL6. (I tracked down > the specific commit a little while ago, I can do it again if you're > interested). > > It's instructive to compare npanderson's quote of the RHEL5 docs with RHEL6: > > ----- > rp_filter - INTEGER > 0 - No source validation. > 1 - Strict mode as defined in RFC3704 Strict Reverse Path > Each incoming packet is tested against the FIB and if the > interface > is not the best reverse path the packet check will fail. > By default failed packets are discarded. > 2 - Loose mode as defined in RFC3704 Loose Reverse Path > Each incoming packet's source address is also tested against > the FIB > and if the source address is not reachable via any interface > the packet check will fail. > > Current recommended practice in RFC3704 is to enable strict mode > to prevent IP spoofing from DDos attacks. If using asymmetric > routing > or other complicated routing, then loose mode is recommended. > > The max value from conf/{all,interface}/rp_filter is used > when doing source validation on the {interface}. > > Default value is 0. Note that some distributions enable it > in startup scripts. > ----- > > Red Hat are (correctly) setting rp_filter to 1, strict mode. In this > case a packet coming in eth0 will have its source address routed out on > the same interface that it came in on (because that's the default > route). However, a packet coming in on eth1 will have it source address > routed out on a different interface to the one it came in on and it will > be discarded. Silently. > > This is basically asymmetric routing and is quite possibly not what you > want anyway (it messes up TCP flow control) so there are two ways to fix > this: stick with asymmetric routing and permit it or fix the asymmetric > routing. > > The first one is easiest: in /etc/sysctl.conf change rp_filter=1 to > rp_filter=2). You'll need to load that and restart the network. It's > probably easiest to reboot :-) to be sure. I suspect that it was not > restarting enough things that prevented this change from working before. > > The second one may be simple as simple as adding those routes that > should go out on eth1 to the routing table or running some routing > daemon. It depends on your network topology, basically. This would be > the preferred solution if it's practicable. > Thanks for the very detailed and clear explanation, and also to Nathan Anderson for originally pointing me at reverse path filtering. After setting rp_filter to 2 (rather than 1 or 0) for the relevant interfaces, the routing on the new RHEL 6 system is working in the same way as on RHEL 5. I greatly appreciate your help! -Peter From rvandolson at esri.com Wed Jan 19 00:29:07 2011 From: rvandolson at esri.com (Ray Van Dolson) Date: Tue, 18 Jan 2011 16:29:07 -0800 Subject: [rhelv6-list] NFSv4 automount - nss_getpwnam name 'user@domain.com' does not map into domain 'localdomain' Message-ID: <20110119002907.GA25400@esri.com> Am doing a kickstart installation of RHEL 6.0 vanilla (no errata applied). After reboot, when using the automounter to access NFSv4 shares (running on Fedora 13), we see the following in the logs on the RHEL6 client: Jan 18 15:56:16 rhel6test rpc.idmapd[1387]: nss_getpwnam: name 'root at esri.com' does not map into domain 'localdomain' Jan 18 15:56:16 rhel6test rpc.idmapd[1387]: nss_getpwnam: name 'ray5147 at esri.com' does not map into domain 'localdomain' As a result, directories are not mapped to the correct users but instead to 'nobody'. This is odd, because per the idmap man pages, the default domain used by rpc.idmapd should be the same as the system domain minus the hostname. This should be esri.com, and is when I type hostname. Thinking that perhaps rpc.idmapd was started before the network subsystem, I restarted it. Immediately everything worked fine. I rebooted the system assuming the problem would return, but it didn't. Maybe there's a cache used by rpc.idmapd (nscd?)? Is there something else maybe I'm missing? Trying to determine if the "right" thing to do is to leave my configuration as default or if I should be modifying /etc/idmapd.conf to set a default domain. Thanks, Ray From carlopmart at gmail.com Wed Jan 19 10:36:11 2011 From: carlopmart at gmail.com (carlopmart) Date: Wed, 19 Jan 2011 11:36:11 +0100 Subject: [rhelv6-list] OT: Some examples about using auditd Message-ID: <4D36BE9B.4080407@gmail.com> Hi all, I need to do some tests about auditd funcionalities on two CentOS5.5 hosts. I need to audit when user executes sudo command, when system files are modified, when some process call to some system calls, when kernel semaphores are modified, etc. I see some examples on /usr/shae/doc/audit-x.x.x, but I will know if someone has more complet audit.rules. Can somebody share some samples?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com From Greg_Swift at aotx.uscourts.gov Wed Jan 19 14:22:35 2011 From: Greg_Swift at aotx.uscourts.gov (Greg_Swift at aotx.uscourts.gov) Date: Wed, 19 Jan 2011 08:22:35 -0600 Subject: [rhelv6-list] NFSv4 automount - nss_getpwnam name 'user@domain.com' does not map into domain 'localdomain' In-Reply-To: <20110119002907.GA25400@esri.com> References: <20110119002907.GA25400@esri.com> Message-ID: rhelv6-list-bounces at redhat.com wrote on 01/18/2011 06:29:07 PM: > Am doing a kickstart installation of RHEL 6.0 vanilla (no errata > applied). > > After reboot, when using the automounter to access NFSv4 shares > (running on Fedora 13), we see the following in the logs on the RHEL6 > client: > > Jan 18 15:56:16 rhel6test rpc.idmapd[1387]: nss_getpwnam: name > 'root at esri.com' does not map into domain 'localdomain' > Jan 18 15:56:16 rhel6test rpc.idmapd[1387]: nss_getpwnam: name > 'ray5147 at esri.com' does not map into domain 'localdomain' > > As a result, directories are not mapped to the correct users but > instead to 'nobody'. > > This is odd, because per the idmap man pages, the default domain used > by rpc.idmapd should be the same as the system domain minus the > hostname. This should be esri.com, and is when I type hostname. > > Thinking that perhaps rpc.idmapd was started before the network > subsystem, I restarted it. Immediately everything worked fine. > > I rebooted the system assuming the problem would return, but it didn't. > Maybe there's a cache used by rpc.idmapd (nscd?)? Is there something > else maybe I'm missing? > > Trying to determine if the "right" thing to do is to leave my > configuration as default or if I should be modifying /etc/idmapd.conf > to set a default domain. shot in the dark... is your real hostname also mapped to localhost.localdomain in /etc/hosts? From rvandolson at esri.com Wed Jan 19 15:04:50 2011 From: rvandolson at esri.com (Ray Van Dolson) Date: Wed, 19 Jan 2011 07:04:50 -0800 Subject: [rhelv6-list] NFSv4 automount - nss_getpwnam name 'user@domain.com' does not map into domain 'localdomain' In-Reply-To: References: <20110119002907.GA25400@esri.com> Message-ID: <20110119150450.GA20013@esri.com> On Wed, Jan 19, 2011 at 06:22:35AM -0800, Greg_Swift at aotx.uscourts.gov wrote: > > > rhelv6-list-bounces at redhat.com wrote on 01/18/2011 06:29:07 PM: > > > Am doing a kickstart installation of RHEL 6.0 vanilla (no errata > > applied). > > > > After reboot, when using the automounter to access NFSv4 shares > > (running on Fedora 13), we see the following in the logs on the RHEL6 > > client: > > > > Jan 18 15:56:16 rhel6test rpc.idmapd[1387]: nss_getpwnam: name > > 'root at esri.com' does not map into domain 'localdomain' > > Jan 18 15:56:16 rhel6test rpc.idmapd[1387]: nss_getpwnam: name > > 'ray5147 at esri.com' does not map into domain 'localdomain' > > > > As a result, directories are not mapped to the correct users but > > instead to 'nobody'. > > > > This is odd, because per the idmap man pages, the default domain used > > by rpc.idmapd should be the same as the system domain minus the > > hostname. This should be esri.com, and is when I type hostname. > > > > Thinking that perhaps rpc.idmapd was started before the network > > subsystem, I restarted it. Immediately everything worked fine. > > > > I rebooted the system assuming the problem would return, but it didn't. > > Maybe there's a cache used by rpc.idmapd (nscd?)? Is there something > > else maybe I'm missing? > > > > Trying to determine if the "right" thing to do is to leave my > > configuration as default or if I should be modifying /etc/idmapd.conf > > to set a default domain. > > shot in the dark... is your real hostname also mapped to > localhost.localdomain in /etc/hosts? Yes, it is... I'd stumbled across a similar suggestion, but kinda was puzzled that things seemed to start working even without changing the entry in /etc/hosts. This is what made me think nscd or some caching was involved... Ray From Greg_Swift at aotx.uscourts.gov Wed Jan 19 15:52:25 2011 From: Greg_Swift at aotx.uscourts.gov (Greg_Swift at aotx.uscourts.gov) Date: Wed, 19 Jan 2011 09:52:25 -0600 Subject: [rhelv6-list] NFSv4 automount - nss_getpwnam name 'user@domain.com' does not map into domain 'localdomain' In-Reply-To: <20110119150450.GA20013@esri.com> References: <20110119002907.GA25400@esri.com> <20110119150450.GA20013@esri.com> Message-ID: rhelv6-list-bounces at redhat.com wrote on 01/19/2011 09:04:50 AM: > > > Am doing a kickstart installation of RHEL 6.0 vanilla (no errata > > > applied). > > > > > > After reboot, when using the automounter to access NFSv4 shares > > > (running on Fedora 13), we see the following in the logs on the RHEL6 > > > client: > > > > > > Jan 18 15:56:16 rhel6test rpc.idmapd[1387]: nss_getpwnam: name > > > 'root at esri.com' does not map into domain 'localdomain' > > > Jan 18 15:56:16 rhel6test rpc.idmapd[1387]: nss_getpwnam: name > > > 'ray5147 at esri.com' does not map into domain 'localdomain' > > > > > > As a result, directories are not mapped to the correct users but > > > instead to 'nobody'. > > > > > > This is odd, because per the idmap man pages, the default domain used > > > by rpc.idmapd should be the same as the system domain minus the > > > hostname. This should be esri.com, and is when I type hostname. > > > > > > Thinking that perhaps rpc.idmapd was started before the network > > > subsystem, I restarted it. Immediately everything worked fine. > > > > > > I rebooted the system assuming the problem would return, but it didn't. > > > Maybe there's a cache used by rpc.idmapd (nscd?)? Is there something > > > else maybe I'm missing? > > > > > > Trying to determine if the "right" thing to do is to leave my > > > configuration as default or if I should be modifying /etc/idmapd.conf > > > to set a default domain. > > > > shot in the dark... is your real hostname also mapped to > > localhost.localdomain in /etc/hosts? > > Yes, it is... I'd stumbled across a similar suggestion, but kinda was > puzzled that things seemed to start working even without changing the > entry in /etc/hosts. > > This is what made me think nscd or some caching was involved... well it makes sense to ask. i think the hosts file is exactly the issue though because if its starting before the network it is resolving based on local /etc/hosts entry. However maybe NFS (or underlying dns layer) is smart enough to realize that if there is network access its better to do the hostname lookup against the dns servers.? So once you restarted it after the network is available, it got the right domain and worked. I personally recommend (normally, not just in this situation) that if your hostname maps to a specific IP, you can still put that mapping in /etc/hosts, but make sure that only localhost and localhost.domain are mapping to 127.0.0.1. -greg From Andreas.Reschke at behrgroup.com Fri Jan 21 09:29:31 2011 From: Andreas.Reschke at behrgroup.com (Andreas Reschke) Date: Fri, 21 Jan 2011 10:29:31 +0100 Subject: [rhelv6-list] Solved: Antwort: Re: Question to /var/run/nm-dhclient-eth0.conf In-Reply-To: References: <86E21A982A7C5249956350A6746108C2020ACD63@CHVPKNTXC5M.chvpk.chevrontexaco.net> Message-ID: Hi, I've found the solution: That's not a problem with DHCP and DNS. There a 2 missing entrys in /etc/sysconfig/network-scripts/ifcfg-eth0: DHCP_CLIENT_ID=st00ni0029 DHCP_HOSTNAME=st00ni0029 With this entrys the Network-Manager build a new /var/run/nm-dhclient-eth0.conf : # Created by NetworkManager send dhcp-client-identifier "st00ni0029"; # added by NetworkManager send host-name "st00ni0029"; # added by NetworkManager Thanks Andreas Andreas Reschke Gesendet von: rhelv6-list-bounces at redhat.com 17.01.2011 12:12 Bitte antworten an "Red Hat Enterprise Linux 6 \(Santiago\) discussion mailing-list" An "Red Hat Enterprise Linux 6 \(Santiago\) discussion mailing-list" Kopie Thema [rhelv6-list] Antwort: Re: Question to /var/run/nm-dhclient-eth0.conf rhelv6-list-bounces at redhat.com schrieb am 14.01.2011 19:16:17: > "Collins, Kevin [BEELINE]" > Gesendet von: rhelv6-list-bounces at redhat.com > > 14.01.2011 19:18 > > Bitte antworten an > "Red Hat Enterprise Linux 6 \(Santiago\) discussion mailing-list" > > > An > > "Red Hat Enterprise Linux 6 (Santiago) discussion mailing-list" > > > Kopie > > Thema > > Re: [rhelv6-list] Question to /var/run/nm-dhclient-eth0.conf > > I believe that setting is used only to ID the DHCP client with the > DHCP server, which has nothing at all to do with nslookup (which is > for querying DNS). > > > > In order for nslookup to work, your DHCP server(s) need to be > configured for DNS auto-updates, and your DNS server(s) need to be > configured to allow auto-updates from the DHCP servers. > > > > Kevin > > > > From: rhelv6-list-bounces at redhat.com [ mailto:rhelv6-list-bounces at redhat.com] > On Behalf Of Andreas Reschke > Sent: Friday, January 14, 2011 3:09 AM > To: rhelv6-list at redhat.com > Subject: [rhelv6-list] Question to /var/run/nm-dhclient-eth0.conf > > > > Hello, > I'm using Red Hat 6 (up2date) on my laptop. Sometimes i must use > Windows with vmplayer located on the laptop. The samba configuration > on Red Hat works fine. I don't want to use the ip-adress of the > laptop, so I added send dhcp-client-identifier "st00ni0029"; to the > /var/run/nm-dhclient-eth0.conf. > nslookup from windows can't find my hostname. > > What's wrong with my configuration? > > Gru? > Andreas Reschke > > Unix/Linux-Administration > Andreas.Reschke at behrgroup.com > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list Hi Kevin, The DHCP- and DNS-Server are Windows. In older Version of Fedora and Red Hat with /etc/dhclient-eth0.conf I dind't have this problem. I will talk with my Windows-Admin. Thanks Andreas _______________________________________________ rhelv6-list mailing list rhelv6-list at redhat.com https://www.redhat.com/mailman/listinfo/rhelv6-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From omerfsen at gmail.com Fri Jan 21 16:07:16 2011 From: omerfsen at gmail.com (Omer Faruk SEN) Date: Fri, 21 Jan 2011 18:07:16 +0200 Subject: [rhelv6-list] File listing? Message-ID: Hi, I see dr-xr-xr-x. (trailing dot) when I use ls command on RHEL6 which weren't in RHEL5/4/3. What is the trailing dot in ls output? Regards. From hbrown at divms.uiowa.edu Fri Jan 21 16:20:52 2011 From: hbrown at divms.uiowa.edu (Hugh Brown) Date: Fri, 21 Jan 2011 10:20:52 -0600 Subject: [rhelv6-list] File listing? In-Reply-To: References: Message-ID: <4D39B264.2070400@divms.uiowa.edu> On 01/21/2011 10:07 AM, Omer Faruk SEN wrote: > Hi, > > I see > > dr-xr-xr-x. (trailing dot) > > when I use ls command on RHEL6 which weren't in RHEL5/4/3. > > What is the trailing dot in ls output? > > Regards. > > _______________________________________________ > rhelv6-list mailing list > rhelv6-list at redhat.com > https://www.redhat.com/mailman/listinfo/rhelv6-list http://www.gnu.org/software/coreutils/manual/coreutils.html#ls-invocation http://forums.fedoraforum.org/showthread.php?p=1361101 GNU ls uses a ?.? character to indicate a file with an SELinux security context, but no other alternate access method. A file with any other combination of alternate access methods is marked with a ?+? character. Hugh From philipdurbin at gmail.com Fri Jan 21 16:40:36 2011 From: philipdurbin at gmail.com (Philip Durbin) Date: Fri, 21 Jan 2011 11:40:36 -0500 Subject: [rhelv6-list] File listing? In-Reply-To: References: Message-ID: <4D39B704.8030300@gmail.com> On 01/21/2011 11:07 AM, Omer Faruk SEN wrote: > I see > > dr-xr-xr-x. (trailing dot) > > when I use ls command on RHEL6 which weren't in RHEL5/4/3. > > What is the trailing dot in ls output? Please see also the previous discussion on this list: [rhelv6-list] file permissions contains dot in rhel6 http://www.redhat.com/archives/rhelv6-list/2010-December/msg00072.html Thanks, Phil From cmadams at hiwaay.net Fri Jan 21 16:49:42 2011 From: cmadams at hiwaay.net (Chris Adams) Date: Fri, 21 Jan 2011 10:49:42 -0600 Subject: [rhelv6-list] Kernel memory leak? Message-ID: <20110121164942.GG15266@hiwaay.net> Is anybody else seeing continually-increasing RAM use in RHEL 6? I'm running on x86_64, and it appears the kernel is steadily increasing its RAM use. If I compare process RAM usage to total used RAM, there is a big discrepancy: # ps aux | awk '{x+=$6}END{print x}' 319736 # free total used free shared buffers cached Mem: 2055296 1791096 264200 0 201512 626996 -/+ buffers/cache: 962588 1092708 Swap: 2621432 16 2621416 I looked at "slabtop", and the dentry cache is the culprit: OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME 3078900 3078900 100% 0.19K 153945 20 615780K dentry Anybody else seeing this? -- Chris Adams Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. From smooge at gmail.com Sat Jan 22 00:45:21 2011 From: smooge at gmail.com (Stephen John Smoogen) Date: Fri, 21 Jan 2011 17:45:21 -0700 Subject: [rhelv6-list] Kernel memory leak? In-Reply-To: <20110121164942.GG15266@hiwaay.net> References: <20110121164942.GG15266@hiwaay.net> Message-ID: On Fri, Jan 21, 2011 at 09:49, Chris Adams wrote: > Is anybody else seeing continually-increasing RAM use in RHEL 6? ?I'm > running on x86_64, and it appears the kernel is steadily increasing its > RAM use. ?If I compare process RAM usage to total used RAM, there is a > big discrepancy: > > # ps aux | awk '{x+=$6}END{print x}' > 319736 > # free > ? ? ? ? ? ? total ? ? ? used ? ? ? free ? ? shared ? ?buffers ? ? cached > Mem: ? ? ? 2055296 ? ?1791096 ? ? 264200 ? ? ? ? ?0 ? ? 201512 ? ? 626996 > -/+ buffers/cache: ? ? 962588 ? ?1092708 > Swap: ? ? ?2621432 ? ? ? ? 16 ? ?2621416 > > I looked at "slabtop", and the dentry cache is the culprit: > > ?OBJS ACTIVE ?USE OBJ SIZE ?SLABS OBJ/SLAB CACHE SIZE NAME > 3078900 3078900 100% ? ?0.19K 153945 ? ? ? 20 ? ?615780K dentry > > Anybody else seeing this? What is the box doing? How is it set up (ext3, ext4, ?). I haven't really looked but would want to check with a system that is set up similarly. -- Stephen J Smoogen. "The core skill of innovators is error recovery, not failure avoidance." Randy Nelson, President of Pixar University. "Let us be kind, one to another, for most of us are fighting a hard battle." -- Ian MacLaren From cmadams at hiwaay.net Sat Jan 22 04:06:54 2011 From: cmadams at hiwaay.net (Chris Adams) Date: Fri, 21 Jan 2011 22:06:54 -0600 Subject: [rhelv6-list] Kernel memory leak? In-Reply-To: References: <20110121164942.GG15266@hiwaay.net> Message-ID: <20110122040654.GA5036@hiwaay.net> Once upon a time, Stephen John Smoogen said: > > I looked at "slabtop", and the dentry cache is the culprit: > > > > ?OBJS ACTIVE ?USE OBJ SIZE ?SLABS OBJ/SLAB CACHE SIZE NAME > > 3078900 3078900 100% ? ?0.19K 153945 ? ? ? 20 ? ?615780K dentry > > > > Anybody else seeing this? > > What is the box doing? How is it set up (ext3, ext4, ?). I haven't > really looked but would want to check with a system that is set up > similarly. It is running ext4 on LVM on md-raid1. It is running Nagios, Apache, Quagga, Network UPS Tools (monitoring a couple of UPSes), and smstools. Quagga is running OSPF (to learn some routes to some of the Nagios-monitored devices) and BGP (to advertise some routes via BGP from a home-written "bad IP" monitor). The bad-IP monitor uses several perl scripts I wrote, one of which uses the Linux::Inotify2 module to watch a directory that gets log files added and removed for each bad IP. The last few days have been rather busy for my bad IP detector; there are 1292 files in that directory right now for the last 48 hours. I wondered if the single inotify could be a trigger (as that's the only thing really unusual), but stopping that daemon doesn't free the RAM from the dentry cache. This same set of software was running on the old server (running Fedora 7 i386 - yes, I was that far behind). It was different hardware, but the same setup except for ext3 instead of ext4 (still LVM on md-raid1, Nagios, Apache, etc.). The old server's RAM usage had been level for years at 256M RAM; the new server started at about 512M (not unexpected since I switched to x86_64) and has increased in an almost perfectly straight line to just under 1G in 8 days. The only other difference from the old server is that it had SELinux disabled and the new one has SELinux running in permissive mode (still trying to work on a useful policy to allow Nagios to do all the things I need). -- Chris Adams Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. From darren.patterson at stanford.edu Tue Jan 25 03:07:32 2011 From: darren.patterson at stanford.edu (Darren Patterson) Date: Mon, 24 Jan 2011 19:07:32 -0800 Subject: [rhelv6-list] initrd and kickstarting Message-ID: Since rhel3 I have been making custom initrd files by removing hba drivers to ensure a SAN safe pxe/kickstart build. It used to be that a race condition could make a SAN presented device /dev/sda, instead of the first local scsi drive, and thus the OS would install there. Does anyone know if I should continue this practice with rhel6 initrd files or has this problem been resolved? Thanks, -darren ----------------------- Darren Patterson Stanford IT Services 650.725.6587 / 650.804.8143 (cell) From evilensky at gmail.com Tue Jan 25 04:12:00 2011 From: evilensky at gmail.com (Eugene Vilensky) Date: Mon, 24 Jan 2011 22:12:00 -0600 Subject: [rhelv6-list] initrd and kickstarting In-Reply-To: References: Message-ID: On Mon, Jan 24, 2011 at 9:07 PM, Darren Patterson wrote: > Since rhel3 I have been making custom initrd files by removing hba drivers to ensure a SAN safe pxe/kickstart build. ?It used to be that a race condition could make a SAN presented device /dev/sda, instead of the first local scsi drive, and thus the OS would install there. > > Does anyone know if I should continue this practice with rhel6 initrd files or has this problem been resolved? The Storage Administration Guide continues to read: ------ 21.3. Persistent Naming The operating system issues I/O to a storage device by referencing the path that is used to reach it. For SCSI devices, the path consists of the following: PCI identifier of the host bus adapter (HBA) channel number on that HBA the remote SCSI target address the Logical Unit Number (LUN) This path-based address is not persistent. It may change any time the system is reconfigured (either by on-line reconfiguration, as described in this manual, or when the system is shutdown, reconfigured, and rebooted). It is even possible for the path identifiers to change when no physical reconfiguration has been done, as a result of timing variations during the discovery process when the system boots, or when a bus is re-scanned. ----- The "race condition" "problem" you are describing is more like a feature. From darren.patterson at stanford.edu Tue Jan 25 04:38:04 2011 From: darren.patterson at stanford.edu (Darren Patterson) Date: Mon, 24 Jan 2011 20:38:04 -0800 Subject: [rhelv6-list] initrd and kickstarting In-Reply-To: References: Message-ID: <807C430E-A179-4B2B-89F4-271980FBA650@stanford.edu> On Jan 24, 2011, at 8:12 PM, Eugene Vilensky wrote: > On Mon, Jan 24, 2011 at 9:07 PM, Darren Patterson > wrote: >> Since rhel3 I have been making custom initrd files by removing hba drivers to ensure a SAN safe pxe/kickstart build. It used to be that a race condition could make a SAN presented device /dev/sda, instead of the first local scsi drive, and thus the OS would install there. >> >> Does anyone know if I should continue this practice with rhel6 initrd files or has this problem been resolved? > > > The Storage Administration Guide continues to read: > ------ > 21.3. Persistent Naming > The operating system issues I/O to a storage device by referencing the > path that is used to reach it. For SCSI devices, the path consists of > the following: > PCI identifier of the host bus adapter (HBA) > channel number on that HBA > the remote SCSI target address > the Logical Unit Number (LUN) > This path-based address is not persistent. It may change any time the > system is reconfigured (either by on-line reconfiguration, as > described in this manual, or when the system is shutdown, > reconfigured, and rebooted). It is even possible for the path > identifiers to change when no physical reconfiguration has been done, > as a result of timing variations during the discovery process when the > system boots, or when a bus is re-scanned. > ----- > > The "race condition" "problem" you are describing is more like a feature. Well, since it is documented it must be a feature. Thanks for the gentle reminder to RTFM. -darren From brilong at cisco.com Tue Jan 25 13:30:13 2011 From: brilong at cisco.com (Brian Long) Date: Tue, 25 Jan 2011 08:30:13 -0500 Subject: [rhelv6-list] initrd and kickstarting In-Reply-To: References: Message-ID: <4D3ED065.3060407@cisco.com> On 1/24/11 10:07 PM, Darren Patterson wrote: > Since rhel3 I have been making custom initrd files by removing hba drivers to ensure a SAN safe pxe/kickstart build. It used to be that a race condition could make a SAN presented device /dev/sda, instead of the first local scsi drive, and thus the OS would install there. > > Does anyone know if I should continue this practice with rhel6 initrd files or has this problem been resolved? Darren, The way I've seen it addressed in the past (RHEL 4 & 5) is to specify "nostorage" on the PXE command-line and have your ks.cfg specify "device scsi cciss" or something specific to your platform. This ensures the Qlogic or Emulex drivers don't get loaded but you can still see the internal disk. Here's one mailing list item which also mentions it: https://www.redhat.com/archives/rhelv6-beta-list/2010-April/msg00090.html /Brian/ -- Brian Long | | Corporate Security Programs Org . | | | . | | | . ' ' C I S C O From dburklan at NMDP.ORG Wed Jan 26 15:02:17 2011 From: dburklan at NMDP.ORG (Dan Burkland) Date: Wed, 26 Jan 2011 09:02:17 -0600 Subject: [rhelv6-list] NFSv4 automount - nss_getpwnam name 'user@domain.com' does not map into domain 'localdomain' In-Reply-To: References: <20110119002907.GA25400@esri.com> <20110119150450.GA20013@esri.com> Message-ID: <0CC353FB-8FC5-4126-B810-FDBDB6E6531C@nmdp.org> /etc/idmapd.conf is configured the same way on both the NFSv4 Server & Client correct? (I assume this is correct). I've run into this several times and usually a reboot of the "idmapd" service on the client fixes the issue (make sure that the NFS share is not mounted on the client). Regards, Dan From carlopmart at gmail.com Fri Jan 28 09:54:31 2011 From: carlopmart at gmail.com (carlopmart) Date: Fri, 28 Jan 2011 10:54:31 +0100 Subject: [rhelv6-list] OT: Recommendations for a virtual storage server Message-ID: <4D429257.4030300@gmail.com> Hi all, I need to install a virtual machine acting as a virtual storage server under CentOS 5.x (using kvm, xen, virtualbox or vmware). This virtual storage machine needs to server storage to another ESXi server and at the same time to the host where is installed. This is due to the limitations of hardware I have available. Both hosts needs to server several machines. It is very important that the virtual machine consumes the least resources possible (host has 5GB RAM and i need to run three virtual machines minimum, including this storage server as a virtual machine). What can be better solution: CentOS, NexentaStor, openfiler ...?? Many thaks. -- CL Martinez carlopmart {at} gmail {d0t} com From thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net Fri Jan 28 14:51:48 2011 From: thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net (Matthias Saou) Date: Fri, 28 Jan 2011 15:51:48 +0100 Subject: [rhelv6-list] OT: Recommendations for a virtual storage server In-Reply-To: <4D429257.4030300@gmail.com> References: <4D429257.4030300@gmail.com> Message-ID: <20110128155148.3470b6b7@python3.es.aed.lan> carlopmart wrote : > Hi all, > > I need to install a virtual machine acting as a virtual storage server under > CentOS 5.x (using kvm, xen, virtualbox or vmware). This virtual storage machine > needs to server storage to another ESXi server and at the same time to the host > where is installed. > > This is due to the limitations of hardware I have available. Both hosts needs to > server several machines. > > It is very important that the virtual machine consumes the least resources > possible (host has 5GB RAM and i need to run three virtual machines minimum, > including this storage server as a virtual machine). > > What can be better solution: CentOS, NexentaStor, openfiler ...?? Well, you're asking on the RHEL6 list : You can install RHEL6 and use it as an iSCSI server, that should work fine (though I've only done it with RHEL5 myself, and it was broken in the RHEL6 beta I tested it). Note that you might be adding a useless layer of virtualization : You could also consider having that CentOS 5.x host be the iSCSI server directly. Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 14 (Laughlin) - Linux kernel 2.6.35.10-72.fc14.x86_64 Load : 0.03 0.03 0.12