Installation with Fedora 10

Martin Hepworth maxsec at gmail.com
Sat Dec 27 09:48:26 GMT 2008


2008/12/27 Eli Wapniarski <eli at orbsky.homelinux.org>:
> Hi
>
> Hope this gets to the right person.
>
> There is a problem installing Mailscanner in Fedora 10. Fedora 10 uses
> rpmmacro when to rebuild rpms. What this translates to is that a folder under
> the user's home folder that tries to build an package will have that package
> built under
>
>        ~/rpmbuild
>
> This was done in order to avoid some security problem when building packages.
> (How building a package with root privileges is more dangerous than installing
> a package with root privileges is beyond me.) As such, all packages are built
> under ~/rpmbuild. The installation script can't find all the packages that are
> built because it doesn't seem to look in the correct folder.
>
>
> Since the Mailscannerinstallation script requires root privileges to install
> the workaround would be to provide a soft link to "/usr/src/redhat"
>
> So... issuing the command
>
>        mv /usr/src/redhat /usr/src/redhat.bak
>
> just in case there are packages there that you want to keep and then
>
>        ln -s /root/rpmbuild /usr/src/redhat
>
> would provide a temporary workaround until such time as the problem gets
> fixed.
>
>
> Eli
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>


Good point, although putting a 'server' on Fedora is interesting
unless you really want to be upgrading every 6 months. You'd be better
off with Centos which is the 'free' version of RHES and is more stable
as reguards upgrades/updates etc.

-- 
Martin Hepworth
Oxford, UK


More information about the MailScanner mailing list