Your message dated Sat, 20 Feb 2010 13:02:08 +0000
with message-id <e1nioyg-0003do...@ries.debian.org>
and subject line Bug#568385: fixed in gracie 0.2.11-1
has caused the Debian Bug report #568385,
regarding gracie: network socket file descriptor must remain open when becoming 
daemon
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 ow...@bugs.debian.org
immediately.)


-- 
568385: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568385
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gracie
Version: 0.2.10-3
Severity: grave
Justification: renders package unusable

Gracie does not work for me after upgrading (it doesn't open the
port). After investigating a while, it looks like the problem is it
daemonizes after having the port bound, and listened to, but the
daemonization process closes the socket:

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(3, {sa_family=AF_INET, sin_port=htons(8123), sin_addr=inet_addr("127.0.0.1"
)}, 16) = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(8123), sin_addr=inet_addr("127
.0.0.1")}, [16]) = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(8123), sin_addr=inet_addr("127
.0.0.1")}, [16]) = 0
[...]
umask(0)                                = 022
chdir("/")                              = 0
setgid32(0)                             = 0
setuid32(0)                             = 0
clone(Process 22607 attached (waiting for parent)
Process 22607 resumed (parent 22606 ready)
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7ed8728) = 22607
[pid 22607] setsid()                    = 22607
[...]
[pid 22608] close(9)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(8)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(7)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(6)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(5)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(4)                    = -1 EBADF (Bad file descriptor)
[pid 22608] close(3)                    = 0
[pid 22608] close(1)                    = 0
[pid 22608] close(0)                    = 0
[pid 22608] open("/dev/null", O_RDWR|O_LARGEFILE) = 0
[pid 22608] dup2(0, 0)                  = 0
[pid 22608] open("/dev/null", O_RDWR|O_LARGEFILE) = 1
[pid 22608] dup2(1, 1)                  = 1
[pid 22608] open("/dev/null", O_RDWR|O_LARGEFILE) = 3
[...]

[pid 22608] accept(3, 0xbfe92244, [16]) = -1 ENOTSOCK (Socket operation on 
non-socket)
[pid 22608] accept(3, 0xbfe92244, [16]) = -1 ENOTSOCK (Socket operation on 
non-socket)
...

And it stays there forever, eating CPU cycles, trying to accept on
/dev/null =D.

Thanks,

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

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



--- End Message ---
--- Begin Message ---
Source: gracie
Source-Version: 0.2.11-1

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

gracie_0.2.11-1.debian.tar.gz
  to main/g/gracie/gracie_0.2.11-1.debian.tar.gz
gracie_0.2.11-1.dsc
  to main/g/gracie/gracie_0.2.11-1.dsc
gracie_0.2.11-1_all.deb
  to main/g/gracie/gracie_0.2.11-1_all.deb
gracie_0.2.11.orig.tar.gz
  to main/g/gracie/gracie_0.2.11.orig.tar.gz



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 568...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Finney <ben+deb...@benfinney.id.au> (supplier of updated gracie 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 20 Feb 2010 11:53:29 +1100
Source: gracie
Binary: gracie
Architecture: source all
Version: 0.2.11-1
Distribution: unstable
Urgency: high
Maintainer: Ben Finney <ben+deb...@benfinney.id.au>
Changed-By: Ben Finney <ben+deb...@benfinney.id.au>
Description: 
 gracie     - OpenID server for local PAM accounts
Closes: 568385
Changes: 
 gracie (0.2.11-1) unstable; urgency=high
 .
   * Urgency ‘high’ to address reported bug of ‘grave’ severity.
   * New upstream version.
     + Keep the network socket open when becoming a daemon.
       (Closes: Bug#568385)
   * debian/control:
     * Conform to ‘Standards-Version: 3.8.4’. No additional changes needed.
     * Drop ‘Provides’ field, since a Python-versioned dependency should
       not be necessary (ref. ‘python-support’ documentation).
Checksums-Sha1: 
 ab44340e76c59eeb34c412fba8db603ec44d0899 1415 gracie_0.2.11-1.dsc
 6a4957c22174ca80de1f5d01bfeca27548821d55 47896 gracie_0.2.11.orig.tar.gz
 0afab13b8962e0a48ed5f9c149e36475211e9656 4684 gracie_0.2.11-1.debian.tar.gz
 75c0362f196e327517f8b466e63e07afe3d3bff9 36814 gracie_0.2.11-1_all.deb
Checksums-Sha256: 
 5fe23a380b2274d6ef09b639d4ebe9194aed5430e3466f991ae6b4f14c65bf0f 1415 
gracie_0.2.11-1.dsc
 f003633a2c906674b59d6c6930f979163ce0f220c113e37afa687fac3be36ed5 47896 
gracie_0.2.11.orig.tar.gz
 2db18f11515c23da69128038eab7603e26e727a62bd7a729331fc0ac249d8259 4684 
gracie_0.2.11-1.debian.tar.gz
 edd1e3cddb74be6f2f91a54634e59212b75f51a6bd57aa2edc43079026a09618 36814 
gracie_0.2.11-1_all.deb
Files: 
 eb9dd142fd880ee01d4f2d19dabb37c3 1415 web extra gracie_0.2.11-1.dsc
 71eb0e3fd9d0ed6017575855b8939b33 47896 web extra gracie_0.2.11.orig.tar.gz
 f8e0323db2ebb5b9a6676f63d52f4e5d 4684 web extra gracie_0.2.11-1.debian.tar.gz
 41566150682fef4b73cbcf6f90636831 36814 web extra gracie_0.2.11-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkt/zXwACgkQoRg/jtECjI2/EQCglhXVOi8uanFdG5IMZ00vEs+n
vqIAnjzx+vc5K9WF9iBlAnIqSIRnh0GM
=mU0k
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to