Running this testcase twice will show the problem on Natty but not earlier kernels.
** Attachment added: "testcase.c" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/731878/+attachment/1990931/+files/testcase.c ** Also affects: linux (Ubuntu Natty) Importance: High Assignee: Canonical Kernel Team (canonical-kernel-team) Status: Confirmed ** Tags added: regression-release ** Description changed: - Binary package hint: amavisd-new + shutdown(2) no longer shuts down the socket fully. - The command /etc/init.d/amavis force-reload seems to crash amavis. It - works fine in older Ubuntu releases, but in Natty, there seems to be - some timing problem: + $ ./testcase + ... + $ ./testcase + bind: Address already in use - == - Mar 9 11:45:50 myhost amavis[8166]: starting. /usr/sbin/amavisd-new at myhost.alkernetz amavisd-new-2.6.4 (20090625), Unicode aware, LANG="de_DE.UTF-8" - Mar 9 11:45:50 myhost amavis[8166]: Perl version 5.010001 - Mar 9 11:45:50 myhost amavis[8170]: (!)Net::Server: 2011/03/09-11:45:50 Can't connect to TCP port 10024 on 127.0.0.1 [Die Adresse wird bereits verwendet]\n at line 88 in file /usr/share/perl5/Net/Server/Proto/TCP.pm - == - - The message means "Address already in use". It seems as if amavis does - not shut down properly before restarting, then the socket cannot be - used, and then the old instance dies. + This did not happen prior the Natty. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/731878 Title: shutdown(2) behavior changed in kernel -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
