[arch-dev-public] [arch-commits] Commit in fail2ban/trunk (PKGBUILD)

Dave Reisner d at falconindy.com
Tue May 14 17:17:37 EDT 2013


On Tue, May 14, 2013 at 11:07:59PM +0200, Tom Gundersen wrote:
> On Tue, May 14, 2013 at 10:49 PM, Dave Reisner <d at falconindy.com> wrote:
> > On Tue, May 14, 2013 at 10:37:43PM +0200, Sébastien Luttringer wrote:
> >> On Tue, May 14, 2013 at 10:22 PM, Bartłomiej Piotrowski
> >> <bpiotrowski at nymeria.archlinux.org> wrote:
> >> >     Date: Tuesday, May 14, 2013 @ 22:22:08
> >> >   Author: bpiotrowski
> >> > Revision: 90846
> >> >
> >> > upgpkg: fail2ban 0.8.8-3
> >> >
> >> > - correct path to sendmail due to migration to /usr/bin
> >> I see you moved exim from /usr/sbin/sendmail to /usr/bin/sendmail.
> >>
> >> This path is hardcoded to /usr/sbin/sendmail in _many_ sotfwares and
> >> all others  rely on it (ssmtp, postfix, opensmtpd, heilroom-mailx,
> >> etc).
> >>
> >> By example,
> >> # mail -s toto seblu at seblu.net
> >> test
> >> .
> >> EOT
> >> /usr/sbin/sendmail: No such file or directory
> >> "/root/dead.letter" 9/210
> >> . . . message not sent.
> >>
> >> I think we should do this correctly and rebuild /usr/sbin/sendmail in
> >> one shot, or include it in the global switch.
> >
> > It's only hardcoded as /usr/sbin/sendmail for mailx because that's what
> > the PKGBUILD for heirloom-mailx sets it to. Other packages can be fixed
> > as well.
> 
> I'm not following. If this path is hardcoded in several packages (and
> presumably in lots of custom packages/scripts), isn't this precisely
> one of the cases where we should delay the move until we do the proper
> usrmove and create the compat symlinks?
> 
> Cheers,
> 
> Tom

Expanding on that logic, why aren't we just doing this all at once?


More information about the arch-dev-public mailing list