new cupsys fails to start, claiming can't bind port 631

Bug #27062 reported by Debian Bug Importer
10
Affects Status Importance Assigned to Milestone
cupsys (Debian)
Fix Released
Unknown
cupsys (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #343279 http://bugs.debian.org/343279

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 13 Dec 2005 23:19:48 -0600
From: Rodney Gordon II <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: new cupsys fails to start, claiming can't bind port 631

Package: cupsys
Version: 1.1.23-13
Severity: grave
Justification: renders package unusable

The latest cupsys update broke the port binding for me:

root@ghreen { ~ }$ /etc/init.d/cupsys start
Starting Common Unix Printing System: cupsd
cupsd: Child exited with status 98!

/var/log/cups/error_log:
E [13/Dec/2005:23:16:09 -0600] StartListening: Unable to bind socket for
address 00000000:631 - Address already in use.

"lsof | grep 631" shows nothing binded to 631. I have checked and tried
to open the port myself, and I am sure it's open. I have also rebooted.

-r

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (350, 'testing'), (300, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-ck6-mt
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cupsys depends on:
ii adduser 3.80 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.62 Debian configuration management sy
ii gs-esp 8.15.1.dfsg.1-1 The Ghostscript PostScript interpr
ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an
ii libcupsimage2 1.1.23-13 Common UNIX Printing System(tm) -
ii libcupsys2 1.1.23-13 Common UNIX Printing System(tm) -
ii libgnutls12 1.2.9-2 the GNU TLS library - runtime libr
ii libpam0g 0.79-3 Pluggable Authentication Modules l
ii libpaper1 1.1.14-3 Library for handling paper charact
ii libslp1 1.2.1-3 OpenSLP libraries
ii patch 2.5.9-2 Apply a diff file to an original
ii perl-modules 5.8.7-9 Core Perl modules
ii procps 1:3.2.6-2 /proc file system utilities
ii xpdf-utils 3.01-3 Portable Document Format (PDF) sui
ii zlib1g 1:1.2.3-8 compression library - runtime

Versions of packages cupsys recommends:
ii cupsys-client 1.1.23-13 Common UNIX Printing System(tm) -
ii foomatic-filters 3.0.2-20050720-1 linuxprinting.org printer support
pn smbclient <none> (no description available)

-- debconf information:
* cupsys/raw-print: true
* cupsys/browse: false
* cupsys/ports: 631
* cupsys/backend: ipp, lpd, parallel, socket, usb
  cupsys/portserror:

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 13 Dec 2005 22:42:22 -0800
From: Steve Langasek <email address hidden>
To: Rodney Gordon II <email address hidden>, <email address hidden>
Subject: Re: Bug#343279: new cupsys fails to start, claiming can't bind port 631

--M38YqGLZlgb6RLPS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

severity 343279 important
thanks

On Tue, Dec 13, 2005 at 11:19:48PM -0600, Rodney Gordon II wrote:
> Package: cupsys
> Version: 1.1.23-13
> Severity: grave
> Justification: renders package unusable

> The latest cupsys update broke the port binding for me:

> root@ghreen { ~ }$ /etc/init.d/cupsys start =20
> Starting Common Unix Printing System: cupsd
> cupsd: Child exited with status 98!

> /var/log/cups/error_log:
> E [13/Dec/2005:23:16:09 -0600] StartListening: Unable to bind socket for
> address 00000000:631 - Address already in use.

> "lsof | grep 631" shows nothing binded to 631. I have checked and tried
> to open the port myself, and I am sure it's open. I have also rebooted.

This probably means that the port is opened by an NFS-related kernel thread
because portmap (incorrectly) assigns the port there. You can confirm this
by stopping the NFS server (/etc/init.d/nfs-kernel-server and
/etc/init.d/nfs-common) and starting cupsys again.

This is not a bug in cupsys, but a systemic problem with portmap's random
port assignment process.

--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://www.debian.org/

--M38YqGLZlgb6RLPS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFDn77MKN6ufymYLloRAjjFAKC3HmepJSYqv3HOpz8zltrE1YbCpQCfW7Ra
NiD6m9HEJpWl5uFzmBtePyI=
=Q4mG
-----END PGP SIGNATURE-----

--M38YqGLZlgb6RLPS--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 14 Dec 2005 00:25:10 -0800
From: Steve Langasek <email address hidden>
To: Rodney Gordon II <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#343279: new cupsys fails to start, claiming can't bind port 631

--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

severity 343279 grave
thanks

On Wed, Dec 14, 2005 at 01:58:23AM -0600, Rodney Gordon II wrote:
> On Tue, Dec 13, 2005 at 10:42:22PM -0800, Steve Langasek wrote:
> > On Tue, Dec 13, 2005 at 11:19:48PM -0600, Rodney Gordon II wrote:
> > > Package: cupsys
> > > Version: 1.1.23-13
> > > Severity: grave
> > > Justification: renders package unusable

> > > The latest cupsys update broke the port binding for me:

> > > root@ghreen { ~ }$ /etc/init.d/cupsys start =20
> > > Starting Common Unix Printing System: cupsd
> > > cupsd: Child exited with status 98!

> > > /var/log/cups/error_log:
> > > E [13/Dec/2005:23:16:09 -0600] StartListening: Unable to bind socket =
for
> > > address 00000000:631 - Address already in use.

> > > "lsof | grep 631" shows nothing binded to 631. I have checked and tri=
ed
> > > to open the port myself, and I am sure it's open. I have also reboote=
d.

> > This probably means that the port is opened by an NFS-related kernel th=
read
> > because portmap (incorrectly) assigns the port there. You can confirm =
this
> > by stopping the NFS server (/etc/init.d/nfs-kernel-server and
> > /etc/init.d/nfs-common) and starting cupsys again.

> > This is not a bug in cupsys, but a systemic problem with portmap's rand=
om
> > port assignment process.

> No, sorry. I do not have portmap installed.

> Downgrading to 1.1.23-12 works perfectly.

Ok, sorry for the wrong guess. Bumping the severity back up.

Cheers,
--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://www.debian.org/

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFDn9bkKN6ufymYLloRAlDuAKC6NuX9v5f5kR4DcS3NyCjbniHE/gCeNX8t
zVZXfqJVmT5UTtK/yLN5gG0=
=wwdn
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 14 Dec 2005 11:58:30 -0500
From: Filipus Klutiero <email address hidden>
To: <email address hidden>
Subject: Merge

merge 343279 343292
thanks

Revision history for this message
Debian Bug Importer (debzilla) wrote :

*** Bug 27065 has been marked as a duplicate of this bug. ***

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Marking as duplicate based on debbugs merge (343251,343279)

This bug has been marked as a duplicate of bug 27087.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 14 Dec 2005 18:57:57 +0000
From: Roger Leigh <email address hidden>
To: <email address hidden>
Subject: merge related

merge 343292 343349
thanks

--
Roger Leigh
                Printing on GNU/Linux? http://gimp-print.sourceforge.net/
                Debian GNU/Linux http://www.debian.org/
                GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.7 KiB)

Message-Id: <email address hidden>
Date: Wed, 14 Dec 2005 17:17:07 -0800
From: Kenshi Muto <email address hidden>
To: <email address hidden>
Subject: Bug#343251: fixed in cupsys 1.1.23-14

Source: cupsys
Source-Version: 1.1.23-14

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

cupsys-bsd_1.1.23-14_i386.deb
  to pool/main/c/cupsys/cupsys-bsd_1.1.23-14_i386.deb
cupsys-client_1.1.23-14_i386.deb
  to pool/main/c/cupsys/cupsys-client_1.1.23-14_i386.deb
cupsys_1.1.23-14.diff.gz
  to pool/main/c/cupsys/cupsys_1.1.23-14.diff.gz
cupsys_1.1.23-14.dsc
  to pool/main/c/cupsys/cupsys_1.1.23-14.dsc
cupsys_1.1.23-14_i386.deb
  to pool/main/c/cupsys/cupsys_1.1.23-14_i386.deb
libcupsimage2-dev_1.1.23-14_i386.deb
  to pool/main/c/cupsys/libcupsimage2-dev_1.1.23-14_i386.deb
libcupsimage2_1.1.23-14_i386.deb
  to pool/main/c/cupsys/libcupsimage2_1.1.23-14_i386.deb
libcupsys2-dev_1.1.23-14_i386.deb
  to pool/main/c/cupsys/libcupsys2-dev_1.1.23-14_i386.deb
libcupsys2-gnutls10_1.1.23-14_all.deb
  to pool/main/c/cupsys/libcupsys2-gnutls10_1.1.23-14_all.deb
libcupsys2_1.1.23-14_i386.deb
  to pool/main/c/cupsys/libcupsys2_1.1.23-14_i386.deb

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kenshi Muto <email address hidden> (supplier of updated cupsys 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 address hidden>)

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

Format: 1.7
Date: Thu, 15 Dec 2005 06:00:09 +0900
Source: cupsys
Binary: cupsys-bsd libcupsys2-dev libcupsys2 cupsys libcupsys2-gnutls10 libcupsimage2-dev libcupsimage2 cupsys-client
Architecture: source i386 all
Version: 1.1.23-14
Distribution: unstable
Urgency: high
Maintainer: Debian CUPS Maintainers <email address hidden>
Changed-By: Kenshi Muto <email address hidden>
Description:
 cupsys - Common UNIX Printing System(tm) - server
 cupsys-bsd - Common UNIX Printing System(tm) - BSD commands
 cupsys-client - Common UNIX Printing System(tm) - client programs (SysV)
 libcupsimage2 - Common UNIX Printing System(tm) - image libs
 libcupsimage2-dev - Common UNIX Printing System(tm) - image development files
 libcupsys2 - Common UNIX Printing System(tm) - libs
 libcupsys2-dev - Common UNIX Printing System(tm) - development files
 libcupsys2-gnutls10 - Common UNIX Printing System(tm) - dummy libs for transition
Closes: 343251 343279 343341 343397 343400
Changes:
 cupsys (1.1.23-14) unstable; urgency=high
 .
   [Kenshi Muto]
   * Downgrade port and browse question to low. (closes: #343341)
   * debian/patches/08_cupsd.conf.conf.d.dpatch:
     - Commented out Port/Listen/Browsing in cupsd.conf.in because
       CUPS crashes when there is a duplicate definition!
       (closes: #343251, #343279, ##343...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.7 KiB)

Message-Id: <email address hidden>
Date: Wed, 14 Dec 2005 17:17:08 -0800
From: Kenshi Muto <email address hidden>
To: <email address hidden>
Subject: Bug#343279: fixed in cupsys 1.1.23-14

Source: cupsys
Source-Version: 1.1.23-14

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

cupsys-bsd_1.1.23-14_i386.deb
  to pool/main/c/cupsys/cupsys-bsd_1.1.23-14_i386.deb
cupsys-client_1.1.23-14_i386.deb
  to pool/main/c/cupsys/cupsys-client_1.1.23-14_i386.deb
cupsys_1.1.23-14.diff.gz
  to pool/main/c/cupsys/cupsys_1.1.23-14.diff.gz
cupsys_1.1.23-14.dsc
  to pool/main/c/cupsys/cupsys_1.1.23-14.dsc
cupsys_1.1.23-14_i386.deb
  to pool/main/c/cupsys/cupsys_1.1.23-14_i386.deb
libcupsimage2-dev_1.1.23-14_i386.deb
  to pool/main/c/cupsys/libcupsimage2-dev_1.1.23-14_i386.deb
libcupsimage2_1.1.23-14_i386.deb
  to pool/main/c/cupsys/libcupsimage2_1.1.23-14_i386.deb
libcupsys2-dev_1.1.23-14_i386.deb
  to pool/main/c/cupsys/libcupsys2-dev_1.1.23-14_i386.deb
libcupsys2-gnutls10_1.1.23-14_all.deb
  to pool/main/c/cupsys/libcupsys2-gnutls10_1.1.23-14_all.deb
libcupsys2_1.1.23-14_i386.deb
  to pool/main/c/cupsys/libcupsys2_1.1.23-14_i386.deb

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kenshi Muto <email address hidden> (supplier of updated cupsys 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 address hidden>)

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

Format: 1.7
Date: Thu, 15 Dec 2005 06:00:09 +0900
Source: cupsys
Binary: cupsys-bsd libcupsys2-dev libcupsys2 cupsys libcupsys2-gnutls10 libcupsimage2-dev libcupsimage2 cupsys-client
Architecture: source i386 all
Version: 1.1.23-14
Distribution: unstable
Urgency: high
Maintainer: Debian CUPS Maintainers <email address hidden>
Changed-By: Kenshi Muto <email address hidden>
Description:
 cupsys - Common UNIX Printing System(tm) - server
 cupsys-bsd - Common UNIX Printing System(tm) - BSD commands
 cupsys-client - Common UNIX Printing System(tm) - client programs (SysV)
 libcupsimage2 - Common UNIX Printing System(tm) - image libs
 libcupsimage2-dev - Common UNIX Printing System(tm) - image development files
 libcupsys2 - Common UNIX Printing System(tm) - libs
 libcupsys2-dev - Common UNIX Printing System(tm) - development files
 libcupsys2-gnutls10 - Common UNIX Printing System(tm) - dummy libs for transition
Closes: 343251 343279 343341 343397 343400
Changes:
 cupsys (1.1.23-14) unstable; urgency=high
 .
   [Kenshi Muto]
   * Downgrade port and browse question to low. (closes: #343341)
   * debian/patches/08_cupsd.conf.conf.d.dpatch:
     - Commented out Port/Listen/Browsing in cupsd.conf.in because
       CUPS crashes when there is a duplicate definition!
       (closes: #343251, #343279, ##343...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.