[CentOS] launch a iptables + tc at power on

2012-07-16 Thread Mihamina Rakotomandimby
Hi all

I have a QoS script involving "iptables" and "tc" that I would like to 
run after "eth0" and "eth1" come up.

I thought about some "POST_UP_SCRIPT=" or similar
in /etc/sysconfig/network (or ifcfg-ethX)

As I document, I found that http://goo.gl/jWoPn
According to these, I have to create (if they does not exist):
- /sbin/ifup-pre-local
- /sbin/ifup-local

It sounds a bit wild to me to have to tweak in /sbin for that, I really 
expected something in /etc/sysconfig/**

Would you know if there is a way configure what I want?


-- 
RMA.

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


[CentOS] CentOS 6.3 usb key...

2012-07-16 Thread John Doe
Hi,

I upgraded my USB install keys (as per wiki) to 6.3 and now it freezes during 
the boot...
It displays the boot.msg content, plus "boot:" (from ldlinux.sys); but it 
freezes after that, before displaying the syslinux.cfg menu...

Anyone else having such problem, or an idea of what is going on...?
For information, I make my keys using syslinux 3.82 on a CentOS 5.8.


Thx,
JD

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


Re: [CentOS] New /boot/message file?

2012-07-16 Thread Keith Roberts
On Sun, 15 Jul 2012, William Hooper wrote:

> To: CentOS mailing list 
> From: William Hooper 
> Subject: Re: [CentOS] New /boot/message file?
> 
> On Sun, Jul 15, 2012 at 4:51 PM, Keith Roberts  wrote:
>> I've not broken the system, it's just I want to decide when
>> the new kernel should be booted.
>
> The edit the /etc/sysconfig/kernel file and tell the system not to
> update the default kernel to the newly install one.

Thanks for that William, I'll check that out soon.

Kind Regards,

Keith

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

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


Re: [CentOS] New /boot/message file?

2012-07-16 Thread Keith Roberts
On Sun, 15 Jul 2012, Reindl Harald wrote:

> To: CentOS mailing list 
> From: Reindl Harald 
> Subject: Re: [CentOS] New /boot/message file?
> 
>
>
> Am 15.07.2012 22:51, schrieb Keith Roberts:
>> On Sun, 15 Jul 2012, Reindl Harald wrote:
>>
>> *snip*
>>
>>> but what is the point to break your system to not
>>> automatically maintain grub.conf in this context? what is
>>> the advantage have to add the new kernel manually to the
>>> config?
>>
>> Good point again Reindl.
>>
>> I've not broken the system, it's just I want to decide when
>> the new kernel should be booted.
>
> why in the world do you install it if you do not want it to get booted?
> if you do not update the kernel simaply "yum --exclude=kernel\* upgrade"

Hi Reindl.

I install it but delay using it untill I decide to activate 
it myself.

>> My reason is I've had the kernel version change and that has
>> been buggy and broke my system. So I'd rather take control
>> myself over when my box moves to a newer kernel version
>
> and what do you think what is "default=0" in "grub.conf"
> is for? exactly to specfiy WHAT installed kernel should
> be booted

This is part of my grub.conf file Reindl:

default=1

# comment this out to skip the countdown screen
# and go straight to the GRUB boot menu and stop there.
# timeout=300

splashimage=(hd0,13)/boot/grub/splash.xpm.gz
#hiddenmenu

title Initial CentOS 5.5 DVD kernel (vmlinuz-2.6.18-194.el5)
 root (hd0,1)
 kernel /boot/vmlinuz-2.6.18-194.el5 ro root=LABEL=Centos-5-root
 initrd /boot/initrd-2.6.18-194.el5.img

title CentOS 5.8 system (vmlinuz-2.6.18-308.11.1.el5)
 root (hd0,1)
 kernel /boot/vmlinuz-2.6.18-308.11.1.el5 ro root=LABEL=Centos-5-root
 initrd /boot/initrd-2.6.18-308.11.1.el5.img

The timeout is disabled so I can select which kernel to 
boot myself, after updating grub.conf.

I kept the details for the Centos DVD kernel so I can use my 
own grub.conf file if I needed to do a fresh installation of 
Centos.

Kind Regards,

Keith

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

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


Re: [CentOS] CentOS 6.3 usb key... [SOLVED]

2012-07-16 Thread John Doe
From: John Doe 

> I upgraded my USB install keys (as per wiki) to 6.3 and now it freezes during 
> the boot...
> It displays the boot.msg content, plus "boot:" (from ldlinux.sys); but 
> it freezes after that, before displaying the syslinux.cfg menu...
> 
> Anyone else having such problem, or an idea of what is going on...?
> For information, I make my keys using syslinux 3.82 on a CentOS 5.8.

Solved by updating syslinux (in my case, 4.05 from rfx) on my CentOS 5.8...

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


Re: [CentOS] Can't get Grub work on clone of machine

2012-07-16 Thread Yves Bellefeuille
On Monday 16 July 2012, Gregory Machin  wrote:

> # chroot /mnt/sysimage
> # grub-install /dev/sda
> /dev/sda does not have any corresponding BIOS drive.

Try this:

mount /dev/sda1 /mnt/sysimage/boot
mount -t none /dev /mnt/sysimage/dev -o bind
chroot /mnt/sysimage/boot
mount /proc
mount /sys

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


Re: [CentOS] Can't get Grub work on clone of machine

2012-07-16 Thread m . roth
Yves Bellefeuille wrote:
> On Monday 16 July 2012, Gregory Machin  wrote:
>
>> # chroot /mnt/sysimage
>> # grub-install /dev/sda
>> /dev/sda does not have any corresponding BIOS drive.
>
> Try this:
>
> mount /dev/sda1 /mnt/sysimage/boot
> mount -t none /dev /mnt/sysimage/dev -o bind
> chroot /mnt/sysimage/boot
> mount /proc
> mount /sys

What *is* mounted as /? If you've booted off, say, a USB key, or CD, that
might be seen as sda, and the real h/d is sdb.

 mark

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


Re: [CentOS] Can't get Grub work on clone of machine

2012-07-16 Thread Les Mikesell
On Mon, Jul 16, 2012 at 12:15 AM, Gregory Machin  wrote:
> I have cloned a RHEL 5.6 physical server over to a ESXi 5.0 Virtual Machine.
>
> Using a live CD on the new Virtual Machine I created 3 partition /boot
> (/dev/sda1), / (/dev/sda2) and swap (/dev/sda3), I then mounted the /
> (sda2) partition and created the /boot directory and mount the boot
> partition partition /dev/sda1 into /boot. I then used rsync to copy
> the source machine over to the Virtual Machine.
>
> I have not been able to get Grub to go further than :
>
> GRUB Loading stage1.5.
> GRUB Loading, please wait...
> Error 2

First, if your source layout is typical, you might have been able to
use the free VMware Converter tool to clone to ESXi (or an image)
directly.   Most of my linux boxes have a custom raid layout and don't
work so I don't have much linux experience with it, but it works great
with windows.

Another approach is to do a minimal install, upgrade the kernel to
match the source machine, then blow away everything but the /boot
partition and copy over from the source.  This gets grub installed and
the right kernel modules in the ramdisk to match the new hardware -
and you can look at /etc/modprobe.conf to see what those modules are
if you don't know as much as anaconda does about hardware and modules.

But, starting from what you have, stage 1.5 is still in the MBR so it
seems odd that you have enough to boot at all but are missing that
part.I'd try booting in rescue mode, running grub and:
root (hd0,1)
setup (hd0)
quit


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


[CentOS] CentOS-announce Digest, Vol 89, Issue 6

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

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

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

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


Today's Topics:

   1. CEBA-2012:1078  CentOS 6 dracut Update (Johnny Hughes)


--

Message: 1
Date: Mon, 16 Jul 2012 12:34:44 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2012:1078  CentOS 6 dracut Update
To: centos-annou...@centos.org
Message-ID: <20120716123444.ga16...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2012:1078 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-1078.html

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


i386:
b30d6f68aaea29d31038214b51117f9d39a820203898784df06793e1365b97f7  
dracut-004-284.el6_3.noarch.rpm
61b66f95777bae5be000f744099b827bb90791901a770464a5e699eed7f3e5d4  
dracut-caps-004-284.el6_3.noarch.rpm
e458187288d4469acb3d053ce471c02fca04a6f2f418f7e363805fc87ee72d0c  
dracut-fips-004-284.el6_3.noarch.rpm
588e6b211faa71d84fd60103ffd3d0390c0b0ac358fba033e00c689f9469a789  
dracut-fips-aesni-004-284.el6_3.noarch.rpm
1c55bf81fdfd30fd1025c22d854e1dad409297c406a56618c8404f3671beb479  
dracut-generic-004-284.el6_3.noarch.rpm
f83a695b3ea9e4596edc7a465e062b3d10f5fe0d78e800e87ceca6d0bfd56ab5  
dracut-kernel-004-284.el6_3.noarch.rpm
588946772804e903e7e0bdececaab69a6475604b8c151e1c94965f402802b028  
dracut-network-004-284.el6_3.noarch.rpm
6185433fa044807eaa5601c173016e7fdae4ef451416098aa830cfd3bb24346c  
dracut-tools-004-284.el6_3.noarch.rpm

x86_64:
8458647ed8d2af9dfc6d3fc74be44df8a10121a9980d7fae3b10c13f5fcdf019  
dracut-004-284.el6_3.noarch.rpm
5df92db06577977b57f48a6b149ab2f0beebf75e7022f5f0be28fe35e1e7f4e9  
dracut-caps-004-284.el6_3.noarch.rpm
3e6167a05d69f4ff62333ae80533eeae70be2a6b56e9a7e9ab124eff0286f409  
dracut-fips-004-284.el6_3.noarch.rpm
afec0eb221628470f46a00106b96e9d20399270862af51b64ff0aa31e754868f  
dracut-fips-aesni-004-284.el6_3.noarch.rpm
7c543036fe44d68a937608fca90ff74a35cc1c9807b4b186db91420e7d3ca9bc  
dracut-generic-004-284.el6_3.noarch.rpm
657d7828b166bfbf0f4bec483685cef22d33286784e03ba3529d3a1c83aaf118  
dracut-kernel-004-284.el6_3.noarch.rpm
88e504838301226213100faa8f9d5343c716a0fbc9028b12267b3925c3842825  
dracut-network-004-284.el6_3.noarch.rpm
68b6d6d6b4410fd615962f59c0fd6c71018e5746342b546d35c3da15d78e75ed  
dracut-tools-004-284.el6_3.noarch.rpm

Source:
93491adef3acbc1e5726962c9e30641263eb06a3bce03310f32cd7aeaea8c559  
dracut-004-284.el6_3.src.rpm



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



--

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


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


Re: [CentOS] Speedtest.mini on a local website?

2012-07-16 Thread Timothy Murphy
Stephen Harris wrote:

>> I wonder if anyone has got speedtest.mini
>> from 
>> working under CentOS-6?
> 
> I just did
>  yum install php
>  cd /var/www/html
>  mkdir speedtest.mini
>  cd speedtest.mini
>  unzip ~/mini.zip
>  mv index-php.html index.php
>  service httpd restart

That is exactly what I did,
except I called it SpeedTest.php .
(I also tried SpeedTest.html .)

> and it worked on my CentOS 6.3 build (I have SELinux turned off...)

I also have SELinux turned off.
If I click on my home page www.gaylord.com/SpeedTest.php [website modified]
I just get a black page.

> Results: 93Mbit/s down, 80Mbit/s up... on a local 100Mbit client.

Maybe I have misunderstood the purpose of this program?
I'm not clear what you are measuring.
Are you running a web-server on this computer?
What command exactly would be given on a remote browser?

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


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


[CentOS] timeout vs. winexe

2012-07-16 Thread Les Mikesell
I use the winexe (a samba-based tool like psexec) to run a command
remotely on windows targets.  The problem is, sometimes it hangs until
interrupted and I'd like to put it in a cron job.   So I added a
'timeout 80' on the command line that starts a shell script that
invokes winexe with the needed parameters.  This does prevent the
hang, but now every run takes the full 80 seconds to return where it
should average 5 or 10 seconds on a normal execution - and it seems to
trap normal interrupts until its own timeout is reached.

Timeout seems to return immediately when other commands exit.  Am I
missing something obvious that might make it wait in this scenario?

Strace show a loop of these filling the time after I think it has completed:
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig -icanon echo
...}) = ? ERESTARTSYS (To be restarted)
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---

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


Re: [CentOS] Speedtest.mini on a local website?

2012-07-16 Thread Ross Cavanagh
On Tue, Jul 17, 2012 at 1:45 AM, Timothy Murphy  wrote:

> Stephen Harris wrote:
>
> >> I wonder if anyone has got speedtest.mini
> >> from 
> >> working under CentOS-6?
> >
> > I just did
> >  yum install php
> >  cd /var/www/html
> >  mkdir speedtest.mini
> >  cd speedtest.mini
> >  unzip ~/mini.zip
> >  mv index-php.html index.php
> >  service httpd restart
>
> That is exactly what I did,
> except I called it SpeedTest.php .
> (I also tried SpeedTest.html .)
>
> > and it worked on my CentOS 6.3 build (I have SELinux turned off...)
>
> I also have SELinux turned off.
> If I click on my home page www.gaylord.com/SpeedTest.php [website
> modified]
> I just get a black page.
>
> > Results: 93Mbit/s down, 80Mbit/s up... on a local 100Mbit client.
>
> Maybe I have misunderstood the purpose of this program?
> I'm not clear what you are measuring.
> Are you running a web-server on this computer?
> What command exactly would be given on a remote browser?
>
> Just a quick thing, which you may have already checked. But are the
permissions OK?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] A couple of 32-bit packages got no update in 6.3/x86_64

2012-07-16 Thread Connie Sieh
On Sat, 14 Jul 2012, Akemi Yagi wrote:

> On Wed, Jul 11, 2012 at 2:47 PM, Michael Lampe
>  wrote:
>> Namely:
>>
>> * hivex
>> * hivex-devel
>> * librdmac
>> * librdmac-devel
>> * sanlock-libs
>> * sanlock-devel

See http://rhn.redhat.com/errata/RHEA-2012-0996.html for more info about 
sanlock .  Looks like the do not have sanlock i386 in x86_64 tree anymore.

>>
>> and maybe others.
>>
>> Is this on purpose (I don't know if upstream has removed or updated the
>> 32-bit rpms, but the old ones are still in C6.3/x86_64), or is it just
>> the usual sloppyness (I've been told here on previous occasions the
>> biarch is a pain in the ass to maintain, nobody cares anyway, it's not
>> 'plain', and no sensible man should be using it).
>
> FYI:
>
> http://bugs.centos.org/view.php?id=5836
>
> Akemi
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

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


Re: [CentOS] installing centos 6 on an old bird

2012-07-16 Thread Tim Dunphy
hey guys,

 sorry it took so long to get back to you. But I was finally able to do
this.

 To recap:


>Are you absolutely sure the install hangs forever?  How long is forever?
 I have noticed too that at the end of the >installation, the system seems
hung for quite some time on this package (or whatever postinstall script is
running at >the end).  I have had times when the system seemed hung but
after giving it a lot more time it would eventually >complete.

Well to give you a better idea of how I was defining "forever", I attempted
to do this over a few days. So I would load up centos 6.2 or 6.3 to the
point I would get to the SE Linux component. And then I would go out for
lunch, do some errands and come back to it 4 or 5 hours later. That to me
would constitute a 'forever'. :)

>Rip all the RPM files from the DVD.  Then share that directory on NFS
>and install from that.  Leave out the problematic RPMs from the directory.

Tried that too.. ultimately the install complained about
selinux-policy-targeted not being there and would refuse to proceed. So,
back to the drawing board.

>Tim didn't detail the amount of RAM he had (to the best of my
recollection) but my machine of that same age has >4GB, so RAM wasn't an
issue here, at least not for the selinux piece.

To answer this question - 8 GB :)

>Have you tried using the minimal install iso?  It will fit on a CD.

Bingo! That was it. Thank you list! You guys rock. Always appreciate your
advice.

Best,
Tim




On Thu, Jul 12, 2012 at 2:18 PM, Stephen Harris  wrote:

> On Thu, Jul 12, 2012 at 02:04:40PM -0400, Lamar Owen wrote:
> > On Thursday, July 12, 2012 11:16:23 AM Lars Hecking wrote:
> > >  The problem with the selinux rpms is that they need copious amounts
> of RAM
> > >  during installation. From my experience, a minimum of 0.75 to 1GB.
>
> > But that's a good data point, and really should be addressed as part of
> the system requirements for upstream actually, 1GB is the recommended
> minimum RAM on a 32 bit system by upstream.
>
> Would a minimal kickstart file do?  This is mine, which I use to build
> small VMS (4Gb disk, 512Mb RAM)
>
>   install
>   url --url http://repo/CentOS/DVD/CentOS-6
>   text
>   reboot
>
>   lang en_US.UTF-8
>   keyboard us
>
>   network --onboot yes --device eth0 --bootproto dhcp --ipv6 auto
>
>   rootpw  --iscrypted yeahyeahyeah
>   authconfig --enableshadow --passalgo=sha512
>
>   firewall --disabled
>   selinux --disabled
>
>   timezone --utc America/New_York
>
>   zerombr yes
>   clearpart --all --initlabel
>   part /boot --fstype=ext4 --asprimary --size=100
>   part swap --asprimary --size=512
>   part / --fstype=ext4 --asprimary --grow --size=1
>   bootloader --location=mbr --driveorder=vda --append=" crashkernel=auto
> quiet"
>
>   repo --name="CentOS"  --baseurl=http://repo/CentOS/DVD/CentOS-6--cost=100
>   repo --name="Updates" --baseurl=
> http://repo/CentOS/updates/centos6/x86_64 --cost=500
>
>   %packages --nobase
>   @core
>   yum
>   openssh-server
>   openssh-clients
>   ksh
>   dos2unix
>   ntp-perl
>   logwatch
>   wget
>   acpid
>   yum-plugin-priorities
>   bind-utils
>   -checkpolicy
>   -policycoreutils
>   -selinux-policy
>   -selinux-policy-targeted
>   -efibootmgr
>   -kernel-firmware
>   -aic94xx-firmware
>   -atmel-firmware
>   -b43-openfwwf
>   -bfa-firmware
>   -ipw2100-firmware
>   -ipw2200-firmware
>   -ivtv-firmware
>   -iwl100-firmware
>   -iwl1000-firmware
>   -iwl3945-firmware
>   -iwl4965-firmware
>   -iwl5000-firmware
>   -iwl5150-firmware
>   -iwl6000-firmware
>   -iwl6000g2a-firmware
>   -iwl6000g2b-firmware
>   -iwl6050-firmware
>   -libertas-usb8388-firmware
>   -netxen-firmware
>   -ql2100-firmware
>   -ql2200-firmware
>   -ql23xx-firmware
>   -ql2400-firmware
>   -ql2500-firmware
>   -rt61pci-firmware
>   -rt73usb-firmware
>   -xorg-x11-drv-ati-firmware
>   -zd1211-firmware
>
>   %post
>   %end
>
> --
>
> rgds
> Stephen
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] libre office

2012-07-16 Thread James B. Byrne

On Tue, July 10, 2012 23:22, Joseph Spenner wrote:
> On Jul 10, 2012, at 7:17 PM, "Michel Donais" 
> wrote:
>
>> Why in 6.3 they move OpenOffice to LibreOffice?
>>
>>
>> ---
>> Michel Donais
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> Not sure.  Probably same reason SciFi changed to SyFy; bored marketing
> people trying to 'add value'.
>

The main reason for the switch to LO from OO is Oracle Corporation's
buyout of Sun.  Shortly after that event the principal developers of
OO left that project and forked LibreOffice.  Oracle went through some
handwaving exercise about being committed to open source but
development of OO stalled, either by design or neglect.  Evential
Oracle turned OO over to Apache.org but by then a large portion of the
OO audience had already switched to LO and never looked back.

OO has had its first release since being adopted by the Apache
Foundation but that release did not support any form of English other
than en_US.  I do not know what other language packs are available
now.

Since Oracle is now out of the picture it is possible that LO and OO
may again merge into a single project, eventually.  On the other hand,
maybe not.


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

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


Re: [CentOS] Fwd: Bug 800181: NFSv4 on RHEL 6.3 over six times slower than 5.8

2012-07-16 Thread James B. Byrne

On Wed, July 11, 2012 00:21, Kahlil Hodgson wrote:

>
> If you are just using the Red Hat bugzilla that might be your problem.
> I've heard a rumour that Red Hat doesn't really monitor that channel,
> giving preference to issues raised though their customer portal.  That
> does makes _some_ commercial sense, but if they are, it would be
> polite
> to shut down the old bugzilla service and save some frustration.  I
> don't have a Red Hat subscription myself, so I can't really test this.
> Can anyone, perhaps with a Red Hat subscription, shed any light on
> this?

This rumour is almost certainly unfounded.  I report the odd bug to RH
through Bugzilla and I have always had a timely acknowledgement and as
far as I can tell they have either been rejected or accepted within a
reasonably short time.  Some of them have actually been fixed.

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

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


Re: [CentOS] Can't get Grub work on clone of machine

2012-07-16 Thread Gregory Machin
On Tue, Jul 17, 2012 at 2:21 AM,   wrote:
> Yves Bellefeuille wrote:
>> On Monday 16 July 2012, Gregory Machin  wrote:
>>
>>> # chroot /mnt/sysimage
>>> # grub-install /dev/sda
>>> /dev/sda does not have any corresponding BIOS drive.
>>
>> Try this:
>>
>> mount /dev/sda1 /mnt/sysimage/boot
>> mount -t none /dev /mnt/sysimage/dev -o bind
>> chroot /mnt/sysimage/boot
>> mount /proc
>> mount /sys
>
> What *is* mounted as /? If you've booted off, say, a USB key, or CD, that
> might be seen as sda, and the real h/d is sdb.
>
>  mark


Hi Mark.

Thanks for your input.
When I chroot to /mnt/sysimage the only hard drive listed is sda. Both
from "linux rescue"
 and chroot mount reflects the same drive / partition mapping  :
Rescue :
/dev/sda2 on /mnt/sysimage type ext3 (rw,data=ordered)
/dev/sda1 on /mnt/sysimage/boot type ext3 (rw,data=ordered)

Chroot :
/dev/sda2 on / type ext3 (rw,defaults)
/dev/sda1 on /boot type ext3 (rw,defaults)

Thanks

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


Re: [CentOS] Can't get Grub work on clone of machine

2012-07-16 Thread Gregory Machin
On Tue, Jul 17, 2012 at 3:14 AM, Les Mikesell  wrote:
> On Mon, Jul 16, 2012 at 12:15 AM, Gregory Machin  wrote:
>> I have cloned a RHEL 5.6 physical server over to a ESXi 5.0 Virtual Machine.
>>
>> Using a live CD on the new Virtual Machine I created 3 partition /boot
>> (/dev/sda1), / (/dev/sda2) and swap (/dev/sda3), I then mounted the /
>> (sda2) partition and created the /boot directory and mount the boot
>> partition partition /dev/sda1 into /boot. I then used rsync to copy
>> the source machine over to the Virtual Machine.
>>
>> I have not been able to get Grub to go further than :
>>
>> GRUB Loading stage1.5.
>> GRUB Loading, please wait...
>> Error 2
>
> First, if your source layout is typical, you might have been able to
> use the free VMware Converter tool to clone to ESXi (or an image)
> directly.   Most of my linux boxes have a custom raid layout and don't
> work so I don't have much linux experience with it, but it works great
> with windows.
>
> Another approach is to do a minimal install, upgrade the kernel to
> match the source machine, then blow away everything but the /boot
> partition and copy over from the source.  This gets grub installed and
> the right kernel modules in the ramdisk to match the new hardware -
> and you can look at /etc/modprobe.conf to see what those modules are
> if you don't know as much as anaconda does about hardware and modules.
>
> But, starting from what you have, stage 1.5 is still in the MBR so it
> seems odd that you have enough to boot at all but are missing that
> part.I'd try booting in rescue mode, running grub and:
> root (hd0,1)
> setup (hd0)
> quit
>
>
> --
>Les Mikesell
> lesmikes...@gmail.com


Hi Les.

I started with VMware standalone converter 4.3 and the 5.0 and
couldn't get it to work, but it worked fine when converting another
machine to the same ESXi host.

Following these instructions :
mount /dev/sda1 /mnt/sysimage/boot
mount -t none /dev /mnt/sysimage/dev -o bind
chroot /mnt/sysimage/boot
mount /proc
mount /sys

then

root (hd0,1)
setup (hd0)
quit

I get the following:
root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83
setup (hd0)
  Checking if "/boot/grub/stage1" exists... no
  Checking if "/grub/stage1" exists... no

Error 2: Bad file or directory
quit

I have checked that the stage1 file is in /boot/grub/ So Im confused.

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


Re: [CentOS] Can't get Grub work on clone of machine

2012-07-16 Thread Yves Bellefeuille
On Monday 16 July 2012, Gregory Machin  wrote:

> I have not been able to get Grub to go further than :
> 
> GRUB Loading stage1.5.
> GRUB Loading, please wait...
> Error 2

My previous advice was nonsense; sorry. :-(

This, however, should work:

(as root)

mount --bind /dev /mnt/sysimage/dev
mount --bind /proc /mnt/sysimage/proc
mount --bind /sys /mnt/sysimage/sys
chroot /mnt/sysimage
grub-install /dev/sda

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


Re: [CentOS] Can't get Grub work on clone of machine

2012-07-16 Thread Les Mikesell
On Mon, Jul 16, 2012 at 7:20 PM, Gregory Machin  wrote:
>
> Following these instructions :
> mount /dev/sda1 /mnt/sysimage/boot
> mount -t none /dev /mnt/sysimage/dev -o bind
> chroot /mnt/sysimage/boot
> mount /proc
> mount /sys

Not sure you need  any of that if your boot/rescue environment has grub.

> then
>
> root (hd0,1)
> setup (hd0)
> quit
>
> I get the following:
> root (hd0,1)
>  Filesystem type is ext2fs, partition type 0x83
> setup (hd0)
>   Checking if "/boot/grub/stage1" exists... no
>   Checking if "/grub/stage1" exists... no
>
> Error 2: Bad file or directory
> quit
>
> I have checked that the stage1 file is in /boot/grub/ So Im confused.

Either your rsync copy of the boot filesystem was not complete, or
what grub thinks is (hd0,1) is not the filesystem where you put it.

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


Re: [CentOS] Can't get Grub work on clone of machine

2012-07-16 Thread Gregory Machin
On Tue, Jul 17, 2012 at 1:18 PM, Les Mikesell  wrote:
> On Mon, Jul 16, 2012 at 7:20 PM, Gregory Machin  wrote:
>>
>> Following these instructions :
>> mount /dev/sda1 /mnt/sysimage/boot
>> mount -t none /dev /mnt/sysimage/dev -o bind
>> chroot /mnt/sysimage/boot
>> mount /proc
>> mount /sys
>
> Not sure you need  any of that if your boot/rescue environment has grub.
>
>> then
>>
>> root (hd0,1)
>> setup (hd0)
>> quit
>>
>> I get the following:
>> root (hd0,1)
>>  Filesystem type is ext2fs, partition type 0x83
>> setup (hd0)
>>   Checking if "/boot/grub/stage1" exists... no
>>   Checking if "/grub/stage1" exists... no
>>
>> Error 2: Bad file or directory
>> quit
>>
>> I have checked that the stage1 file is in /boot/grub/ So Im confused.
>
> Either your rsync copy of the boot filesystem was not complete, or
> what grub thinks is (hd0,1) is not the filesystem where you put it.
>
> --
>Les Mikesell
>  lesmikes...@gmail.com

Hi Les.

Just to clarify my understanding of grub's syntax for hard disk partitions
/dev/sda = hd0
/dev/sda1 = hd0,0
/dev/sda2 = hd0,1

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


[CentOS] probleme rpm roundcubemail-0.7.2-2.el6.noarch force ssl fail

2012-07-16 Thread fakessh

hello guys
hello master of holy bible of centos

I am having problems with the package for EPEL roundcubemail centos 6
options for config roundcubemail to force SSL connections not working

// enforce connections over https
// with this option enabled, all non-secure connections will be 
redirected.
// set the port for the ssl connection as value of this option if it 
differs from the default 443
$rcmail_config['force_https'] = true;

// tell PHP that it should work as under secure connection
// even if it doesn't recognize it as secure ($_SERVER['HTTPS'] is not 
set)
// e.g. when you're running Roundcube behind a https proxy
$rcmail_config['use_https'] = true;


this option not work

please maybe a fix
-- 
   http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC2626742
   gpg --keyserver pgp.mit.edu --recv-key C2626742

   http://urlshort.eu fakessh @
   http://gplus.to/sshfake
   http://gplus.to/sshswilting
   http://gplus.to/john.swilting
   https://lists.fakessh.eu/mailman/
   This list is moderated by me, but all applications will be accepted
   provided they receive a note of presentation
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can't get Grub work on clone of machine

2012-07-16 Thread Les Mikesell
On Mon, Jul 16, 2012 at 9:35 PM, Gregory Machin  wrote:
>>
> Just to clarify my understanding of grub's syntax for hard disk partitions
> /dev/sda = hd0

Normally yes, but grub may have its own idea about what bios will
consider to be hd0.  You can force it with:
device (hd0) /dev/sda

> /dev/sda1 = hd0,0
> /dev/sda2 = hd0,1

Yes, you probably really need
root (hd0,0) instead the  (hd0,1)  I said earlier.

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


Re: [CentOS] probleme rpm roundcubemail-0.7.2-2.el6.noarch force ssl fail

2012-07-16 Thread fakessh
Le 2012-07-17 04:38, fakessh a écrit :
> hello guys
> hello master of holy bible of centos
>
> I am having problems with the package for EPEL roundcubemail centos 6
> options for config roundcubemail to force SSL connections not working
>
> // enforce connections over https
> // with this option enabled, all non-secure connections will be
> redirected.
> // set the port for the ssl connection as value of this option if it
> differs from the default 443
> $rcmail_config['force_https'] = true;
>
> // tell PHP that it should work as under secure connection
> // even if it doesn't recognize it as secure ($_SERVER['HTTPS'] is 
> not
> set)
> // e.g. when you're running Roundcube behind a https proxy
> $rcmail_config['use_https'] = true;
>
>
> this option not work
>
> please maybe a fix


to run the ssl redirect I have been obliged to add this to the config 
file roundcubemail

~]# cat /etc/httpd/conf.d/roundcubemail.conf
#
# Round Cube Webmail is a browser-based multilingual IMAP client
#

Alias /roundcubemail /usr/share/roundcubemail


 Order Deny,Allow
 Deny from all
 Allow from all



RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}



-- 
   http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC2626742
   gpg --keyserver pgp.mit.edu --recv-key C2626742

   http://urlshort.eu fakessh @
   http://gplus.to/sshfake
   http://gplus.to/sshswilting
   http://gplus.to/john.swilting
   https://lists.fakessh.eu/mailman/
   This list is moderated by me, but all applications will be accepted
   provided they receive a note of presentation
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] gdm login keyboard layout selector missing

2012-07-16 Thread Robert Arkiletian
How do I get the keyboard layout selector in gdm login for 6.3? I have
language selector but no keyboard layout selector.

-- 
Robert Arkiletian
Eric Hamber Secondary, Vancouver, Canada
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos