building on Red Hat EL v 5
Julian Field
MailScanner at ecs.soton.ac.uk
Wed Oct 17 22:55:33 IST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Randal, Phil wrote:
> Auto-updates was one of my concerns.
>
> But there is still the issue of which is the right approach?
> Update config files saving a copy of the originals, or not updating
> and requiring a manual process?
>
> Maybe we should have a poll of how many on this list install and
> run the upgrade scripts without batting an eyelid?
>
> I certainly do. And surely it would be worth investing a bit of
> time (if that's needed) to make the upgrade process simple and
> "fool" proof?
>
> There was an issue of the upgrade_languages_conf not creating a
> languages.new file if nothing changed, resulting in a bit of a
> disaster if there wasn't already a languages.new file and you
> blindly copied languages.new over languages.conf.
I have improved upgrade_MailScanner_conf and upgrade_languages_conf so
that this no longer causes a problem. If there is no .rpmnew file (as
given in the example command-line the script tells you to type), then
the .conf file is output to the .new file, so you can blindly copy the
.new over your .conf without any problems arising.
New script attached. Gunzip it and copy it to
/usr/sbin/upgrade_MailScanner_conf and the upgrade_languages_conf will
pick it up automatically.
Please give it a try and confirm it works okay for you.
Jules.
> -----Original Message----- From:
> mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of
> Charles Lacroix Sent: 17 October 2007 19:52 To: MailScanner
> discussion Subject: Re: building on Red Hat EL v 5
>
>
> Can't we echo a message saying "Don't forget to upgrade your config
> and language" but then again some people run auto-updates :(
>
> Would it break anthing if we force ran them in the %post of the rpm
> and keep a .rpmsave/timestamp of the config files.
>
> I'm interested in this discution as I'll be pushing rhel clone to
> production soon and i hate to keep -devel packages installed on my
> machines.
>
> later, charles
>
>
>
>
> Randal, Phil a écrit :
>> Hugo,
>>
>> I think it's time to repeat my original concerns about putting
>> MailScanner on rpmforge.
>>
>> I'm not against it at all, it's a fab idea, but....
>>
>> Users will expect (and in my opinion rightfully so) "yum update"
>> to do the right thing. That is, update MailScanner and any
>> dependencies and restart MailScanner.
>>
>> Now, at the moment we have two obstacles to that:
>>
>> upgrade_MailScanner_conf and upgrade_languages_conf.
>>
>> I for one would vote for the default MailScanner install doing
>> this automatically and creating .rpmsave copies of the previous
>> .conf files.
>>
>> Comments anyone?
>>
>> Phil -----Original Message----- From:
>> mailscanner-bounces at lists.mailscanner.info
>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of
>> Hugo van der Kooij Sent: 17 October 2007 18:53 To: MailScanner
>> discussion Subject: Re: building on Red Hat EL v 5
>>
> Julian Field wrote:
>
>
>>>> But they are needed on things other than RHEL5. What's the
>>>> best way of detecting RHEL5 and all its clones?
>>>>
> $ cat /etc/redhat-release CentOS release 5 (Final)
>
>
> I have just asked if anyone is working on MailScanner for rpmforge.
> If no one is doing so I will give it a shot.
>
> Hugo.
>
Jules
- --
Julian Field MBCS CITP
jkf at ecs.soton.ac.uk
Teaching Systems Manager
Electronics & Computer Science
University of Southampton
SO17 1BJ, UK
Jules
- --
Julian Field MEng CITP
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
For all your IT requirements visit www.transtec.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHFoTUEfZZRxQVtlQRAudNAJ9qZMno6wyHwi4PxqM7boetnCP7CQCeN/O5
NRTjja+tKAtiwB5lK3OoCBs=
=gHha
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: upgrade_MailScanner_conf.gz
Type: application/gzip
Size: 3389 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20071017/70c2f043/upgrade_MailScanner_conf.bin
More information about the MailScanner
mailing list