Your message dated Wed, 05 Apr 2017 19:48:49 +0000
with message-id <[email protected]>
and subject line Bug#859234: fixed in firebird3.0 3.0.2.32703.ds4-1
has caused the Debian Bug report #859234,
regarding firebird3.0-server: firebird server may not be ready to serve 
requests after service start
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
859234: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859234
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: firebird3.0-server
Version: 3.0.1.32609.ds4-14
Severity: normal
Tags: upstream

On a heavily loaded system, starting firebird3.0-server service doesn't 
guarantee that daemon is ready to serve requests.

This is caused by the fact that the init.d script/systemd service starts 
fbguard, which exists before making sure the fbserver process is ready to 
accept connections.

>From guard.cpp:

    165         // detach from controlling tty
    166         if (daemon && fork()) {
    167                 exit(0);
    168         }
    169         divorce_terminal(0);

What follows is the start of the server process (vfork + exec), racing with the 
exit of the main guardian process.

Thinking of a possible fix, perhaps the server process could signal the 
guardian somehow that it is ready to accept connections. The parent guardian 
process should exit after receiving the signal.

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages firebird3.0-server depends on:
ii  adduser                  3.115
ii  debconf                  1.5.60
ii  firebird3.0-common       3.0.1.32609.ds4-14
ii  firebird3.0-common-doc   3.0.1.32609.ds4-14
ii  firebird3.0-server-core  3.0.1.32609.ds4-14
ii  firebird3.0-utils        3.0.1.32609.ds4-14
ii  init-system-helpers      1.47
ii  libc6                    2.24-9
ii  libfbclient2             3.0.1.32609.ds4-14
ii  libgcc1                  1:6.3.0-10
ii  libncurses5              6.0+20161126-1
ii  libstdc++6               6.3.0-10
ii  libtinfo5                6.0+20161126-1
ii  libtommath1              1.0-4
ii  lsb-base                 9.20161125

Versions of packages firebird3.0-server recommends:
ii  libib-util  3.0.1.32609.ds4-14

Versions of packages firebird3.0-server suggests:
ii  firebird3.0-doc  3.0.1.32609.ds4-14

--- End Message ---
--- Begin Message ---
Source: firebird3.0
Source-Version: 3.0.2.32703.ds4-1

We believe that the bug you reported is fixed in the latest version of
firebird3.0, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Damyan Ivanov <[email protected]> (supplier of updated firebird3.0 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 05 Apr 2017 19:29:46 +0000
Source: firebird3.0
Binary: firebird3.0-server-core firebird3.0-server firebird3.0-utils 
libfbclient2 libib-util firebird3.0-common firebird-dev firebird3.0-examples 
firebird3.0-doc firebird3.0-common-doc
Architecture: source
Version: 3.0.2.32703.ds4-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Firebird Group <[email protected]>
Changed-By: Damyan Ivanov <[email protected]>
Closes: 859234 859236
Description: 
 firebird3.0-common - common files for firebird 3.0 server, client and utilities
 firebird3.0-common-doc - copyright, licensing and changelogs of firebird3.0
 firebird3.0-doc - Documentation files for firebird database version 3.0
 firebird3.0-examples - Examples for Firebird - an RDBMS based on InterBase 6.0 
code
 firebird3.0-server-core - Firebird Server - engine core
 firebird3.0-server - Firebird Server - an RDBMS based on InterBase 6.0 code
 firebird3.0-utils - Firebird user utilities
 firebird-dev - Development files for Firebird
 libfbclient2 - Firebird client library
 libib-util - Firebird UDF support library
Changes:
 firebird3.0 (3.0.2.32703.ds4-1) experimental; urgency=medium
 .
   * New upstream release
     + Drop 4 patches released upstream and fix offsets in 2 patches to apply
       cleanly
   * move password question reset from .config to .postinst
     Closes: #859236
   * patch fbguard/fbserver so that fbguard parent process exits to the OS only
     after fbserver is ready to serve requests
     Closes: #859234
Checksums-Sha1: 
 7a02102ebb46f70483a6ee9e7595e220de99fa1a 2887 firebird3.0_3.0.2.32703.ds4-1.dsc
 3cae43f640d3f371e9e7158712ef6e61edb1576f 3329472 
firebird3.0_3.0.2.32703.ds4.orig.tar.xz
 95b5e9f43192f8aba1f28a4b80dd1946b3880782 98248 
firebird3.0_3.0.2.32703.ds4-1.debian.tar.xz
Checksums-Sha256: 
 a0776a48cba445b4ee9c0c5aebeb00326870fd2193936848695d354ca3f5013b 2887 
firebird3.0_3.0.2.32703.ds4-1.dsc
 86145c627f3474ee628fdd4e2b0c5635cf899e7ff82a86bdabc256e5415698fe 3329472 
firebird3.0_3.0.2.32703.ds4.orig.tar.xz
 fc265961ee31818f26e3843d17480d9bfca1105c4b07a871e9bdbddf6298593e 98248 
firebird3.0_3.0.2.32703.ds4-1.debian.tar.xz
Files: 
 644fa1fd7210fb49673a428b25bf27b7 2887 database optional 
firebird3.0_3.0.2.32703.ds4-1.dsc
 9f4c254cf064f04fb0797c5ffc2745fd 3329472 database optional 
firebird3.0_3.0.2.32703.ds4.orig.tar.xz
 b934c81c30deab6299d388619c50ab08 98248 database optional 
firebird3.0_3.0.2.32703.ds4-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErqDETssFbpNjDZ0z276dTZnSoAQFAljlR7YACgkQ276dTZnS
oASEug/+KVnV8XHIl471GgoVHFGKt5jddGIY1k2iDG7MM3qLPkmx81/ArmFa4bKy
sjrbWppg2KGVC6Kb4xPqdjxu4q+hh8LKBJznLnewtNYlxswHSpY58vTdyAOzDy65
0/C1eZMXC70OvHbMYAcDc4grhZM4Q7e5BN6oolh0PlgJqCz72DJjeYHaJWXJU305
oyC5UwO56YpDP21FEOBHHpCk/hWSqv7tvNK1H9wrAMpNb1oG2EIG2qIh++2NtY5P
FanmfIFOVkMq06L+gsV19IkZXrEjdqqqYiH8Ho4sxqIL3xBQDm/9/gB7vbQVcAZx
aYkRg6XcGqKQI6IurkQDk0PF3Ca9EYCnXXlu4P5PxWXe4XUguWUBVdTp/bydAl3q
qqT/SBeOdEyfDKLX4ses+ACRn9w43itqjIRuHvbFUGQU5ADAqkl/CkfA4o/Q1oZ8
lxIPjVgyNqVBUEp8sFDU9tvxOr9rFEGBZIT4WcpHnW2ar2S6zjPcKvhtw+mQBZ/x
XdznHQg+rk5d6loninw4mXeuqG3uPLNkAK+DRdyAZcr/d/CI6r2c8uk+23SaPPyK
5Mhaabb+1XSKJhelh5i01H1kHg9N4nD+A2lMeFcsJ5bJLp/YhL+YJBMULD3+nita
QB4Dyw2g38Wc28DVyymgSjPq5oFWP7b14hhZp6gVw2I9qBNfHQ4=
=+c+W
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to