Bacula-users

Re: [Bacula-users] RPM on CentOS

2010-09-21 09:32:00
Subject: Re: [Bacula-users] RPM on CentOS
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 21 Sep 2010 14:28:22 +0100
>>>>> On Thu, 16 Sep 2010 10:33:47 -0700, Syn, Joonho said:
> 
> for the bacula-bat srpm i tried using
> 
> $ rpmbuild --rebuild --define build_centos5 1 --define build_mysql 1 
> bacula-bat-5.0.3-1.src.rpm
> 
> and the package would build correctly but when i installed it with 
> $ rpm-ivh "package name
> 
> i got a couple weird errors:
> fg: no job control, and the other one about adding the group bacula.
> 
> Can i safely ignore those?

I think so, as long as you have also installed the bacula-client rpm.

They are caused by a bug in the bacula-bat spec file.  You can probably work
around it by adding

--define group_file /etc/group

to the rpmbuild command line.

__Martin


> 
> 
> On Sep 15, 2010, at 7:16 AM, Machiel van Veen wrote:
> 
> > On Wednesday 15 September 2010 04:05:29 pm Joseph L. Casale wrote:
> >>> sudo rpmbuild -bb --define build_postgresql=1 --define "build_centos5 1"
> >>> -- define rhel_version=501 bacula.spec
> >> 
> >> Not only do you not need to unpack the srpm to get the the spec to build
> >> from But you shouldn't at all build as root?
> >> 
> >> Use a buidroot [1]:
> >> $ rpmbuild --rebuild --define build_centos5=1 --define build_mysql=1
> >> bacula-5.0.3-1.src.rpm Etc...
> >> 
> >> Jlc
> > 
> > Yeah, you're right, the sudo should not be needed. I always install the 
> > source 
> > rpm "rpm -ivh bacula-5.0.3-1.src.rpm" and the check the spec manually and 
> > such, then build. 
> > 
> > Either way works, good to mention this.
> > 
> > Regards, Machiel.
> > 
> > 
> > 
> > ------------------------------------------------------------------------------
> > Start uncovering the many advantages of virtual appliances
> > and start using them to simplify application deployment and
> > accelerate your shift to cloud computing.
> > http://p.sf.net/sfu/novell-sfdev2dev
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users AT lists.sourceforge DOT net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>