Bug#506181: [Pkg-cups-devel] Bug#506181: Various backends have the wrong permissions
Hi Chanoch, Chanoch (Ken) Bloom [2008-11-19 8:21 -0600]: I decided to test this by purging and reinstalling cups. Cups worked out of the box. Then I went to reconfigure things the way I had been using CUPS (1 printer, shared with the whole subnet) by editing things in the KDE Printing control panel. After changing things with Print Server - Configure Server..., KDE wrote out a whole different cupsd.conf, hardly resembling the original. I can't figure out how that cupsd.conf is assigning permissions. kdeprint added the line Group lpadmin, but the test backend gives uid=7(lp) gid=0(root) groups=0(root). Ah, Group lpadmin is wrong. It should be SystemGroup lpadmin, and it shouldn't change Group. I guess this is a kdeprint bug rather than a cups bug, so I'm reassigning it. The two versions of cupsd.conf are attached. Right, thank you! I do see the issue with the serial backends. For that we probably need to make the serial backend run as root. Perhaps making the various backends SetGID (or SetUID) to the permissions they need would help? I fixed it in cups now (see attached patch), will upload to experimental and unstable. Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) === modified file 'debian/changelog' --- debian/changelog 2008-11-20 07:53:16 + +++ debian/changelog 2008-11-20 07:56:07 + @@ -9,6 +9,9 @@ backchannel EOF (select() returns ready for read on EOF). This completely broke printing with e. g. HPJetDirect. Thanks to Samuel Thibault for tracking down the problem! (Closes: #489045) + * debian/rules: Install the serial backend with 0744 permissions to make it +run as root, since /dev/ttyS* are root:dialout and thus not accessible as +user lp. Thanks to Chanoch (Ken) Bloom. (One part of #506181) -- Martin Pitt [EMAIL PROTECTED] Thu, 20 Nov 2008 08:52:00 +0100 === modified file 'debian/rules' --- debian/rules 2008-05-23 08:14:05 + +++ debian/rules 2008-11-20 07:55:48 + @@ -73,6 +73,10 @@ install -D -m 644 debian/local/apparmor-profile debian/$(cdbs_curpkg)/etc/apparmor.d/usr.sbin.cupsd; \ fi + # Make the serial backend run as root, since /dev/ttyS* are + # root:dialout and thus not accessible as user lp + chmod go-x debian/$(cdbs_curpkg)/usr/lib/cups/backend-available/serial + binary-post-install/libcupsimage2-dev:: rm -r debian/libcupsimage2-dev/usr/share/doc/libcupsimage2-dev ln -s libcupsimage2 debian/libcupsimage2-dev/usr/share/doc/libcupsimage2-dev signature.asc Description: Digital signature
Bug#506341: kpdf crashes when opening graphically-intensive files
Package: kpdf Version: 4:3.5.9-3 Severity: critical Justification: breaks the whole system Hi, sometimes when I open certain PDFs (especially, but not only when opening directly from Firefox), esp. those with few written text and complex graphics, the whole system completely crashes (i.e. doesn't react to keyboard and mouse, music player hangs and so on). syslog and dmesg don't deliver related information (at least not as far as I could figure out), so I have absolutely no clue what is the problem. Can someone help me with this? Thank you in advance for your answer! Martin Unzner -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages kpdf depends on: ii kdelibs4c2a 4:3.5.9.dfsg.1-6 core libraries and binaries for al ii libc6 2.7-16 GNU C Library: Shared libraries ii libfreetype62.3.7-2 FreeType 2 font engine, shared lib ii libgcc1 1:4.3.2-1GCC support library ii libpaper1 1.1.23+nmu1 library for handling paper charact ii libqt3-mt 3:3.3.8b-5 Qt GUI Library (Threaded runtime v ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3 ii libxft2 2.1.12-3 FreeType-based font drawing librar Versions of packages kpdf recommends: ii kghostview4:3.5.9-3 PostScript viewer for KDE Versions of packages kpdf suggests: ii khelpcente 4:4.0.0.really.3.5.9.dfsg.1-5 help center for KDE -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#506341: kpdf crashes when opening graphically-intensive files
Hi, sometimes when I open certain PDFs Please provide one of them, otherwise there's very little that can be done. -- Pino Toscano signature.asc Description: This is a digitally signed message part.
Bug#498573: Confirming problems with Phonon
On Monday 17 November 2008 23:57:02 Vincent Fourmond wrote: Hello, I wanted to confirm that if a user never did run a KDE session (such as me), Phonon does not work. In addition, the Qt4 documentation should be updated to reflect necessary #includes. For instance, to use Phonon::VideoPlayer, Qt4 docs say #include Phonon Whereas what I actually needed was #include phonon/videoplayer.h For the plugins problems, it looks like it might just be necessary to add a symlink from /usr/lib/kde4/plugins/phonon_backend to /usr/lib/qt4/plugins/ to the libphonon4 package. Hi I think that http://alioth.debian.org/~pusling-guest/phonon_4:4.2.0-2/ packages can solve it. Can any of you confirm? then I will upload and try to get it included for lenny -- I'm not able to connect a jumper over a forward, how does it work? You should never debug the 68X login and from Windows 9000 you must digit from the GUI to a cable, so that then you neither need to log on the laser IRC fan, nor can open the 3D mother board on a 4-inch SMTP port to click the device of the directory of a LCD mouse. signature.asc Description: This is a digitally signed message part.