Re: [CentOS] Tool to Manage KVM with Web Browser

2016-04-08 Thread Morgan Cox
https://www.ovirt.org/ ?

On 8 April 2016 at 09:23, FrancisM  wrote:

> Hi All,
>
> Is there someone out there using web browser to manage multiple KVM
> host servers right now in checking the MIST.IO Cloud platform and there
> are
> lot more from the http://linux-kvm.org/page/Management_Tools but Im not
> sure what is the best for me. The first requirement is of-course it should
> be open-source with zero cost and stable for daily operation. Anyone can
> help me decide or advice the best web tools for KVM.
>
> many thanks
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which kernel do people use?

2013-10-23 Thread Morgan Cox
If you want SSD + MDRAID you need to use a 3.8+ kernel to have TRIM.

The speed difference between the stock 2.6.32 - 3.10 kernel with SSD +
MDRAID is insane.


On 23 October 2013 10:23, Andrew Holway andrew.hol...@gmail.com wrote:

 Kernel-lt on my personal server. There was some incompatibility
 between FreeBSD 9 and KVM with the stock kernel.

 Everything else is EL stock.

 On 23 October 2013 10:15, Johan Vermeulen jvermeu...@cawdekempen.be
 wrote:
 
  Op 23-10-13 08:00, Ian Pilcher schreef:
  On 10/22/2013 09:44 PM, Keith Keller wrote:
  I'm doing a very informal and unscientific poll: which kernel do you
 use
  on your CentOS machines?  Not which version of the CentOS kernel, but
  which repository.  Here are some examples I can think of off the top of
  my head:
 
  ==CentOS stock
  ==build own from CentOS SRPMs
  ==kernel-ml (from ELRepo)
  ==kernel-lt (from ELRepo)
  ==OpenVZ kernel
  ==build own from kernel.org
  ==other?
  I have a two CentOS systems.
 
  * A fanless VIA C6 system which provides network and telephony services
 on my home network.  I use the stock kernel on this system.
 
  * A Thecus N5550 NAS.  I use kernel-ml from ELRepo (along with a couple
 of hardware-specific modules for GPIO  LED setup).  I use the one-
 shot LED triggers for drive activity LEDs, and they weren't added
 until sometime after kernel 3.0.
 
  stock.
  on some laptops fn-keys do not work  -- that's no reason to deflect
  from default I think
  on 3 laptops I have to use nomodeset
  sometimes I have to replace the wireless cards, don't know if other
  kernels would remedy that.
 
  Greetings, J.
 
  ___
  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

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


Re: [CentOS] 11TB ext4 filesystem - filesystem alternatives?

2012-09-27 Thread Morgan Cox
You should upgrade to a newer kernel - there are lots of improvements
to ext4 since the rhel5 kernel...

rhel/centos 6 is a start but if you don't need rhel/centos you could
try Ubuntu 12.04 to see how the 3.2.x kernel handles it.
cheers



On 27 September 2012 10:47, joel billy jbilly2...@gmail.com wrote:
 On 9/27/12, Fernando Cassia fcas...@gmail.com wrote:

 So, again, what´dya mean by less supported?. It´s in the mainline
 kernel since February so with the adoption by RHEL 7, it´ll become
 mainstream sooner rather than later...

 Just my $0.02...

 Thats the whole point isn't it. Until RHEL includes its (rather than
 as a technology preview), you probably shouldn't use it as a
 production file system and definitely not with the 5.x CentOS the OP
 is using

 - jb
 ___
 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] NTOP alternatives?

2012-08-29 Thread Morgan Cox
Have you tried Darkstat - it's a nice very very lightweight alternative

http://unix4lyfe.org/darkstat/

ntop has more info though.

regards

Keep rocking the free (opensource) world



On 29 August 2012 09:56, Giles Coochey gi...@coochey.net wrote:
 On 29/08/2012 09:29, Bent Terp wrote:

 On Wed, Aug 29, 2012 at 9:52 AM, Rafał Radecki
 radecki.ra...@gmail.comwrote:

 After some search I think I will use ntop ;)

 Having lurked in this thread, I think I'll start using ntop as well. Did a
 quick test today on my laptop and got it up and running in no time.

 But to answer the question people at the office keeps asking me, I need to
 dump Network Load data with a 1-second granularity. Does anoybody know how
 to do that? Basic question is, do we have large fluctuations on our
 internet connection usage.

 Thanks in advance!

 I know it's a Windows utility (WINE??), but we used STG traffic grapher in a
 previous ISP environment. Graphing at a 1s interval is possible, looks very
 much like MRTG.

 http://leonidvm.chat.ru/


 --
 Regards,

 Giles Coochey, CCNA, CCNAS
 NetSecSpec Ltd
 +44 (0) 7983 877438
 http://www.coochey.net
 http://www.netsecspec.co.uk
 gi...@coochey.net



 ___
 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


[CentOS] Bind9 zero day bug - CVE-2011-4313 - when will there be an update in Centos 5+6 ?

2011-11-18 Thread Morgan Cox
Hi.

http://www.debian.org/security/2011/dsa-2347

There is updated packages for Debian (and Ubuntu) already.

Do you know how long until Centos release an update to bind ?

I have looked here and couldn't see any info  -
http://lists.centos.org/pipermail/centos-announce/2011-November/thread.html

- Is this the correct place to look for security update info ?

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


Re: [CentOS] Bind9 zero day bug - CVE-2011-4313 - when will there be an update in Centos 5+6 ?

2011-11-18 Thread Morgan Cox
Hi

That's good to hear

Thank you to everybody who works on this project !

regards




On 18 November 2011 09:55, Tru Huynh t...@centos.org wrote:

 On Fri, Nov 18, 2011 at 09:47:45AM +, Morgan Cox wrote:
  Hi.
 
  http://www.debian.org/security/2011/dsa-2347
 
  There is updated packages for Debian (and Ubuntu) already.
 
  Do you know how long until Centos release an update to bind ?
 they are already released 4/5 in updates and 6/CR
 but the announces are just not sent yet. We also need time to sleep ;)

 Tru
 --
 Tru Huynh (mirrors, CentOS i386/x86_64 Package Maintenance)
 http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B

 ___
 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] Bind9 zero day bug - CVE-2011-4313 - when will there be an update in Centos 5+6 ?

2011-11-18 Thread Morgan Cox
Hi

Can anyone confirm the correct location to see security updates for Centos ?

Or is the announce list the correct place?


Regards



On 18 November 2011 09:56, Christopher Chan 
christopher.c...@bradbury.edu.hk wrote:

 On Friday, November 18, 2011 05:47 PM, Morgan Cox wrote:
  Hi.
 
  http://www.debian.org/security/2011/dsa-2347
 
  There is updated packages for Debian (and Ubuntu) already.
 
  Do you know how long until Centos release an update to bind ?
 
  I have looked here and couldn't see any info  -
 
 http://lists.centos.org/pipermail/centos-announce/2011-November/thread.html
 
  - Is this the correct place to look for security update info ?
 

 [09:28:22] Jeff_S pj:

 http://ftp-osl.osuosl.org/pub/centos/6/cr/x86_64/RPMS/bind-9.7.3-2.el6_1.P3.3.x86_64.rpm
 was already pushed to CR

 That was about 8 and a half hours ago.

 It's out for c5 too according to pj.
 ___
 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] Bind9 zero day bug - CVE-2011-4313 - when will there be an update in Centos 5+6 ?

2011-11-18 Thread Morgan Cox
Thanks !


On 18 November 2011 10:57, Leonard den Ottolander leon...@den.ottolander.nl
 wrote:

 Hello Morgan,

 On Fri, 2011-11-18 at 09:47 +, Morgan Cox wrote:
  http://www.debian.org/security/2011/dsa-2347

  - Is this the correct place to look for security update info ?

 The first place to look would be
 https://www.redhat.com/mailman/listinfo/enterprise-watch-list . If
 upstream doesn't have a fix neither has CentOS.

 Regards,
 Leonard.

 --
 mount -t life -o ro /dev/dna /genetic/research


 ___
 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


[CentOS] Centos 5.7 - bridging firewall crash (only since the update) - dmesg output included - Trying to vfree() nonexistent vm area (ffffffff885d9000) ....

2011-10-13 Thread Morgan Cox
Hi.

We have several Centos 5 firewalls in our company  - they are all in
bridging mode.

We updated them to the latest Centos 5.x last night.

4 hours later there was a crash..  (previously it had never crashed - and
had been running for at least 1.5 yrs)

The crash occurred when someone added a rule, after rebooting it was fine  -
the thing is it can't have been a bad rule as the first thing the server
does is load the firewall (same) rules..

In /var/log/messages I can see:-


Oct 13 09:27:46 new kernel: Trying to vfree() nonexistent vm area
(885d9000)
Oct 13 09:27:46 new kernel: WARNING: at mm/vmalloc.c:329 __vunmap()
Oct 13 09:27:46 new kernel:
Oct 13 09:27:46 new kernel: Call Trace:
Oct 13 09:27:46 new kernel:  [800a8b6b]
sys_delete_module+0x1b3/0x1d4
Oct 13 09:27:46 new kernel:  [8005d28d] tracesys+0xd5/0xe0
Oct 13 09:27:46 new kernel:



Followed by (a few times)


Oct 13 09:27:46 new kernel: WARNING: at mm/vmalloc.c:97 vmap_pte_range()
Oct 13 09:27:46 new kernel:
Oct 13 09:27:46 new kernel: Call Trace:
Oct 13 09:27:46 new kernel:  [884e7000]
:iw_cm:iw_cm_init_qp_attr+0x0/0xb1
Oct 13 09:27:46 new kernel:  [800d3e04] map_vm_area+0x216/0x306
Oct 13 09:27:46 new kernel:  [80001ff8] _stext+0xff8/0x1000
Oct 13 09:27:46 new kernel:  [800d4219]
__vmalloc_area_node+0x134/0x15c
Oct 13 09:27:46 new kernel:  [800403a4] load_module+0x961/0x19f5
Oct 13 09:27:46 new kernel:  [800a2dfd]
autoremove_wake_function+0x0/0x2e
Oct 13 09:27:46 new kernel:  [8000e0aa] do_mmap_pgoff+0x3d7/0x780
Oct 13 09:27:46 new kernel:  [8000e2e8] do_mmap_pgoff+0x615/0x780
Oct 13 09:27:46 new kernel:  [800b9c60]
audit_syscall_entry+0x1a8/0x1d3
Oct 13 09:27:46 new kernel:  [800a92f0] sys_init_module+0x5b/0x206
Oct 13 09:27:46 new kernel:  [8005d28d] tracesys+0xd5/0xe0
Oct 13 09:27:46 new kernel:
Oct 13 09:27:46 new kernel: WARNING: at mm/vmalloc.c:97 vmap_pte_range()
Oct 13 09:27:46 new kernel:
Oct 13 09:27:46 new kernel: Call Trace:
Oct 13 09:27:46 new kernel:  [800d3e04] map_vm_area+0x216/0x306
Oct 13 09:27:46 new kernel:  [80001ff8] _stext+0xff8/0x1000
Oct 13 09:27:46 new kernel:  [800d4219]
__vmalloc_area_node+0x134/0x15c
Oct 13 09:27:46 new kernel:  [800403a4] load_module+0x961/0x19f5
Oct 13 09:27:46 new kernel:  [800a2dfd]
autoremove_wake_function+0x0/0x2e
Oct 13 09:27:46 new kernel:  [8000e0aa] do_mmap_pgoff+0x3d7/0x780
Oct 13 09:27:46 new kernel:  [8000e2e8] do_mmap_pgoff+0x615/0x780
Oct 13 09:27:46 new kernel:  [800b9c60]
audit_syscall_entry+0x1a8/0x1d3
Oct 13 09:27:46 new kernel:  [800a92f0] sys_init_module+0x5b/0x206
Oct 13 09:27:46 new kernel:  [8005d28d] tracesys+0xd5/0xe0
Oct 13 09:27:46 new kernel:



Any ideas what caused this ?

Or how to investigate further ?

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


Re: [CentOS] Mock - Problems building Centos5 package on Centos6 - where can I ask for advice ?

2011-10-12 Thread Morgan Cox
Hi.

Thanks I have managed to fix the issue.

Rather than modify a Fedora src.rpm - I used a Centos6 one.

I also changed the lines in the .spec file from


-
%build
# aclocal workaround - to be improved
cat `aclocal
--print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4
aclocal.m4

# Force use of system libtool:
libtoolize --force --copy
cat `aclocal
--print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4
build/libtool.m4



to

--
%build
# aclocal workaround - to be improved
cat `aclocal --print-ac-dir`/libtool.m4 aclocal.m4

# Force use of system libtool:
libtoolize --force --copy
cat `aclocal --print-ac-dir`/libtool.m4 build/libtool.m4
--

It builds fine now !

Thank you so much for your offer of help though.

Keep rocking the 'free' world,

Regards



On 12 October 2011 05:29, Trey Dockendorf treyd...@gmail.com wrote:

 If gmail will let u send a srpm just send to treyd...@gmail.com.  might
 have
 to tar or zip if rpm files cant be sent.  I recently rebuilt PHP for centos
 6 in mock so may be able to help debug.
 On Oct 10, 2011 3:19 AM, Morgan Cox morganco...@gmail.com wrote:

  Hi trey.
 
  I would prefer being able to build my own packages rather than rely on an
  external repo.(that was I can always build what ever version I need to).
 
  Its not the building of the RPM it the use of mock thats failing.
 
  What is the best way of sending you the source RPM.
 
  Regards
 
 
 
 
  On 8 October 2011 14:22, Trey Dockendorf treyd...@gmail.com wrote:
 
  On Oct 7, 2011 3:34 AM, Morgan Cox morganco...@gmail.com wrote:
  
   Hi
  
   Thank you for your extremely quick (and faster than support from any
   company..) reply.
  
   Sorry, can you give more detail ?
  
   From the look of the error the 'mock centos5' is missing these files
 :-
  
   /usr/share/aclocal/ltoptions.m4
   /usr/share/aclocal/ltsugar.m4
   /usr/share/aclocal/ltversion.m4
   /usr/share/aclocal/lt~obsolete.m4
  
   - which come from libtool2 (on centos6)
  
   Centos5 obviously doesn't have that version...
  
   I noticed in the .spec file it has
  
  
   ---
   %build
   # aclocal workaround - to be improved
   cat `aclocal
   --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4
   aclocal.m4
  
   # Force use of system libtool:
   libtoolize --force --copy
   cat `aclocal
   --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4
   build/libtool.m4
   ---
  
   It also has - from the original .spec file I based it on:-
  
   BuildRequires: bzip2, perl, libtool = 1.4.3, gcc-c++
  
   I have libtool installed in the mock enviroment ...
  
   Anyone know what i'm doing wrong ?
  
   Regards !
  
  
  
  
  
  
  
   On 6 October 2011 15:57, John Hodrien j.h.hodr...@leeds.ac.uk
 wrote:
  
On Thu, 6 Oct 2011, Morgan Cox wrote:
   
 Hi.

 I am trying to use Mock to rebuild a .src.rpm file I have made for
  PHP
5.3.8
 (for Centos6)

 I have managed to install deps fine with mock.

 When I try to rebuild the package though I get.
   
BuildRequires are wrong, since this SRPM requires files that aren't
  being
pulled in.  Add BuildRequires to satisfy these missing requirements
  and
it'll
work.
   
jh
___
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
 
  If your wanting PHP-5.3 for CentOS5 you may want to look at the IUS
 repo.
  They provide PHP 5.2 and 5.3 for CentOS5.
 
  If you send me your SRPM offlist Ill try to build it on my Mock
  environment.
 
  - Trey
  ___
  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

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


Re: [CentOS] Mock - Problems building Centos5 package on Centos6 - where can I ask for advice ?

2011-10-10 Thread Morgan Cox
Hi trey.

I would prefer being able to build my own packages rather than rely on an
external repo.(that was I can always build what ever version I need to).

Its not the building of the RPM it the use of mock thats failing.

What is the best way of sending you the source RPM.

Regards




On 8 October 2011 14:22, Trey Dockendorf treyd...@gmail.com wrote:

 On Oct 7, 2011 3:34 AM, Morgan Cox morganco...@gmail.com wrote:
 
  Hi
 
  Thank you for your extremely quick (and faster than support from any
  company..) reply.
 
  Sorry, can you give more detail ?
 
  From the look of the error the 'mock centos5' is missing these files :-
 
  /usr/share/aclocal/ltoptions.m4
  /usr/share/aclocal/ltsugar.m4
  /usr/share/aclocal/ltversion.m4
  /usr/share/aclocal/lt~obsolete.m4
 
  - which come from libtool2 (on centos6)
 
  Centos5 obviously doesn't have that version...
 
  I noticed in the .spec file it has
 
 
  ---
  %build
  # aclocal workaround - to be improved
  cat `aclocal
  --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4
  aclocal.m4
 
  # Force use of system libtool:
  libtoolize --force --copy
  cat `aclocal
  --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4
  build/libtool.m4
  ---
 
  It also has - from the original .spec file I based it on:-
 
  BuildRequires: bzip2, perl, libtool = 1.4.3, gcc-c++
 
  I have libtool installed in the mock enviroment ...
 
  Anyone know what i'm doing wrong ?
 
  Regards !
 
 
 
 
 
 
 
  On 6 October 2011 15:57, John Hodrien j.h.hodr...@leeds.ac.uk wrote:
 
   On Thu, 6 Oct 2011, Morgan Cox wrote:
  
Hi.
   
I am trying to use Mock to rebuild a .src.rpm file I have made for
 PHP
   5.3.8
(for Centos6)
   
I have managed to install deps fine with mock.
   
When I try to rebuild the package though I get.
  
   BuildRequires are wrong, since this SRPM requires files that aren't
 being
   pulled in.  Add BuildRequires to satisfy these missing requirements and
   it'll
   work.
  
   jh
   ___
   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

 If your wanting PHP-5.3 for CentOS5 you may want to look at the IUS repo.
 They provide PHP 5.2 and 5.3 for CentOS5.

 If you send me your SRPM offlist Ill try to build it on my Mock
 environment.

 - Trey
 ___
 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] Mock - Problems building Centos5 package on Centos6 - where can I ask for advice ?

2011-10-07 Thread Morgan Cox
Hi

Thank you for your extremely quick (and faster than support from any
company..) reply.

Sorry, can you give more detail ?

From the look of the error the 'mock centos5' is missing these files :-

/usr/share/aclocal/ltoptions.m4
/usr/share/aclocal/ltsugar.m4
/usr/share/aclocal/ltversion.m4
/usr/share/aclocal/lt~obsolete.m4

- which come from libtool2 (on centos6)

Centos5 obviously doesn't have that version...

I noticed in the .spec file it has


---
%build
# aclocal workaround - to be improved
cat `aclocal
--print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4
aclocal.m4

# Force use of system libtool:
libtoolize --force --copy
cat `aclocal
--print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4
build/libtool.m4
---

It also has - from the original .spec file I based it on:-

BuildRequires: bzip2, perl, libtool = 1.4.3, gcc-c++

I have libtool installed in the mock enviroment ...

Anyone know what i'm doing wrong ?

Regards !







On 6 October 2011 15:57, John Hodrien j.h.hodr...@leeds.ac.uk wrote:

 On Thu, 6 Oct 2011, Morgan Cox wrote:

  Hi.
 
  I am trying to use Mock to rebuild a .src.rpm file I have made for PHP
 5.3.8
  (for Centos6)
 
  I have managed to install deps fine with mock.
 
  When I try to rebuild the package though I get.

 BuildRequires are wrong, since this SRPM requires files that aren't being
 pulled in.  Add BuildRequires to satisfy these missing requirements and
 it'll
 work.

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


[CentOS] Mock - Problems building Centos5 package on Centos6 - where can I ask for advice ?

2011-10-06 Thread Morgan Cox
Hi.

I am trying to use Mock to rebuild a .src.rpm file I have made for PHP 5.3.8
(for Centos6)

I have managed to install deps fine with mock.

When I try to rebuild the package though I get.

(from build.log)

-
+ cat /usr/share/aclocal/libtool.m4 /usr/share/aclocal/ltoptions.m4
/usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/ltversion.m4
/usr/share/aclocal/lt~obsolete.m4
cat: /usr/share/aclocal/ltoptions.m4: No such file or directory
cat: /usr/share/aclocal/ltsugar.m4: No such file or directory
cat: /usr/share/aclocal/ltversion.m4: No such file or directory
cat: /usr/share/aclocal/lt~obsolete.m4: No such file or directory
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.90639 (%build)
Bad exit status from /var/tmp/rpm-tmp.90639 (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/php.spec']
Traceback (most recent call last):
  File /usr/lib/python2.6/site-packages/mock/trace_decorator.py, line 70,
in trace
result = func(*args, **kw)
  File /usr/lib/python2.6/site-packages/mock/util.py, line 328, in do
raise mock.exception.Error, (Command failed. See logs for output.\n #
%s % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/php.spec']
LEAVE do -- EXCEPTION RAISED
-

(I can post the full build.log if needed)

If this is not the correct place to ask about this can someone point me
where I can ask ?

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


Re: [CentOS] Mock - Problems building Centos5 package on Centos6 - where can I ask for advice ?

2011-10-06 Thread Morgan Cox
Hi

Thank you for your extremely quick (and faster than support from any
company..) reply.

Sorry, can you give more detail ?

From the look of the error the 'mock centos5' is missing these files :-

/usr/share/aclocal/ltoptions.m4
/usr/share/aclocal/ltsugar.m4
/usr/share/aclocal/ltversion.m4
/usr/share/aclocal/lt~obsolete.m4

- which come from libtool2 (on centos6)

Centos5 obviously doesn't have that version...

I noticed in the .spec file it has


---
%build
# aclocal workaround - to be improved
cat `aclocal
--print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4
aclocal.m4

# Force use of system libtool:
libtoolize --force --copy
cat `aclocal
--print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4
build/libtool.m4
---

Ilyas , it isn't the fact that I can't build Centos6 PHP 5.3.8  - that works
fin in Centos6 - my issue is using the built src.rpm in mock so that it
builds for Centos5.

Thank you to everybody who responded.

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