Your message dated Tue, 27 Jan 2009 09:02:05 +0000
with message-id <[email protected]>
and subject line Bug#501719: fixed in cups-pdf 2.5.0-1
has caused the Debian Bug report #501719,
regarding cups-pdf: doesn't play well with NetWare shares
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.)
--
501719: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501719
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cups-pdf
Version: 2.4.8-3
Severity: important
Hi there!
Note1: I set Severity: important because I cannot find any reference
about this particular problem in the CUPS-PDF documentation nor
on the net, feel free to downgrade it at most to normal.
Note2: this can be similar to bug #496317 [1], but the origins are
different, that's why I submitted a new bug.
Note3: AFAIK ncp doesn't offer a 'root_squash' option.
I setup a print server for Windows/OSX machines for the laboratory
where I work and it's working pretty well. Instead of installing one of
the free (as in beer) virtual PDF printers for Windows, I decided to
offer a different free (as in speech) solution thanks to CUPS-PDF.
A bit more about my laboratory setup: we don't use user logins, but only
one for everyone and on every computer. Since our university offers
NetWare shares (incrementally backup-ed), all of our documents are
stored on one unique NetWare volume.
My idea is simple: from their Windows/OSX machines colleagues print to
the shared CUPD-PDF printer, which saves the PDF file in one specific
folder on the NetWare volume. However, this doesn't work and there's no
useful error shown by CUPS-PDF :-(
The print server setup:
- irlab/PDF is a symlink to /mnt/Novell/PDF-Printer
- the NetWare share is mounted with ncp options
noatime,rw,exec,auto,multiple,gid=plugdev,mode=775
- /mnt/Novell, when the NetWare share is not mounted, has permissions
775 and is owned by root:plugdev
- irlab is in the plugdev group
With the setup above, even when printing from command line through lpr,
the situations is the following, with logging at level 7:
a) irlab cannot print
=====
[DEBUG] switching to new gid (lpadmin)
[DEBUG] initialization finished (v2.4.8)
[DEBUG] user identified (irlab)
[DEBUG] output directory name generated (/mnt/Novell/PROD/PDF-Printer)
[DEBUG] user information prepared
[DEBUG] spoolfile name created (/var/spool/cups-pdf/SPOOL/cups2pdf-4115)
[DEBUG] source stream ready
[DEBUG] destination stream ready (/var/spool/cups-pdf/SPOOL/cups2pdf-4115)
[DEBUG] owner set for spoolfile (/var/spool/cups-pdf/SPOOL/cups2pdf-4115)
[DEBUG] found beginning of postscript code (%!PS-Adobe-3.0)
[DEBUG] now extracting postscript code
[DEBUG] found title in ps code ((test.txt))
[DEBUG] found embedded (e)ps code (%!PS-AdobeFont-1.0: Courier-Bold 1.05)
[DEBUG] found embedded (e)ps code (%!PS-AdobeFont-1.0: Courier 1.05)
[DEBUG] found embedded (e)ps code (%!PS-AdobeFont-1.0: Symbol 001.005)
[DEBUG] found end of embedded (e)ps code (%%EOF)
[DEBUG] all data written to spoolfile (/var/spool/cups-pdf/SPOOL/cups2pdf-4115)
[DEBUG] trying to use PS title ((test.txt))
[DEBUG] removing trailing newlines from title ((test.txt))
[DEBUG] removing enclosing parentheses () from full title ((test.txt))
[DEBUG] removing file name extension (.txt)
[DEBUG] removing special characters from title (test)
[DEBUG] title successfully retrieved (test)
[DEBUG] input data read from stdin
[DEBUG] output filename created (/mnt/Novell/PROD/PDF-Printer/test.pdf)
[DEBUG] ghostscript commandline built (/usr/bin/gs -q -dCompatibilityLevel=1.4 \
-dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite \
-sOutputFile="/mnt/Novell/PROD/PDF-Printer/test.pdf" \
-dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false \
-dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress \
-c .setpdfwrite -f /var/spool/cups-pdf/SPOOL/cups2pdf-4115)
[DEBUG] output file unlinked (/mnt/Novell/PROD/PDF-Printer/test.pdf)
[DEBUG] TMPDIR set for GhostScript (/var/tmp)
[DEBUG] entering child process
[DEBUG] GID set for current user
[DEBUG] UID set for current user (irlab)
[DEBUG] ghostscript has finished (256)
[ERROR] failed to set file mode for PDF file (non fatal)
(/mnt/Novell/PROD/PDF-Printer/test.pdf)
[DEBUG] ERRNO: 2
[DEBUG] waiting for child to exit
[DEBUG] spoolfile unlinked (/var/spool/cups-pdf/SPOOL/cups2pdf-4115)
[DEBUG] all memory has been freed
[STATUS] PDF creation successfully finished (irlab)
=====
The only error I get seems to be non fatal, which according to [2],
is not true: if this kind of error is fatal, why the '(non fatal)'
statement? And if Ghostscript exits with an error (256), why isn't
this marked as so by CUPS-PDF?
FWIW, so far I've failed to mount the NetWare share with file/mode
permission features and I've tested all the ncp options. However,
this hasn't caused any other problem until now.
FYI, irlab can write to both /mnt/Novell/PROD/PDF-Printer/ and
/var/tmp.
b) anonymous (e.g. the "Print Test Page" from http://localhost:631)
cannot print either (the CUPS-PDF log is the same)
c) root can print without any problem
=====
[...]
[DEBUG] output file unlinked (/mnt/Novell/PROD/PDF-Printer/test.pdf)
[DEBUG] TMPDIR set for GhostScript (/var/tmp)
[DEBUG] entering child process
[DEBUG] GID set for current user
[DEBUG] UID set for current user (root)
[DEBUG] ghostscript has finished (0)
[DEBUG] file mode set for user output (/mnt/Novell/PROD/PDF-Printer/test.pdf)
[DEBUG] no postprocessing
[DEBUG] waiting for child to exit
[DEBUG] spoolfile unlinked (/var/spool/cups-pdf/SPOOL/cups2pdf-4157)
[DEBUG] all memory has been freed
[STATUS] PDF creation successfully finished (root)
=====
I still wonder what's wrong with my setup :-(
Thx, bye,
Gismo / Luca
Footnotes:
[1] http://bugs.debian.org/496317
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496317#17
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cups-pdf depends on:
ii cups 1.3.8-1lenny1 Common UNIX Printing System(tm) -
ii cups-client 1.3.8-1lenny1 Common UNIX Printing System(tm) -
ii ghostscript 8.62.dfsg.1-3.1 The GPL Ghostscript PostScript/PDF
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libpaper-utils 1.1.23+nmu1 library for handling paper charact
cups-pdf recommends no packages.
Versions of packages cups-pdf suggests:
pn system-config-printer-gnome | <none> (no description available)
pgpxrD6Bp0L3I.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: cups-pdf
Source-Version: 2.5.0-1
We believe that the bug you reported is fixed in the latest version of
cups-pdf, which is due to be installed in the Debian FTP archive:
cups-pdf_2.5.0-1.diff.gz
to pool/main/c/cups-pdf/cups-pdf_2.5.0-1.diff.gz
cups-pdf_2.5.0-1.dsc
to pool/main/c/cups-pdf/cups-pdf_2.5.0-1.dsc
cups-pdf_2.5.0-1_i386.deb
to pool/main/c/cups-pdf/cups-pdf_2.5.0-1_i386.deb
cups-pdf_2.5.0.orig.tar.gz
to pool/main/c/cups-pdf/cups-pdf_2.5.0.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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin-Éric Racine <[email protected]> (supplier of updated cups-pdf 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: SHA1
Format: 1.8
Date: Mon, 26 Jan 2009 20:38:49 +0200
Source: cups-pdf
Binary: cups-pdf
Architecture: source i386
Version: 2.5.0-1
Distribution: unstable
Urgency: low
Maintainer: Debian CUPS Maintainers <[email protected]>
Changed-By: Martin-Éric Racine <[email protected]>
Description:
cups-pdf - PDF printer for CUPS
Closes: 496317 501719 502555
Changes:
cups-pdf (2.5.0-1) unstable; urgency=low
.
* New upstream release:
+ new option to truncate long filenames (Fixes Ubuntu #237224)
+ spoolfile is purged on errors (Re: OpenSuSE complaint)
+ failed chmod() on output is treated as non-fatal (Closes: #496317)
+ updates and additions to the documentation (Closes: #501719, #502555)
+ removed additional changelog from source code.
Checksums-Sha1:
fb720c830f11e104df74544437b61c3ab15191f9 1046 cups-pdf_2.5.0-1.dsc
3fa7aa012fe7be15e840e810565135243560a053 32352 cups-pdf_2.5.0.orig.tar.gz
a69f936a4420a83f1217399da86bb80bac9f5bb8 8608 cups-pdf_2.5.0-1.diff.gz
e76287c26126da1ffb999cfaad7df0dfd5e49a5a 42616 cups-pdf_2.5.0-1_i386.deb
Checksums-Sha256:
3d6c8dd4821b7b86f5b254189348bfdc330e65af57fbca1976063be3127df4be 1046
cups-pdf_2.5.0-1.dsc
7fc1c5b699e9f6a5400a693fb495a1ac790fc0078bcb8071a03ca55d9b2cc339 32352
cups-pdf_2.5.0.orig.tar.gz
87c0d0d2a63c0349d4def667dfc1b1c58b64cfff03f421cb42690a50a72f887b 8608
cups-pdf_2.5.0-1.diff.gz
8f80250e3c52ad65d2df517edba0088eff897b70bf2b36497649067e6bbeac99 42616
cups-pdf_2.5.0-1_i386.deb
Files:
d02eb31cb5ed67004a317cfb494db395 1046 graphics optional cups-pdf_2.5.0-1.dsc
9194af099a8c0e9aa213505b29ec6818 32352 graphics optional
cups-pdf_2.5.0.orig.tar.gz
bc008c4193c384f276e965c814a74e89 8608 graphics optional
cups-pdf_2.5.0-1.diff.gz
df6bab9bb2a9398b8d477e4adfb610ba 42616 graphics optional
cups-pdf_2.5.0-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkl+wMcACgkQDecnbV4Fd/LkIwCgvEXW2B/A+l5OcozcEypXQz6r
CW4AnA3lK4kB+heVjUU0QvgFtSB+Lzwo
=kRPm
-----END PGP SIGNATURE-----
--- End Message ---