Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 381977

Summary: mail-filter/amavisd-new-2.7.0 please stabilize
Product: Gentoo Linux Reporter: Luca Lesinigo <luckyluke>
Component: [OLD] Keywording and StabilizationAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: enhancement CC: alanh, antivirus
Priority: Normal Keywords: STABLEREQ
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.amavis.org/release-notes.txt
Whiteboard:
Package list:
Runtime testing required: ---

Description Luca Lesinigo 2011-09-05 20:17:34 UTC
amavisd-new-2.7.0 is the current stable version upstream as of july 2011.

Please stabilize it and please don't let it get years old like the 2.6.x series in portage :(

We are starting internal testing on gentoo/hardened/amd64 and I'll report back any issue.
Comment 1 Eray Aslan gentoo-dev 2011-09-06 06:55:44 UTC
Arches, please test and mark stable =mail-filter/amavisd-new-2.7.0.  Thank you.
Comment 2 Michael Orlitzky gentoo-dev 2011-09-06 14:29:20 UTC
We switched to this on our main MX a while ago for the before-queue improvements. You have my vote for x86.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2011-09-07 15:46:31 UTC
amd64:

ok
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2011-09-08 13:28:45 UTC
+  08 Sep 2011; Tony Vroon <chainsaw@gentoo.org> amavisd-new-2.7.0.ebuild:
+  Marked stable on AMD64 based on arch testing by Ian "idella4" Delaney in bug
+  #381977 filed by Luca Lesinigo.
Comment 5 Alan Hourihane 2011-09-09 08:29:16 UTC
It's broken with 2.7.0 as it doesn't start because of this....

Subroutine post_bind_hook redefined at /usr/sbin/amavisd line 10841.  

Looking at /usr/sbin/amavisd we have two definitions....

### Net::Server hook
### Occurs in the parent (master) process after binding to sockets,
### but before chrooting and dropping privileges
#
sub post_bind_hook {
  umask(0027);  # restore our preferred umask
  set_sockets_access()  if defined $warm_restart && !$warm_restart;
}

### Net::Server hook
### This hook occurs just after the bind process and just before any
### chrooting, change of user, or change of group occurs.  At this point
### the process will still be running as the user who started the server.
sub post_bind_hook {
  my ($self) = @_;
  if (c('protocol') eq 'COURIER') {
    # Allow courier to write to the socket
    chmod(0660, $unix_socketname);
  }
  if ($self->{courierfilter_pipe}) {
    # Watch for courierfilter telling us to shut down
    $self->{server}->{select}->add($self->{courierfilter_pipe});
  }
}
Comment 6 Homer Parker (RETIRED) gentoo-dev 2011-09-09 08:37:08 UTC
Is that with USE="courier"? Looking at mine without that just has the first definition.
Comment 7 Alan Hourihane 2011-09-09 08:37:55 UTC
Yes, that's correct.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2011-10-17 15:35:10 UTC
Stable for HPPA.
Comment 9 Markus Meier gentoo-dev 2011-10-23 11:31:24 UTC
x86 stable
Comment 10 Mark Loeser (RETIRED) gentoo-dev 2011-12-30 16:08:34 UTC
reverted back to ~ppc/~ppc64, done
Comment 11 Tobias Klausmann (RETIRED) gentoo-dev 2012-01-19 12:32:33 UTC
Stable on alpha.
Comment 12 Raúl Porcel (RETIRED) gentoo-dev 2012-03-17 17:58:36 UTC
sparc stable, closing