Re: [CentOS] Documentation question

2012-05-11 Thread John R Pierce
On 05/11/12 6:00 PM, Jason Pyeron wrote:
>>> I'm curious why the CentOS Documentation here:
>>> >  >  http://www.centos.org/docs/5/
>>> >  >
>>> >  >  ...stops at CentOS 5.5.
>>> >  >
>>> >  >  And also why there is no:
>>> >  >  http://www.centos.org/docs/6/
>>> >  >
>>> >  >
>>> >  >  *** Curiosity killed the cat. ***
>> >  
>> >  Because no one has volunteered to maintain the documentation
>> >  that is newer than that.
> What is needed of a volunteer to maintain the documentation?

presumably someone to take the EL6 docs and remove all RH branding, 
format them for the CentOS site and post them, then maintain updates.  
The couple EL6 manuals I looked at were under a Creative Commons license.



-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

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


Re: [CentOS] problems with luci on CentOS 6.2

2012-05-11 Thread Joseph L. Casale
>00:12:19,603 ERROR [luci.lib.ricci_helpers] Unable to retrieve the batch
>number from virtsrv3n3

Looks like that comes from:
./usr/lib64/python2.6/site-packages/luci/lib/ricci_helpers.py

Whats unfortunate is their are several functions that emit that. I presume you
could make them all unique if you actually don't know what the real issue is.

Why dont you pastebin a bigger chunk of that log?

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


Re: [CentOS] Documentation question

2012-05-11 Thread Muhammad A. Fatahna
> What is needed of a volunteer to maintain the documentation?
i think, how if make translation of the various country so
documentation contained on the centos more complete :)
so we can list a few volunteer members help create documentation.
-- 
http://mafatahna.web.id
@mafatahna
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Documentation question

2012-05-11 Thread Jason Pyeron

> -Original Message-
> From: Johnny Hughes
> Sent: Friday, May 11, 2012 20:37
> 
> On 05/11/2012 06:40 PM, Nate Duehr wrote:
> > Apologies if this is a FAQ or it's simply due to a lack of 
> volunteers. 
> >
> >
> > I'm curious why the CentOS Documentation here: 
> > http://www.centos.org/docs/5/
> >
> > ...stops at CentOS 5.5.
> >
> > And also why there is no: 
> > http://www.centos.org/docs/6/
> >
> >
> > *** Curiosity killed the cat. ***
> 
> Because no one has volunteered to maintain the documentation 
> that is newer than that.

What is needed of a volunteer to maintain the documentation?


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 

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


Re: [CentOS] OT: PCI express questions???

2012-05-11 Thread John R Pierce
On 05/11/12 4:03 PM, mcclnx mcc wrote:
> 1. does PCI express meaning PCIE 1.0???

it means they didn't specify.

>
> 2. does PCIE generation 2 same like PCIE 2.0???

probably.  ask the marketing droids that wrote that.   the formal name 
is PCI Express Base 2.0 specification

>
> 3. what is speed on following:

http://en.wikipedia.org/wiki/PCI_Express#History_and_revisions

PCI-E 1.x is 2.5GT/s and 250MByte/sec burst transfer per lane.

PCI-E 2.x is 5GT/s and 500MB/sec burst transfer per lane.

4 lanes are capable of 4 times that, 8 lanes, 8 times that, but each 
lane can function independently, and its up to the card and its driver 
software to dettermine how to utilize the lanes.

-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

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


Re: [CentOS] Documentation question

2012-05-11 Thread Muhammad A. Fatahna
> Because no one has volunteered to maintain the documentation that is
> newer than that.

i want to ask about documentation
can do became contribute documentation example wiki language indonesia?
i still newbie on CentOS, but i want to learn and give beneficial to
the community specialy in my country :)
-- 
http://mafatahna.web.id
@mafatahna
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Documentation question

2012-05-11 Thread Johnny Hughes
On 05/11/2012 06:40 PM, Nate Duehr wrote:
> Apologies if this is a FAQ or it's simply due to a lack of volunteers. 
>
>
> I'm curious why the CentOS Documentation here: 
> http://www.centos.org/docs/5/
>
> ...stops at CentOS 5.5.
>
> And also why there is no: 
> http://www.centos.org/docs/6/
>
>
> *** Curiosity killed the cat. ***

Because no one has volunteered to maintain the documentation that is
newer than that.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Documentation question

2012-05-11 Thread Nate Duehr
Apologies if this is a FAQ or it's simply due to a lack of volunteers. 


I'm curious why the CentOS Documentation here: 
http://www.centos.org/docs/5/

...stops at CentOS 5.5.

And also why there is no: 
http://www.centos.org/docs/6/


*** Curiosity killed the cat. ***


Thanks, 

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


[CentOS] OT: PCI express questions???

2012-05-11 Thread mcclnx mcc
We have several DELL servers run under CENTOS 5.  I check server spec and found 
some servers expansion slot say PCIE and some say PCIE generation 2.

My questions are:

1. does PCI express meaning PCIE 1.0???

2. does PCIE generation 2 same like PCIE 2.0???

3. what is speed on following:

PCI  X4:
PCI  X8:

PCI generation 2 X4:
PCI generation 2 X8:

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


[CentOS] problems with luci on CentOS 6.2

2012-05-11 Thread Riccardo Veraldi
Hello,
I have a 5 node cluster.
virtsrv1n1
virtsrv2n2
virtsrv3n3
virtsrv4n4
virtsrv5n5

 From Luci I am unable to manage virtsrv3n3 machine. Luci is unable to 
reboot it for example and
if I select the node properties it shows me no status for Cluster 
Daemons for this specific node.
All the other nodes are fully manageable from luci.
from command line everything seems to work fine.

net-cluster @ Sat May 12 00:53:33 2012
Member Status: Quorate

  Member Name ID   Status
  --   --
  virtsrv1n1.mydomain.org  1 Online, Local, rgmanager
  virtsrv2n2.mydomain.org  2 Online, rgmanager
  virtsrv3n3.mydomain.org  3 Online, rgmanager
  virtsrv4n4.mydomain.org  4 Online, rgmanager
  virtsrv5n5.mydomain.org  5 Online, rgmanager

Looking the luci log i see this error if i try for exmaple to reboot the 
node from luci:

00:12:19,603 ERROR [luci.lib.ricci_helpers] Unable to retrieve the batch 
number from virtsrv3n3

ricci is working ok on the node as well as cman rgmanager and gfs2, and 
I do not have iptables active.
Any hints ?

thank you

Rick




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


Re: [CentOS] Allow updates but not upgrades

2012-05-11 Thread Warren Young
On 5/11/2012 11:34 AM, Les Mikesell wrote:
> On Fri, May 11, 2012 at 11:49 AM, Warren Young  wrote:
>
>>> If you've included a few programs from EPEL (etc.),  do you mirror
>>> that too?
>>
>> Who mentioned mirroring?
>
> How else can you be sure you have all packages needed for some
> arbitrary mix of installations?

If your trusted repo doesn't have all the packages needed, the system 
you tested on does not match the installed systems, hence you have no 
good test.

If you have multiple system configurations, you need to test once on 
each system configuration.  At that point, you will have all the 
packages you need to upgrade their peers.

You might need one repo per system configuration, if the difference 
between them is great enough.  But the number of such repos needed 
cannot be large, else you cannot be testing properly.  For this whole 
scheme to work, you have to be able to one test machine for each stable 
machine, and say, "These two boxes have the same RPM set."

>> A local repo is just a copy of a set of packages that does what you
>> want.  It doesn't necessarily have to have everything available in all
>> repos you pull from.
>
> So the same person has to do the installs of of the all the machines?
> Or coordinate with a group?  That seems somewhat unreasonable.

No.

There is no more coupling here than between you and Red Hat.  The 
private repo is a decoupling mechanism.  The person updating the private 
repository does not have to be the one who uses it.

>> If you think you want the freedom to install random things in an ad hoc
>> fashion, that kind of goes against the idea of a tested repo.
>
> I don't want my own tested repos containing the same packages that are
> available in the distribution.  I want to be able to tell yum to
> reproduce the package list/versions that are on the tested system.  It
> knows where to get them.  Isn't it overkill to keep a whole repo
> snapshot copy when you really just need a way to tell yum the package
> versions you want on the 2nd box?

Why all the agida?  This isn't difficult:

Step 0, done only once: set up yum repo, and modify the "stable" clients 
to use it:

 http://fedoranews.org/contributors/tony_smith/yum/

Leave the test machines pointing at the official yum repos.  But, enable 
the "keepcache" setting in their yum.conf.

Step 1: When each test machine is deemed stable after a yum update, 
rsync its /var/cache/yum/updates/packages tree into the yum repo.

Step 2: yum-arch the updated repo

Step 3: yum update the dependent machines.

You can substitute cron discipline for Step 3, so that the yum updates 
always happen while the repo isn't being changed.

That's it.  Some minor setup, then three (or two) easy steps per update.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XEN or KVM - performance/stability/security?

2012-05-11 Thread Gordon Messmer
A late reply, but hopefully a useful set of feedback for the archives:

On 04/20/2012 05:59 AM, Rafał Radecki wrote:
> Key factors from my opint of view are:
> - stability (which one runs more smoothly on CentOS?)

I found that xenconsoled could frequently crash in Xen dom0, and that 
guests would be unable to reboot until it was fixed.  I also found that 
paravirt CentOS domUs would not boot if they were updated before the 
dom0.  In short, Xen paravirt was very fragile and troublesome.  I never 
tested Xen with hardware virtualization.

I have had no such problems with KVM.  In my experience KVM is much more 
stable than Xen paravirtualization.  Xen HVM probably would suffer at 
least some of the same problems.

> - performance (XEN PV/HVM(with or without pv drivers) vs KVM HVM(with or
> without pv drivers))

PV drivers will make some difference, but the biggest performance 
difference you'll see is probably the difference between file-backed VMs 
and LVM-backed VMs.  File-backed VMs are extremely slow.  Whichever 
system you choose, use LVMs as the backing for your guests.

> - security

There have been bugs that allow guests to escalate privileges and access 
host resources, but they're relatively few.  I don't think there's a 
significant difference between the two in this area.

Overall I advise the use of KVM.  It should be more stable, and has the 
advantage of Red Hat support.

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


Re: [CentOS] when is the o.s. considered to be at a certain minor version? Or, is it safe to apply only certain package updates from the next release version?

2012-05-11 Thread Jim Wildman
If you dig through the Red Hat site enough, you will find
that there is no Red Hat Enterprise Linux 6.2.  There is only
RHEL6.  5.x,6.x are NOT defined outside of what is on the 
isos.  So far as I know, it applies to CentOS.

This is not Solaris/AIX/HPUX/Windows.  There are no defined releases
or 'service packs' which guarantee a particular _set_ of minor
versions to be present.
.
On Thu, 10 May 2012, Phil Schaffner wrote:

> Ljubomir Ljubojevic wrote on 05/10/2012 05:56 PM:
>> I do not agree with "minor versions are only snapshots in time when
>> install media is re-generated". I should have left only part of the
>> sentence I disagree with.
>
> What's not to agree with in that? It may be incomplete, but not incorrect.
>
> Would you agree with "Minor versions are snapshots in time when all of
> the latest updates, and a batch of new ones, are merged into a new base
> repo, the updates repo is emptied, and new installation media are
> generated"?
>
> Phil
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

--
Jim Wildman, CISSP, RHCE   j...@rossberry.com http://www.rossberry.net
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to prevent virtual machines running twice on the disk images?

2012-05-11 Thread Theo Band
On 05/11/2012 06:06 PM, Paul Heinlein wrote:
> On Fri, 11 May 2012, Theo Band wrote:
>
>> I use KVM on two identical centos5 hosts. []
>>
>> My question is, how can I prevent host A from starting a "shut off"
>> VM that actually has been migrated to host B? The VM could actually
>> be running on any another host. It could also have been crashed. The
>> most simple solution would be some sort of lock file placed next to
>> the disk image location, so seen by all hosts. But perhaps there is
>> another way of working with virt-manager that I am not aware of?
>
> My way of dealing with that is to undefine the domain on host A after
> it's been moved to host B, e.g.,
>
>   virsh migrate --live myvm remote://host-b
>   virsh undefine myvm
>
> The CentOS 6 version of virsh allows those operations to be combined:
>
>   virsh migrate --live --persistent --undefinesource myvm ...

Thanks,  that's the tip I needed. "undefine".


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


Re: [CentOS] Allow updates but not upgrades

2012-05-11 Thread Mihai T. Lazarescu
Can this plugin help?


https://docs.fedoraproject.org/en-US/Fedora/14/html/Software_Management_Guide/ch06s25.html

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


Re: [CentOS] Allow updates but not upgrades

2012-05-11 Thread Les Mikesell
On Fri, May 11, 2012 at 11:49 AM, Warren Young  wrote:
>>>
>> No, its not what I what.  I have multiple boxes but in different
>> locations,
>
> So put the repo server out in the cloud somewhere.  Put it on a
> public-facing box the others all have access to, or rent a VPS
> somewhere, or grab some EC2 space, or...

None of the suggested approaches are impossible.  They just seem like
a lot very unnecessary work to maintain some installations of a
distribution whose main feature is that updates are supposed to not
break things.

>> If you've included a few programs from EPEL (etc.),  do you mirror
>> that too?
>
> Who mentioned mirroring?

How else can you be sure you have all packages needed for some
arbitrary mix of installations?

> A local repo is just a copy of a set of packages that does what you
> want.  It doesn't necessarily have to have everything available in all
> repos you pull from.

So the same person has to do the installs of of the all the machines?
Or coordinate with a group?  That seems somewhat unreasonable.

> If you think you want the freedom to install random things in an ad hoc
> fashion, that kind of goes against the idea of a tested repo.

I don't want my own tested repos containing the same packages that are
available in the distribution.  I want to be able to tell yum to
reproduce the package list/versions that are on the tested system.  It
knows where to get them.  Isn't it overkill to keep a whole repo
snapshot copy when you really just need a way to tell yum the package
versions you want on the 2nd box?   If packages were routinely deleted
from the public repos, cloning them to make sure you could get a copy
of an older version in the future might make sense, but I don't think
that has ever been an issue.

And even simpler than tracking the full package/version list would be
a way to tell yum to pretend that any packages in the repo newer than
the update on the test box were not there.But, I don't think that
meshes with the way repo metadata normally works - it probably would
have trouble finding versions newer than installed but not the very
latest even though it is trivial to see them in a directory listing
yourself.

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


Re: [CentOS] Allow updates but not upgrades

2012-05-11 Thread Warren Young
On 5/11/2012 9:07 AM, Les Mikesell wrote:
> On Fri, May 11, 2012 at 9:25 AM, Warren Young  wrote:
>>
>>>
 There are several solutions to be able to make that happen ... manual
 repos yourself, mrepo, spacewalk, etc.
>>>
>>> All of those that I've investigated make you manage copies of packages
>>> locally which seems like overkill when you aren't changing them
>>> locally.
>>
>> It seems to me that if you want this "stop on 6.x" feature, it's because
>> you certainly[*] have more than 1 box to manage, which means keeping a
>> local repo with local copies of the RPMs will result in faster updates,
>> with less impact on your Internet link.
>>
>> So it's a feature.
>
> No, its not what I what.  I have multiple boxes but in different
> locations,

So put the repo server out in the cloud somewhere.  Put it on a 
public-facing box the others all have access to, or rent a VPS 
somewhere, or grab some EC2 space, or...

> If you've included a few programs from EPEL (etc.),  do you mirror
> that too?

Who mentioned mirroring?

A local repo is just a copy of a set of packages that does what you 
want.  It doesn't necessarily have to have everything available in all 
repos you pull from.

If you think you want the freedom to install random things in an ad hoc 
fashion, that kind of goes against the idea of a tested repo.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cyrus-imapd update from 2.2.12 to 2.3.16

2012-05-11 Thread John Doe
From: James B. Byrne 

>Is this a change in behaviour for 2.3 vice 2.2 or do I have a problem?
>Has anyone run into this and if so, how was it resolved?

Maybe search 'quota' in the changelog...
http://cyrusimap.web.cmu.edu/docs/cyrus-imapd/2.4.0/changes.php

Changes to the Cyrus IMAP Server since 2.3.14
    Fixed incorrect quota calculations on sync_server when replicating 
unexpunged messages (thanks David Carter)
Changes to the Cyrus IMAP Server since 2.3.13
    Fixed quota calculation to ignore files not mentioned in the index
Changes to the Cyrus IMAP Server since 2.2.x
    Support 64-bit quota usage (both per mailbox and for the entire quotaroot), 
based on a patch from Jeremy Rumpf. Development sponsored by FastMail.
Changes to the Cyrus IMAP Server since 2.2.13


JD

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


Re: [CentOS] How to prevent virtual machines running twice on the disk images?

2012-05-11 Thread Paul Heinlein

On Fri, 11 May 2012, Theo Band wrote:


I use KVM on two identical centos5 hosts. []

My question is, how can I prevent host A from starting a "shut off" 
VM that actually has been migrated to host B? The VM could actually 
be running on any another host. It could also have been crashed. The 
most simple solution would be some sort of lock file placed next to 
the disk image location, so seen by all hosts. But perhaps there is 
another way of working with virt-manager that I am not aware of?


My way of dealing with that is to undefine the domain on host A after 
it's been moved to host B, e.g.,


  virsh migrate --live myvm remote://host-b
  virsh undefine myvm

The CentOS 6 version of virsh allows those operations to be combined:

  virsh migrate --live --persistent --undefinesource myvm ...

--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2012-05-11 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:0527  CentOS 5 gcc Update (Johnny Hughes)


--

Message: 1
Date: Thu, 10 May 2012 18:15:28 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2012:0527  CentOS 5 gcc Update
To: centos-annou...@centos.org
Message-ID: <20120510181528.ga...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2012:0527 

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

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

i386:
c205107bf53281f15e974963cd804f42dd41992b2831cc42f76c07d2b27527c4  
cpp-4.1.2-52.el5_8.1.i386.rpm
bc3a4f2905fbafd295d64e15e5cf60b83a7ca6b8dd8eab9cc8b4162eb0b304f7  
gcc-4.1.2-52.el5_8.1.i386.rpm
927e4e786e2e32ac1f1c1bcffe0082bd405cc219fa72e36192800561a04d25f7  
gcc-c++-4.1.2-52.el5_8.1.i386.rpm
7ef8a1b8634700d507baa3db9fea4d4372e21bcdf54921dec020659bbd432fc1  
gcc-gfortran-4.1.2-52.el5_8.1.i386.rpm
9e8d0438d6d4621d9f347799bfe291b6abc93e138a18d72476faaf1bd67431b4  
gcc-gnat-4.1.2-52.el5_8.1.i386.rpm
1e682971a158ce026bf8cf00e6ba253c445050591e90e48dbdb290ca7d79175c  
gcc-java-4.1.2-52.el5_8.1.i386.rpm
beb46d9cd8ec729e87108f46f7d23808715f0f95eb2c64335f42782f923f7ce9  
gcc-objc-4.1.2-52.el5_8.1.i386.rpm
06a8b09901fbfcec1012bd1f508cbc401466b744d0fe55bb4b7fd4f19a0f279a  
gcc-objc++-4.1.2-52.el5_8.1.i386.rpm
5a7bb3ef615188bcc207fcb77345bda7503620c35c2ff86326ed7034c908035a  
libgcc-4.1.2-52.el5_8.1.i386.rpm
b490012aea24741befbca3940bb716b57d21c5134e0964fba832e93ce84a30ba  
libgcj-4.1.2-52.el5_8.1.i386.rpm
00d24cf528e913e6acf3c84cfd166336a4a050bd1a124b261e1b75f055221135  
libgcj-devel-4.1.2-52.el5_8.1.i386.rpm
d5404430d1d8450fa2672848a98e7aa63f4184065067f315aa63e3b04f7c  
libgcj-src-4.1.2-52.el5_8.1.i386.rpm
6334a7d6c53f9a92b155b01a324367025f07f5e65a73c2b9dbf08b179ac3737f  
libgfortran-4.1.2-52.el5_8.1.i386.rpm
b63b2f24e73fa30c498c1089262a4d6cd256e6bc27cc1b586ad73d2917500eea  
libgnat-4.1.2-52.el5_8.1.i386.rpm
f6c3ee61181d2056dc644da2a7ef4c50435b3a5ff3d7fc16377432e8b930a459  
libmudflap-4.1.2-52.el5_8.1.i386.rpm
e8ab4e8ffd685a08f77d73b051d76ad7cbac146dac8146d950661bdd2ff6e8da  
libmudflap-devel-4.1.2-52.el5_8.1.i386.rpm
18b67a432ab065acc32059ccebfc2df57be79c3cbc79d3a158bd628921cb8b6d  
libobjc-4.1.2-52.el5_8.1.i386.rpm
007dcb3c61e4dbf5e3ba762dcfcd8d2df87746a29eacc905d91b34a79d61edc2  
libstdc++-4.1.2-52.el5_8.1.i386.rpm
b93807b9263e2dc7b38c44fc805c11566d114901def2df007499c61ce81435d9  
libstdc++-devel-4.1.2-52.el5_8.1.i386.rpm

x86_64:
f2838a532365b057771413f2912a876f231f32800e2918d745bc75b3bebd9fd4  
cpp-4.1.2-52.el5_8.1.x86_64.rpm
b9fe97fde663b9f0752803ddc6eaeb4bde77820743bbd442c47b6878e967b975  
gcc-4.1.2-52.el5_8.1.x86_64.rpm
3ce51e38b943f9d389e7ad66029fea87ed0d2e1898e360e968a6ae7ea4158add  
gcc-c++-4.1.2-52.el5_8.1.x86_64.rpm
c78e25980b622d0d8e4f96e74ddda965790da819a33ba99ad93a1aeb4507c978  
gcc-gfortran-4.1.2-52.el5_8.1.x86_64.rpm
1375aa6ecd87d732d26e757f71e6f74c0ea27dd2012f70e11ccec7967d08ee03  
gcc-gnat-4.1.2-52.el5_8.1.x86_64.rpm
392c74f8235a04bdaa5f8bd4f64b3901a6bf01112fc65b2d8d190c5798e85dd4  
gcc-java-4.1.2-52.el5_8.1.x86_64.rpm
eaea39a45c72518b0c9be70e6d9a62efcf3666fcb49f4d5a7fc3f1ff5ea103ff  
gcc-objc-4.1.2-52.el5_8.1.x86_64.rpm
deff27b1f70cfeca6cc7b5fe4a490f3ac965244bb7e5ddcc8a907e22a934ceb4  
gcc-objc++-4.1.2-52.el5_8.1.x86_64.rpm
5a7bb3ef615188bcc207fcb77345bda7503620c35c2ff86326ed7034c908035a  
libgcc-4.1.2-52.el5_8.1.i386.rpm
36c1af5dbce09d47dd317578e09187e66048fae6e6a6b2f62fdfffb8f3fcb50e  
libgcc-4.1.2-52.el5_8.1.x86_64.rpm
b490012aea24741befbca3940bb716b57d21c5134e0964fba832e93ce84a30ba  
libgcj-4.1.2-52.el5_8.1.i386.rpm
5e0a967dabebdf1741b4fb287c8d5914b661561661b80356eb33b290af7e46c1  
libgcj-4.1.2-52.el5_8.1.x86_64.rpm
00d24cf528e913e6acf3c84cfd166336a4a050bd1a124b261e1b75f055221135  
libgcj-devel-4.1.2-52.el5_8.1.i386.rpm
8818e0da275c80fe0542742754126760818d2ae9ec8bd71e541c0539708153bd  
libgcj-devel-4.1.2-52.el5_8.1.x86_64.rpm
853ddc43e959f633fde7b19f6db91300f01bee9ed62268f693ddedc8eb0f7d09  
libgcj-src-4.1.2-52.el5_8.1.x86_64.rpm
6334a7d6c53f9a92b155b01a324367025f07f5e65a73c2b9dbf08b179ac3737f  
libgfortran-4.1.2-52.el5_8.1.i386.rpm
ccde2fbc7cb82af45bd24b9e4371fa2025bb63267bb3894202baffe5b001f172  
libgfortran-4.1.2-52.el5_8.1.x86_64.rpm
b63b2f24e73fa30c498c1089262a4d6cd256e6bc27cc1b586ad73d2917500eea  
libgnat-4.1.2-52.el5_8.1.i386.rpm
51

Re: [CentOS] Floating VIP...

2012-05-11 Thread Dennis Jacobfeuerborn
On 05/11/2012 02:40 PM, John Doe wrote:
> Hi,
> 
> right now I am using only one external server as a gateway for the internal 
> servers.
> I would like to enable a fail-over on a second server.
> To implement the floating VIP, should I use heartbeat+pacemaker?
> Or is there something more "lightweight"?
> Basically, I just need server2 up the VIP when server1 is down, and server2 
> down the VIP when server1 is back up (or server 1 does not up the VIP seeing 
> server2 has it already).

If you only need IP handling then you can use keeplived which is more
lightweight than pacemaker but can only deal with networking and nothing else.

Hearbeat isn't developed anymore so if you want to go the pacemaker route
you probably want to go for corosync+pacemaker instead.

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


[CentOS] Cyrus-imapd update from 2.2.12 to 2.3.16

2012-05-11 Thread James B. Byrne
We are trying to move our mail store from a host running cyrus-imapd
2.2.12 under CentOS-4 to one running 2.3.16 under CentOS-6.  The
current host is a 32 bit architecture. The new host is 64 bit. We have
followed the update guide found at:

http://www.cyrusimap.org/docs/cyrus-imapd/2.3.16/install-upgrade.php

The steps we followed were:

1. Install cyrus-imapd et al on the new host.

2. Modify /etc/cyrus.conf and /etc/imapd.conf to suit our
requirements.

3. On the old host dump the mailbox.db in flat format using
/var/lib/cyrus-imapd/ctl_mboxlist -d > mboxlist.txt

4. Copy the mboxlist.txt file and the mail spool from the old to the
new system

5. Run SELinux restorecon -fr on /var/spool/imap to set the correct
contexts and ownership.

6. Load mailbox.db from mboxlist.txt using cat mboxlist.txt |
/usr/lib/cyrus-imapd/ctl_mboxlist -u

7. Run /usr/lib/imapd-cyrus/reconstruct -rfg user

8. Run /usr/lib/imapd-cyrus/reconstruct -G user

9. Run /usr/lib/imapd-cyrus/quota -f

10. Start saslauthd and cyrus-imapd services.

All the transferred mailboxes are seen and the imapd configuration
data seems correct. The problem is that the quotas reported for each
mailbox tree do not seem to aggregate under 2.3 as they did on 2.2. 
So, for example a user with an overall allocation of 500Mb reporting
70% utilization for the INBOX on the 2.2.13 version reports 3% on the
2.3.16 server even though the contents of the mailbox trees are
identical.  It seems that the new version calculates quota only for
the INBOX itself, and not for all of the sub-directory contents.

Is this a change in behaviour for 2.3 vice 2.2 or do I have a problem?
 Has anyone run into this and if so, how was it resolved?


-- 
***  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] Allow updates but not upgrades

2012-05-11 Thread Les Mikesell
On Fri, May 11, 2012 at 9:25 AM, Warren Young  wrote:
>
>>
>>> There are several solutions to be able to make that happen ... manual
>>> repos yourself, mrepo, spacewalk, etc.
>>
>> All of those that I've investigated make you manage copies of packages
>> locally which seems like overkill when you aren't changing them
>> locally.
>
> It seems to me that if you want this "stop on 6.x" feature, it's because
> you certainly[*] have more than 1 box to manage, which means keeping a
> local repo with local copies of the RPMs will result in faster updates,
> with less impact on your Internet link.
>
> So it's a feature.

No, its not what I what.  I have multiple boxes but in different
locations, all of which have good internet connectivity - better than
to each other..  And the people who can verify the application level
tests are not the same ones who would be managing a local repo copy so
it would be much more cumbersome to mirror a repo to the same rev at
all locations to freeze the contents, update a test box from it, have
the testing performed, then update the production boxes from those
frozen repos - and probably duplicating all that infrastructure for
every application since different testing would be involved and the
timing overlap would not be predictable.

So far I've been fortunate that breakage from updates is very rare, so
I've gotten by by just watching the list of updates that yum intends
to perform for changes likely to affect anything between the tested
version and the production rollout, but I'd really prefer it if yum
had a way to do repeatable operations even if there are additions to
the repos.

Like Johnny said - he (and upstream) is in control of what yum will do
- and realistically there has been more QA/testing on the code than
any individual is likely to match so the possibility of breakage comes
down to very specific things about your applications or hardware.
Still, there is the suggestion that very controlled testing would be a
good thing - but it would be even better if the tools supported it
without having to roll out a vast amount of new infrastructure and
administration.   It seems really crazy to have to mirror an entire
repository in every state that you might want to re-use just to be
able to pick up updates to a minimally-installed system predictably.
If you've included a few programs from EPEL (etc.),  do you mirror
that too?

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


Re: [CentOS] Allow updates but not upgrades

2012-05-11 Thread Warren Young
On 5/10/2012 6:52 AM, Les Mikesell wrote:
> On Thu, May 10, 2012 at 4:58 AM, Johnny Hughes  wrote:
>>
>> There are several solutions to be able to make that happen ... manual
>> repos yourself, mrepo, spacewalk, etc.
>
> All of those that I've investigated make you manage copies of packages
> locally which seems like overkill when you aren't changing them
> locally.

It seems to me that if you want this "stop on 6.x" feature, it's because 
you certainly[*] have more than 1 box to manage, which means keeping a 
local repo with local copies of the RPMs will result in faster updates, 
with less impact on your Internet link.

So it's a feature.

[*] If you have only 1 box to manage, there can be no need for this, 
unless you have some third party telling you which 6.x snapshot is 
blessed.  Otherwise, you're testing that 1 box, and after testing, 
you're updated, so there is no need for a blessed repository.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to prevent virtual machines running twice on the disk images?

2012-05-11 Thread Tait Clarridge


On Fri, 2012-05-11 at 12:51 +0200, Theo Band wrote:
> I use KVM on two identical centos5 hosts.
> 
> I can live migrate the virtual machines from one to the other and it
> works great. Once I do this, I can see VM definitions on both hosts
> using virt-manager or virsh list --all
> On one machine the VM is running, on the other it reports "shut off".
> The disk images are accessible to both host machines and I want to have
> only one running a the time (of course). If the VM locks up, I could by
> mistake think that the machine is not running and try to start it on the
> wrong host.
> 
> My question is, how can I prevent host A from starting a "shut off" VM
> that actually has been migrated to host B? The VM could actually be
> running on any another host. It could also have been crashed. The most
> simple solution would be some sort of lock file placed next to the disk
> image location, so seen by all hosts. But perhaps there is another way
> of working with virt-manager that I am not aware of?
> 
> Theo

This may not be what you are looking for, but you could always dump the
xml of the domain to a file (so you could define/start it again if
needed), then undefine the domain using virsh. 

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


Re: [CentOS] Floating VIP...

2012-05-11 Thread Tait Clarridge


On Fri, 2012-05-11 at 05:40 -0700, John Doe wrote:
> Hi,
> 
> right now I am using only one external server as a gateway for the internal 
> servers.
> I would like to enable a fail-over on a second server.
> To implement the floating VIP, should I use heartbeat+pacemaker?
> Or is there something more "lightweight"?
> Basically, I just need server2 up the VIP when server1 is down, and server2 
> down the VIP when server1 is back up (or server 1 does not up the VIP seeing 
> server2 has it already).
> 
> Thx,
> JD

Heartbeat is a pretty lightweight way of doing this. With any
failover/VIP setup there is always the possibility of a split-brain but
for the most part I haven't seen this happen in my environment.

Also, use IPaddr2 as the resource type as it will do an gratuitous arp,
significantly decreasing the failover time.

eg. [haresources file]

node.fqdn IPaddr2::10.10.10.10/24/eth1

Substitute your IP, mask and network interface.

There are some options you can set as well that tell it not to fail back
automatically, just so you can check the box that failed before pushing
services back to it.

Tait

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


[CentOS] Floating VIP...

2012-05-11 Thread John Doe
Hi,

right now I am using only one external server as a gateway for the internal 
servers.
I would like to enable a fail-over on a second server.
To implement the floating VIP, should I use heartbeat+pacemaker?
Or is there something more "lightweight"?
Basically, I just need server2 up the VIP when server1 is down, and server2 
down the VIP when server1 is back up (or server 1 does not up the VIP seeing 
server2 has it already).

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


Re: [CentOS] Konqueror tree view in CentOS 6

2012-05-11 Thread Timothy Madden
On 05/08/2012 05:18 PM, Nux! wrote:
> On 08.05.2012 15:07, Timothy Madden wrote:
>> On 05/08/2012 03:33 PM, Nux! wrote:
>>> On 08.05.2012 12:33, Timothy Madden wrote:
 Hello

 Since I got CentOS 6 I no longer have the tree view in Konqueror,
 and
 none of the other file managers have it. I believe this is because
 some
 plugin has not been ported to the new version of Konqueror.

 Please, is there a nice way to install the old Konqueror and its
 plugins
 on my CentOS 6 ?
>>
>> Thank you.
>>
>> I tried dolphin, and it has the tree view, it is just not the
>> default,
>> but it works well for me. But it does not let me create a new
>> directory
>> in the tree view, though ...
>
> Well.. this might not be related to Centos anymore then, try taking it
> to the KDE lists.

Actually I was wrong, it is _nautilus_ who has the tree view (press 
Ctrl+2 after nautilus starts), not dolphin, but yes, the problem is solved.

Thank you for support,
Timothy Madden


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


Re: [CentOS] A desktop Centos remix

2012-05-11 Thread Nux!
On 29.01.2012 22:11, n...@li.nux.ro wrote:
> Hello Centos users!
>
> I'm doing a Centos 6 desktop oriented remix called Stella.
> This has been brewing since the summer and it's starting to get 
> ready. :-)
> I've backported a lot of packages from Fedora and Rpmfusion and I
> bundle several other repos, too, resulting in a big range of software
> available, including but not limited to:
>
> LibreOffice, VLC, MPlayer, Shutter, Arista, Java, Flash, GParted, 
> extra wifi
> drivers etc.
>
>
> You can read (just slightly) more about it here: 
> http://li.nux.ro/stella.
> I'd love to receive any feedback.
>
>
> Cheerio!
>
> Nux
>
>

Hello,

For those interested, I've released new updated images of Stella:
http://www.nux.ro/archive/2012/05/Stellar_refreshments.html

Probably the next release will be after CentOS 6.3 is built.

Let me know of any issues etc.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to prevent virtual machines running twice on the disk images?

2012-05-11 Thread Regendoerp, Achim
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Theo Band
> Sent: 11 May 2012 12:28
> To: CentOS mailing list
> Subject: Re: [CentOS] How to prevent virtual machines running twice on the
> disk images?
>
> On 05/11/2012 01:07 PM, Regendoerp, Achim wrote:
> >> -Original Message-
> >> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org]
> On
> >> Behalf Of Theo Band
> >> Sent: 11 May 2012 11:51
> >> To: CentOS mailing list
> >> Subject: [CentOS] How to prevent virtual machines running twice on
> >> the disk images?
> >>
> >> I use KVM on two identical centos5 hosts.
> >>
> >> I can live migrate the virtual machines from one to the other and it
> >> works great. Once I do this, I can see VM definitions on both hosts
> >> using virt- manager or virsh list --all On one machine the VM is
> >> running, on the other it reports "shut off".
> >> The disk images are accessible to both host machines and I want to
> >> have only one running a the time (of course). If the VM locks up, I
> >> could by mistake think that the machine is not running and try to start it
> on the wrong host.
> >>
> >> My question is, how can I prevent host A from starting a "shut off"
> >> VM that actually has been migrated to host B? The VM could actually
> >> be running on any another host. It could also have been crashed. The
> >> most simple solution would be some sort of lock file placed next to
> >> the disk image location, so seen by all hosts. But perhaps there is
> >> another way of working with virt- manager that I am not aware of?
> >>
> >> Theo
> > Are those machines clustered? I used drbd/pacemaker/corosync to
> > achieve something similar across two CentOS hosts with KVM machines,
> > and the VM can only be started on the master node where the DRBD drive
> > is mounted and accessible. Live migrations are fairly easy too with
> > this method
> >
> No, not clustered.
> drbd I do use, but that means a drbd block devices for every individual vm. I
> tried that but find it a lot of effort to maintain. One shared
> (NFS) filesystem gives a lot more freedom to move a VM to a machine host
> machine that has a lower load. I don't mind doing that by hand. It's not for
> high availability.
>
> Theo

Hm, I've used one block device for multiple VMs, which made it easier, and 
prevent the hassle with x block devices for x VMs.
Other than that, no idea if virt-manager can do what you're looking for.

Achim




This email has been sent from Gala Coral Group Limited ("GCG") or a subsidiary 
or associated company. GCG is registered in England with company number 
07254686.   Registered office address: 71 Queensway, London W2 4QH, United 
Kingdom; website: www.galacoral.com.

This e-mail message (and any attachments) is confidential and may contain 
privileged and/or proprietorial information protected by legal rules.  It is 
for use by the intended addressee only. If you believe you are not the intended 
recipient or that the sender is not authorised to send you the email, please 
return it to the sender (and please copy it to h...@galacoral.com) and then 
delete it from your computer.  You should not otherwise copy or disclose its 
contents to anyone.

Except where this email is sent in the usual course of business, the views 
expressed are those of the sender and not necessarily ours.  We reserve the 
right to monitor all emails sent to and from our businesses, to protect the 
businesses and to ensure compliance with internal policies.

Emails are not secure and cannot be guaranteed to be error-free, as they can be 
intercepted, amended, lost or destroyed, and may contain viruses; anyone who 
communicates with us by email is taken to accept these risks.  GCG accepts no 
liability for any loss or damage which may be caused by software viruses.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to prevent virtual machines running twice on the disk images?

2012-05-11 Thread Theo Band
On 05/11/2012 01:07 PM, Regendoerp, Achim wrote:
>> -Original Message-
>> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
>> Behalf Of Theo Band
>> Sent: 11 May 2012 11:51
>> To: CentOS mailing list
>> Subject: [CentOS] How to prevent virtual machines running twice on the disk
>> images?
>>
>> I use KVM on two identical centos5 hosts.
>>
>> I can live migrate the virtual machines from one to the other and it works
>> great. Once I do this, I can see VM definitions on both hosts using virt-
>> manager or virsh list --all On one machine the VM is running, on the other it
>> reports "shut off".
>> The disk images are accessible to both host machines and I want to have only
>> one running a the time (of course). If the VM locks up, I could by mistake
>> think that the machine is not running and try to start it on the wrong host.
>>
>> My question is, how can I prevent host A from starting a "shut off" VM that
>> actually has been migrated to host B? The VM could actually be running on
>> any another host. It could also have been crashed. The most simple solution
>> would be some sort of lock file placed next to the disk image location, so
>> seen by all hosts. But perhaps there is another way of working with virt-
>> manager that I am not aware of?
>>
>> Theo
> Are those machines clustered? I used drbd/pacemaker/corosync to achieve 
> something similar across two CentOS hosts with KVM machines, and the VM can 
> only be started on the master node where the DRBD drive is mounted and 
> accessible. Live migrations are fairly easy too with this method
>
No, not clustered.
drbd I do use, but that means a drbd block devices for every individual
vm. I tried that but find it a lot of effort to maintain. One shared
(NFS) filesystem gives a lot more freedom to move a VM to a machine host
machine that has a lower load. I don't mind doing that by hand. It's not
for high availability.

Theo


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


Re: [CentOS] NetworkManager frustration...

2012-05-11 Thread Timothy Madden
On 05/11/2012 01:31 AM, Kahlil Hodgson wrote:
> On 10/05/12 20:55, Timothy Madden wrote:
>>
>> I would like to use dnsmasq to cache nameserver query results, and I
>> have set dhcp to prepend the 127.0.0.1 name-server to the list of
>> nameservers. dnsmasq would then automatically exclude the localhost as a
>> name server and use all the others from the list provided by dhcp.
>>
>> But it was too nice to be true, because NetworkManager was there, ready
>> to mess up anything I try to do, including the list of name servers that
>> dhclient puts in /etc/resolv.conf.
>>
>> Is there really no way to convince that idiotic piece of software that
>> it suffered too much brain damage in order for it to manage even a
>> simple eth0 interface, and that dhclient can properly take care of the
>> resolver configuration by itself ?
>>
>> Or do I have to turn it off entirely ?
>>
>> Is there a better way to have dhclient write the list of DNS servers,
>> that dnsmasq could then use ?
>
>
> Have a look in
>
> /etc/NetworkManager/dispatcher.d/11-dhclient
>
> you might be able to figure out a tweak to put 127.0.0.1 back in.

Yes, the script enumerates and runs the dhcp-plugin scripts in 
/etc/dhcp/dhclient.d/. I tried to create such a script there, but 
NetworkManager still does not run it.

What NM thinks it is doing remains a mystery ...

Thank you,
Timothy Madden

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


Re: [CentOS] How to prevent virtual machines running twice on the disk images?

2012-05-11 Thread Regendoerp, Achim

> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Theo Band
> Sent: 11 May 2012 11:51
> To: CentOS mailing list
> Subject: [CentOS] How to prevent virtual machines running twice on the disk
> images?
>
> I use KVM on two identical centos5 hosts.
>
> I can live migrate the virtual machines from one to the other and it works
> great. Once I do this, I can see VM definitions on both hosts using virt-
> manager or virsh list --all On one machine the VM is running, on the other it
> reports "shut off".
> The disk images are accessible to both host machines and I want to have only
> one running a the time (of course). If the VM locks up, I could by mistake
> think that the machine is not running and try to start it on the wrong host.
>
> My question is, how can I prevent host A from starting a "shut off" VM that
> actually has been migrated to host B? The VM could actually be running on
> any another host. It could also have been crashed. The most simple solution
> would be some sort of lock file placed next to the disk image location, so
> seen by all hosts. But perhaps there is another way of working with virt-
> manager that I am not aware of?
>
> Theo

Are those machines clustered? I used drbd/pacemaker/corosync to achieve 
something similar across two CentOS hosts with KVM machines, and the VM can 
only be started on the master node where the DRBD drive is mounted and 
accessible. Live migrations are fairly easy too with this method

This email has been sent from Gala Coral Group Limited ("GCG") or a subsidiary 
or associated company. GCG is registered in England with company number 
07254686.   Registered office address: 71 Queensway, London W2 4QH, United 
Kingdom; website: www.galacoral.com.

This e-mail message (and any attachments) is confidential and may contain 
privileged and/or proprietorial information protected by legal rules.  It is 
for use by the intended addressee only. If you believe you are not the intended 
recipient or that the sender is not authorised to send you the email, please 
return it to the sender (and please copy it to h...@galacoral.com) and then 
delete it from your computer.  You should not otherwise copy or disclose its 
contents to anyone.

Except where this email is sent in the usual course of business, the views 
expressed are those of the sender and not necessarily ours.  We reserve the 
right to monitor all emails sent to and from our businesses, to protect the 
businesses and to ensure compliance with internal policies.

Emails are not secure and cannot be guaranteed to be error-free, as they can be 
intercepted, amended, lost or destroyed, and may contain viruses; anyone who 
communicates with us by email is taken to accept these risks.  GCG accepts no 
liability for any loss or damage which may be caused by software viruses.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NetworkManager frustration...

2012-05-11 Thread Timothy Madden
On 05/11/2012 01:38 PM, Nux! wrote:
> On 11.05.2012 11:16, Timothy Madden wrote:
>> On 05/11/2012 11:14 AM, Nux! wrote:
>>> On 10.05.2012 11:55, Timothy Madden wrote:
 I would like to use dnsmasq to cache nameserver query results, and
 I
 have set dhcp to prepend the 127.0.0.1 name-server to the list of
 nameservers. dnsmasq would then automatically exclude the localhost
 as a
 name server and use all the others from the list provided by dhcp.

 But it was too nice to be true, because NetworkManager was there,
 ready
 to mess up anything I try to do, including the list of name servers
 that
 dhclient puts in /etc/resolv.conf.

 Is there really no way to convince that idiotic piece of software
 that
 it suffered too much brain damage in order for it to manage even a
 simple eth0 interface, and that dhclient can properly take care of
 the
 resolver configuration by itself ?

 Or do I have to turn it off entirely ?

 Is there a better way to have dhclient write the list of DNS
 servers,
 that dnsmasq could then use ?

 Thank you,
 Timothy Madden

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
>>>
>>> I'm doind the same thing (running local cache) and NM works just
>>> fine.
>>> You should be setting NM to use the "DHCP (addresses only)" as in
>>> this
>>> image: http://img.nux.ro/4PsJ-dhcpnmlocaldns.png
>>> Put the upstream resolvers in some other file, e.g. /etc/nameservers
>>> and tell dnsmasq to get it's nameservers from there.
>>> Or just run a full fledge nameserver yourself and get rid of dnsmasq
>>> (I
>>> use pdns-recursor).
>>
>> But if I make a separate file like /etc/nameservers than I will have
>> to
>> update it every time DHCP returns a different list of nameservers.
>>
>> I tried to write a dhclient-exit-hooks script in /etc/dhcp that would
>> generate that file, but guess what ? Network Manager supresses the
>> normal dhclient script file ! (probably uses its own) I tried to add
>> it
>> back with
>>DHCLIENTARGS="-sf /sbin/dhclient-script"
>> with no effect, because NetworkManager takes care that such an
>> approach
>> would not work !
>>
>> And if I try to read some documentation about how NetworkManager
>> would
>> achieve the same effect, there is nothing clear in its manual pages,
>> you
>> can only find some (vague) settings about NM plugins.
>>
>> How can such software be part of CentOS _base_ distribution ?
>
> Well.. in many cases NM works well, hence it's presence in @base. Now I
> don't know how to solve your problem nor do I have time to investigate;
> all I can recommend is run a local dns cache (pdns-recursor, bind,
> tinydns etc).

Whatever my namer server is (bind or dnsmasq) I still want to read the 
nameservers listed by DHCP, to pass them to it, and I still NM to allow 
DHCP to list its nameservers, but to only write 127.0.0.1 in 
/etc/resolv.conf.

So the way I see it, the problem is not dnsmasq, it is the lack of 
options in NM.

Thank you for your support,
Timothy Madden

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


[CentOS] How to prevent virtual machines running twice on the disk images?

2012-05-11 Thread Theo Band
I use KVM on two identical centos5 hosts.

I can live migrate the virtual machines from one to the other and it
works great. Once I do this, I can see VM definitions on both hosts
using virt-manager or virsh list --all
On one machine the VM is running, on the other it reports "shut off".
The disk images are accessible to both host machines and I want to have
only one running a the time (of course). If the VM locks up, I could by
mistake think that the machine is not running and try to start it on the
wrong host.

My question is, how can I prevent host A from starting a "shut off" VM
that actually has been migrated to host B? The VM could actually be
running on any another host. It could also have been crashed. The most
simple solution would be some sort of lock file placed next to the disk
image location, so seen by all hosts. But perhaps there is another way
of working with virt-manager that I am not aware of?

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


Re: [CentOS] NetworkManager frustration...

2012-05-11 Thread Nux!
On 11.05.2012 11:16, Timothy Madden wrote:
> On 05/11/2012 11:14 AM, Nux! wrote:
>> On 10.05.2012 11:55, Timothy Madden wrote:
>>> I would like to use dnsmasq to cache nameserver query results, and 
>>> I
>>> have set dhcp to prepend the 127.0.0.1 name-server to the list of
>>> nameservers. dnsmasq would then automatically exclude the localhost
>>> as a
>>> name server and use all the others from the list provided by dhcp.
>>>
>>> But it was too nice to be true, because NetworkManager was there,
>>> ready
>>> to mess up anything I try to do, including the list of name servers
>>> that
>>> dhclient puts in /etc/resolv.conf.
>>>
>>> Is there really no way to convince that idiotic piece of software
>>> that
>>> it suffered too much brain damage in order for it to manage even a
>>> simple eth0 interface, and that dhclient can properly take care of
>>> the
>>> resolver configuration by itself ?
>>>
>>> Or do I have to turn it off entirely ?
>>>
>>> Is there a better way to have dhclient write the list of DNS 
>>> servers,
>>> that dnsmasq could then use ?
>>>
>>> Thank you,
>>> Timothy Madden
>>>
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>
>> I'm doind the same thing (running local cache) and NM works just 
>> fine.
>> You should be setting NM to use the "DHCP (addresses only)" as in 
>> this
>> image: http://img.nux.ro/4PsJ-dhcpnmlocaldns.png
>> Put the upstream resolvers in some other file, e.g. /etc/nameservers
>> and tell dnsmasq to get it's nameservers from there.
>> Or just run a full fledge nameserver yourself and get rid of dnsmasq 
>> (I
>> use pdns-recursor).
>
> But if I make a separate file like /etc/nameservers than I will have 
> to
> update it every time DHCP returns a different list of nameservers.
>
> I tried to write a dhclient-exit-hooks script in /etc/dhcp that would
> generate that file, but guess what ? Network Manager supresses the
> normal dhclient script file ! (probably uses its own) I tried to add 
> it
> back with
>   DHCLIENTARGS="-sf /sbin/dhclient-script"
> with no effect, because NetworkManager takes care that such an 
> approach
> would not work !
>
> And if I try to read some documentation about how NetworkManager 
> would
> achieve the same effect, there is nothing clear in its manual pages, 
> you
> can only find some (vague) settings about NM plugins.
>
> How can such software be part of CentOS _base_ distribution ?

Well.. in many cases NM works well, hence it's presence in @base. Now I 
don't know how to solve your problem nor do I have time to investigate; 
all I can recommend is run a local dns cache (pdns-recursor, bind, 
tinydns etc).

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NetworkManager frustration...

2012-05-11 Thread Timothy Madden
On 05/11/2012 11:14 AM, Nux! wrote:
> On 10.05.2012 11:55, Timothy Madden wrote:
>> I would like to use dnsmasq to cache nameserver query results, and I
>> have set dhcp to prepend the 127.0.0.1 name-server to the list of
>> nameservers. dnsmasq would then automatically exclude the localhost
>> as a
>> name server and use all the others from the list provided by dhcp.
>>
>> But it was too nice to be true, because NetworkManager was there,
>> ready
>> to mess up anything I try to do, including the list of name servers
>> that
>> dhclient puts in /etc/resolv.conf.
>>
>> Is there really no way to convince that idiotic piece of software
>> that
>> it suffered too much brain damage in order for it to manage even a
>> simple eth0 interface, and that dhclient can properly take care of
>> the
>> resolver configuration by itself ?
>>
>> Or do I have to turn it off entirely ?
>>
>> Is there a better way to have dhclient write the list of DNS servers,
>> that dnsmasq could then use ?
>>
>> Thank you,
>> Timothy Madden
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> I'm doind the same thing (running local cache) and NM works just fine.
> You should be setting NM to use the "DHCP (addresses only)" as in this
> image: http://img.nux.ro/4PsJ-dhcpnmlocaldns.png
> Put the upstream resolvers in some other file, e.g. /etc/nameservers
> and tell dnsmasq to get it's nameservers from there.
> Or just run a full fledge nameserver yourself and get rid of dnsmasq (I
> use pdns-recursor).

But if I make a separate file like /etc/nameservers than I will have to 
update it every time DHCP returns a different list of nameservers.

I tried to write a dhclient-exit-hooks script in /etc/dhcp that would 
generate that file, but guess what ? Network Manager supresses the 
normal dhclient script file ! (probably uses its own) I tried to add it 
back with
  DHCLIENTARGS="-sf /sbin/dhclient-script"
with no effect, because NetworkManager takes care that such an approach 
would not work !

And if I try to read some documentation about how NetworkManager would 
achieve the same effect, there is nothing clear in its manual pages, you 
can only find some (vague) settings about NM plugins.

How can such software be part of CentOS _base_ distribution ?

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


Re: [CentOS] Centos 5.8, PHP 5.3 and MySQL

2012-05-11 Thread alikhan damirov
If i understood correctly, you need to install php-mysql package
Like this:
# rpm -qa | grep php-mysql
php-mysql-5.3.3-3.el6_2.6.x86_64

On 9 May 2012 02:30, Boris Epstein  wrote:

> Hello again,
>
> It looks like all I had to do was reboot the server machine in question and
> restart my browser for things to start working. False alarm.
>
> It must have been some cache that had to be cleared.
>
> Sorry about this confusion.
>
> Boris.
>
> On Tue, May 8, 2012 at 5:14 PM, Boris Epstein 
> wrote:
>
> > Hello listmates,
> >
> > I have a machine that is running Centos 5.8. I am trying to install
> > MediaWiki 1.19 on it and that requires PHP 5.3 which I got from the
> > combination of the Remi and EPEL repositories. But now I can not fet a
> > working PHP MySQL connector for it. Does anybody know where I can find
> one?
> >
> > Thanks.
> >
> > Boris.
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Logging file activity

2012-05-11 Thread John Doe
From: Jason Pyeron 

> On windows I use filemon, it tells me every file operation and its result. I
> have search high and low, but cannot seem to find an alternative.

inotify?

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


Re: [CentOS] Disabling stock firewall and SELinux for ISPConfig

2012-05-11 Thread Dotan Cohen
On Thu, May 10, 2012 at 9:35 PM, Ljubomir Ljubojevic  wrote:
> Just a little warning, it might be that it has problems with DNS files.
> I am still on CentOS 5.8 with Virtualmin/Webmin on servers, so had no
> real-world experience on C6. There was the tread in last 2 days abot it.
>

Thanks. I'll keep that in mind, I hate Bind! (oh, I should be more
kind, maybe unwind, or I may find, that sanity has dined, on my own
behind!)


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NetworkManager frustration...

2012-05-11 Thread Nux!
On 10.05.2012 11:55, Timothy Madden wrote:
> I would like to use dnsmasq to cache nameserver query results, and I
> have set dhcp to prepend the 127.0.0.1 name-server to the list of
> nameservers. dnsmasq would then automatically exclude the localhost 
> as a
> name server and use all the others from the list provided by dhcp.
>
> But it was too nice to be true, because NetworkManager was there, 
> ready
> to mess up anything I try to do, including the list of name servers 
> that
> dhclient puts in /etc/resolv.conf.
>
> Is there really no way to convince that idiotic piece of software 
> that
> it suffered too much brain damage in order for it to manage even a
> simple eth0 interface, and that dhclient can properly take care of 
> the
> resolver configuration by itself ?
>
> Or do I have to turn it off entirely ?
>
> Is there a better way to have dhclient write the list of DNS servers,
> that dnsmasq could then use ?
>
> Thank you,
> Timothy Madden
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

I'm doind the same thing (running local cache) and NM works just fine. 
You should be setting NM to use the "DHCP (addresses only)" as in this 
image: http://img.nux.ro/4PsJ-dhcpnmlocaldns.png
Put the upstream resolvers in some other file, e.g. /etc/nameservers 
and tell dnsmasq to get it's nameservers from there.
Or just run a full fledge nameserver yourself and get rid of dnsmasq (I 
use pdns-recursor).

HTH

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installing an *older* version of xulrunner (eg as a compatibility package)?

2012-05-11 Thread Nux!
On 10.05.2012 20:21, Robert Heller wrote:
> Is there a way of installing xulrunner-1.9 along side xulrunner-10.0? 
> I
> have an application that wants the older version of xulrunner and 
> does
> not seem to work with xulrunner-10.0.

Is that gnome-web-photo? :-)
Currently I'm having problems with that one because of the new 
xulrunner ... I'm thinking to provide xulrunner 1.9 (the old one) in a 
RPM named xulrunner19 or smth like that.
I also looked into statically compiling the application against the old 
xulrunner but that's not possible either.
If you have other ideas let me know.

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos