[Pkg-cups-devel] Bug#629419: Bug#629419: lpadmin in postinst configure should timeout early

Martin-Éric Racine martin-eric.racine at iki.fi
Mon Jun 6 15:10:46 UTC 2011


2011/6/6 John Feuerstein <john at feurix.com>:
> Package: cups-pdf
> Version: 2.5.1-3
>
> I've installed "cups" and the "cups-pdf" packages using aptitude on current
> unstable. There was no previous cups configuration, none of these packages
> was installed earlier.
>
> The installation worked out fine in the end, however, the following step
> took about 20 minutes without any output:
>
> ------------------------------------------------
> Setting up cups-pdf (2.5.1-3) ...
> Reloading Common Unix Printing System: cupsd.
> *hang for about 20 minutes*
> ------------------------------------------------
>
> I've traced this down to the multiple lpadmin(8) calls in "cups-pdf.postinst
> configure". Running this on the command-line:
>
> $ sudo lpstat -h localhost -v
>
> while the installation stalled resulted in the same behaviour. Running it
> under strace shows that it hangs while connecting:
>
> connect(5, {sa_family=AF_INET, sin_port=htons(631),
> sin_addr=inet_addr("127.0.0.1")}, 16^C <unfinished ...>

This seems to indicate that the problem is with the lpadmin and lpstat
commands themselves and not with CUPS-PDF. Reassigning.

Martin-Éric





More information about the Pkg-cups-devel mailing list