/etc/cups/cupsd.conf file overwritten by kdelibs-data or other KDE package?

Bug #18860 reported by R (Chandra) Chandrasekhar
12
Affects Status Importance Assigned to Milestone
kdelibs (Ubuntu)
Invalid
Medium
Kubuntu Bugs

Bug Description

Please see:

Ubuntu Forums - Permissions on /dev/usb/lp0 and CUPS non-printing
http://ubuntuforums.org/showthread.php?t=47626

for full details. Summary is as follows:

1. My CUPS-driven USB printer in Kubuntu Hoary suddenly stopped working one day.
 I found that I had to change permissions on /dev/usb/lp0 to allow "all" to
read and write before it would print again, even though I was the only user.

2. Because the /dev tree is re-populated after each reboot, it was inconvenient
to do this after each re-boot.

3. I then examined my /etc/cups/cupsd.conf file and found that it was different
from what I had from cupsys.

4. After

sudo apt-get remove --purge cupsys cupsys-client cupsys-bsd
sudo apt-get install cupsys cupsys-client cupsys-bsd

I found that the new cupsd.conf file was different from the saved cupsd.conf.O
file. The latter was from KDE; the former from Easy Software.

5. After re-installing with the original cupsd.conf file, printing was restored
with no need to change /dev/usb/lp0 permissions.

6. I have not manually changed my cupsd.conf file except for enabling printing
from other printers on my LAN. Therefore, my /etc/cups/cupsd.conf file must
have been overwritten by some KDE package that I have recently installed. All
my packages are from Ubuntu mirrors and from the KDE 3.4.1 and KOffice 1.4 deb
sites given on the Kubuntu website.

7. Given the number of printing problems reported on the Ubuntu Forums, if the
/ect/cups/cupsd.conf file is indeed overwritten by a KDE package, and is causing
some trouble, I think you should know.

8. There seems to be no scope for appending attachments at the Bugzilla site. I
can make my cupsd.conf and cupsd.conf.O files if you need them.

Revision history for this message
Martin Pitt (pitti) wrote :

$ zgrep 'cups.*kde' Contents-i386.gz
reveals some interesting things:

usr/bin/cupsdconf libs/kdelibs-bin
usr/share/apps/kdeprint/cupsd.conf.template libs/kdelibs-data

and some less interesting hits.

Revision history for this message
Michael Roitzsch (upcovb5cya) wrote :

I have experienced this too and found the cause: The KDE configuration frontend for the CUPS
server overwrites the config file and changes the user and group the server is supposed to run
as. It should be cupsys:lp, but the frontend writes lp:lpadmin into the file.

Revision history for this message
Michael Roitzsch (upcovb5cya) wrote :

replying to myself
> It should be cupsys:lp, but the frontend writes lp:lpadmin into the file.

Actually, it should be cupsys:lpadmin. (So the group setting is correct, just the user is
wrong.)

This bug might be related to #12551.

Revision history for this message
Rich Johnson (nixternal) wrote :

Is this bug still present in the latest Dapper packages?

If it is not, or if someone knows that this bug has been fixed by a subsequent upload, please let us know so we can close this. The last activity on this bug was over 8 months ago.

Thank you for reporting this bug.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

..and four more months have passed. Reopen if necessary.

Changed in kdelibs:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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