RPM [was: Re: bind dies with assertion failure]

2012-07-03 Thread Jan-Piet Mens
 While it's always better to compile and install from the latest
 stable version, it's also nice to use their package management
 system especially when you have to deal with multiple systems.

Building BIND is easy; turning it into an installable RPM not so.
I highly recommend fpm [1] which makes building an RPM trivial. :)

-JP

[1] https://github.com/jordansissel/fpm/wiki/
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: RPM [was: Re: bind dies with assertion failure]

2012-07-03 Thread WBrown
Jan-Piet wrote on 07/03/2012 10:41:20 AM:

 Building BIND is easy; turning it into an installable RPM not so.
 I highly recommend fpm [1] which makes building an RPM trivial. :)

Any advice or tricks for making a DEB for Ubuntu?

So far my plan was to copy the source directory to each server and just 
run make install on each.  I'm only looking at 8 to 10 servers.



Confidentiality Notice: 
This electronic message and any attachments may contain confidential or 
privileged information, and is intended only for the individual or entity 
identified above as the addressee. If you are not the addressee (or the 
employee or agent responsible to deliver it to the addressee), or if this 
message has been addressed to you in error, you are hereby notified that 
you may not copy, forward, disclose or use any part of this message or any 
attachments. Please notify the sender immediately by return e-mail or 
telephone and delete this message from your system.
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: RPM [was: Re: bind dies with assertion failure]

2012-07-03 Thread Jan-Piet Mens
  Building BIND is easy; turning it into an installable RPM not so.
  I highly recommend fpm [1] which makes building an RPM trivial. :)
 
 Any advice or tricks for making a DEB for Ubuntu?

Yes: use fpm. :)

 So far my plan was to copy the source directory to each server and just 
 run make install on each.  I'm only looking at 8 to 10 servers.

fpm makes rpm, dep, solaris, puppet modules, and a couple others, IIRC.

-JP
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: RPM [was: Re: bind dies with assertion failure]

2012-07-03 Thread Warren Kumari

On Jul 3, 2012, at 10:58 AM, wbr...@e1b.org wrote:

 Jan-Piet wrote on 07/03/2012 10:41:20 AM:
 
 Building BIND is easy; turning it into an installable RPM not so.
 I highly recommend fpm [1] which makes building an RPM trivial. :)
 
 Any advice or tricks for making a DEB for Ubuntu?
 
 So far my plan was to copy the source directory to each server and just 
 run make install on each.  I'm only looking at 8 to 10 servers.
 

This got old for me really fast, so I ended up writing a small script to do 
this for me…
WARNING: This works for me, but doesn't do a huge amount of error checking, may 
completely trash your machine, cause male pattern baldness, etc.

It is in: http://www.auth-servers.net/files/named/upgrade_bind_unattended.sh 

I run this out of cron every few minutes. It downloads a file called 
bind_versions.txt (from INSTRUCT_URL). This file contains key value pairs 
specifying the hostname and version of BIND that that host should be running, 
something like:
ns1: 9.9.1
ns2: 9.8.0

If the hostname is not running the specified version it will:
1: Delete everything in /usr/local/src/bind/ (!)
2: Download the source from ftp://ftp.isc.org/isc/bind9/$BIND_VER/
3: Check the GPG signature.
4: Build the new BIND and install it.
5: Restart BIND
6: Send mail saying that it is done…

I use puppet to push to install this script, and to setup a cronjob to run it 
(I could have done most of this in puppet itself, but that seems hard :-P)
Feel free to update / modify the script to make it work in your environment…



W

 
 
 Confidentiality Notice: 
 This electronic message and any attachments may contain confidential or 
 privileged information, and is intended only for the individual or entity 
 identified above as the addressee. If you are not the addressee (or the 
 employee or agent responsible to deliver it to the addressee), or if this 
 message has been addressed to you in error, you are hereby notified that 
 you may not copy, forward, disclose or use any part of this message or any 
 attachments. Please notify the sender immediately by return e-mail or 
 telephone and delete this message from your system.
 ___
 Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
 from this list
 
 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users
 

--
She'd even given herself a middle initial - X - which stood for someone who 
has a cool and exciting middle name.

-- (Terry Pratchett, Maskerade)


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users