Improvements to install.sh ?

Michael H. Warfield mhw at WittsEnd.com
Sun Sep 28 18:07:27 IST 2008


On Sun, 2008-09-28 at 17:37 +0100, Martin.Hepworth wrote:
> Ok i'll be first to bite:-)

> Running servers on fedora is considered "a bad idea" (tm), your problem below being one of the reasons.

	You don't have much choice if you want advanced features like md5sums
on BGP peering and the like (I peer both IPv4 and IPv6 on BGP and have
contributed patches to the quagga project).  Ever try a live upgrade of
a CentOS system or RHEL from 4.x to 5.x?  I wouldn't consider them in
this environment simply because they are that much worse.

> -- 
> martin

	Mike

> -----Original Message-----
> From: Michael H. Warfield <mhw at WittsEnd.com>
> Sent: 28 September 2008 16:50
> To: MailScanner discussion <mailscanner at lists.mailscanner.info>
> Cc: mhw at WittsEnd.com
> Subject: Re: Improvements to install.sh ?
> 
> Hey Juian!
> 
> 	Wow...  Serendipity or what.  I was just in the middle of a yum upgrade
> of some Fedora 8 systems to Fedora 9 and ran smack into a bloody
> nightmare with MailScanner.  The problem here is that Fedora 8 had perl
> 5.8 and had all the modules installed for that.  Fedora 9 has perl 5.10.
> The yum upgrade (which was also nightmarish due to the signing key
> rollover and a dependency hell on openssl and openldap) upgraded all the
> base perl stuff but not the MailScanner stuff.  Trying to reinstall
> MailScanner seems to work but then it doesn't run, complaining about
> Hostname/Long.pm not existing amongst others (fix one and there's more).
> The problem is, the rpm is installed but for the wrong version of perl
> and wasn't upgraded and the install doesn't install it because it thinks
> it's already there, even though the .pm module is in the wrong version
> directory.  I had to manually build and install the bad modules until
> MailScanner would restart.
> 
> 	I strongly suspect that this would be the case even if I did not use a
> live yum upgrade but used an anaconda install (CD or preupgrade) as
> well.
> 
> 	My suggestion for install.sh would be a sanity check to insure the
> correct rpm's are there for that distribution or a "reinstall" option
> that will reinstall the rpm's even if the exact same rpm is already
> present.  Yeah, this is a corner case that rarely comes up but it's an
> UGLY corner case, in this case.
> 
> 	Mike
> 
> On Sat, 2008-09-27 at 19:52 +0100, Julian Field wrote:
> > Hi folks!
> > 
> > I haven't done anything to the installer in quite a long time.
> > Are there any improvements people would like to see, particularly in the 
> > RPM installer as that's by far the most common distribution, and is used 
> > by the least tech-savvy people who need the most guidance.
> > 
> > Today I have done some work on both the README and the QuickInstall.txt 
> > files, to bring the up to date and to simplify them.
> > 
> > Also I have documented the "./install.sh fast" option, so people who 
> > read the docs know it exists, as it greatly speeds things up if you know 
> > what you're doing and don't need to read all the output.
> > 
> > But what would people like to see improved in the actual installation 
> > script, install.sh?
> > 
> > Jules
> > 
> > -- 
> > Julian Field MEng CITP CEng
> > www.MailScanner.info
> > Buy the MailScanner book at www.MailScanner.info/store
> > 
> > MailScanner customisation, or any advanced system administration help?
> > Contact me at Jules at Jules.FM
> > 
> > PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> > PGP public key: http://www.jules.fm/julesfm.asc
> > 
> > 
> > -- 
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> 
> -- 
> Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
>    /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
>    NIC whois: MHW9          | An optimist believes we live in the best of all
>  PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!
> 
> 
> **********************************************************************
> Confidentiality : This e-mail and any attachments are intended for the 
> addressee only and may be confidential. If they come to you in error 
> you must take no action based on them, nor must you copy or show them 
> to anyone. Please advise the sender by replying to this e-mail 
> immediately and then delete the original from your computer.
> Opinion : Any opinions expressed in this e-mail are entirely those of 
> the author and unless specifically stated to the contrary, are not 
> necessarily those of the author's employer.
> Security Warning : Internet e-mail is not necessarily a secure 
> communications medium and can be subject to data corruption. We advise 
> that you consider this fact when e-mailing us. 
> Viruses : We have taken steps to ensure that this e-mail and any 
> attachments are free from known viruses but in keeping with good 
> computing practice, you should ensure that they are virus free.
> 
> Red Lion 49 Ltd T/A Solid State Logic
> Registered as a limited company in England and Wales 
> (Company No:5362730)
> Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
> United Kingdom
> **********************************************************************

-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080928/e2a78c5e/attachment.bin


More information about the MailScanner mailing list