[Pkg-cups-devel] Bug#363226: cupsys: Bad $TMPDIR causes admin
server-error-internal-error
Andrew Schulman
andrex at alumni.utexas.net
Tue Apr 18 02:13:01 UTC 2006
Package: cupsys
Version: 1.1.23-15
Severity: normal
>From the web interface, when I try to run "Configure Printer", I get
"Error: server-error-internal-error". The error logs don't provide
any information about the cause of the trouble, even at LogLevel
debug2.
To make a long story short, I found that this problem is caused by the
following combination of events:
(1) root exports environment variable TMPDIR=/tmp/root
(2) root runs /etc/init.d/cupsys restart
(3) A non-root user (in the lpadmin group), who can't read or write
$TMPDIR, signs onto the web interface and tries to run "Configure
Printer"
If root unsets TMPDIR and restarts cupsd, the problem goes away.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (300, 'unstable'), (200, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages cupsys depends on:
ii adduser 3.85 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii gs-esp 8.15.1.dfsg.1-2 The Ghostscript PostScript interpr
ii libc6 2.3.6-3 GNU C Library: Shared libraries an
ii libcupsimage2 1.1.23-15 Common UNIX Printing System(tm) -
ii libcupsys2 1.1.23-15 Common UNIX Printing System(tm) -
ii libgnutls12 1.2.9-2 the GNU TLS library - runtime libr
ii libpam0g 0.79-3.1 Pluggable Authentication Modules l
ii libpaper1 1.1.14-7 Library for handling paper charact
ii libslp1 1.2.1-5 OpenSLP libraries
ii patch 2.5.9-4 Apply a diff file to an original
ii perl-modules 5.8.8-4 Core Perl modules
ii procps 1:3.2.6-2.1 /proc file system utilities
ii xpdf-utils 3.01-7 Portable Document Format (PDF) sui
ii zlib1g 1:1.2.3-11 compression library - runtime
Versions of packages cupsys recommends:
ii cupsys-client 1.1.23-15 Common UNIX Printing System(tm) -
ii foomatic-filters 3.0.2-20060318-2 linuxprinting.org printer support
pn smbclient <none> (no description available)
-- debconf information:
cupsys/raw-print: true
cupsys/browse: true
cupsys/ports: 631
cupsys/backend: ipp, lpd, parallel, socket, usb
cupsys/portserror:
More information about the Pkg-cups-devel
mailing list