A way to delete finished jobs needed

Bug #158487 reported by zerwas
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

For Ubuntu 7.10 there is a way needed to delete finished jobs in system-config-printer --no-tray-icon under "View" -> "Show completed jobs". Right clicking on a job does not bring an option to remove it.

At the moment it is needed to do 3 complicated steps for beginners:

sudo /etc/init.d/cupsys stop
sudo rm /var/cache/cups/job.cache
sudo /etc/init.d/cupsys start

Thanks for reading this.

Revision history for this message
Tim Waugh (twaugh) wrote :

What for?

Revision history for this message
Blattlaus (martin-thurau) wrote :

- a teenager who doen't want his dad to see he printed playboy pics
- a dad who doesn't want his wife to see he printed a gift coupon for her birthday.
- ...

Maybe something like that. I know, I know, seperated users, etc. but I think that feature is somewhat elementary and would be easy to implement. So why not? Who knows why somebody want to delete the printers history

Revision history for this message
Tim Waugh (twaugh) wrote :

"Easy to implement"? Which IPP operation would you use for this? (Note that it has to work for remote CUPS servers as well as local ones -- like everything else in system-config-printer.)

If you want job-level or printer-level security, use the LSPP patches with a correct configuration. If you don't want the CUPS server to preserve job history, put 'PreserveJobHistory No' in /etc/cups/cupsd.conf.

It is very far from clear that adding any hacky cludge to "remove" preserved job history would add anything in the way of security, and it would definitely add other problems.

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

I agree that adding a feature to s-c-p to hide old print jobs would be a cludge (AFAIU local jobs could be deleted from the ,log, while remote jobs would need to be hidden). Many ubuntu applications have history of some sort; perhaps what we need is a central panel to handle privacy concerns (needs a blueprint).

Changed in system-config-printer:
status: New → Won't Fix
Revision history for this message
Tim Waugh (twaugh) wrote :

FWIW, there is the IPP_PURGE_JOBS request; however, (a) by default that requires admin, and (b) it can only operate on all jobs at once.

Revision history for this message
emarkay (mrk) wrote :

Now this is elementary - if something is WRITING the data to a location , then something can ERASE data from that location.

Having any sort of history that is unremovable (even with "under the hood tinkering" could preclude Ubuntu from ever being used in a secure or restricted environment. I consider this a security flaw!

Original post on the Ubuntu Forums (...and I thought this was new to Jaunty!)
http://ubuntuforums.org/showthread.php?t=1111363

Changed in system-config-printer:
status: Won't Fix → In Progress
Revision history for this message
emarkay (mrk) wrote :

This MAY have something to do with the CUPS Printing system interface:

http://127.0.0.1:631/

as I can see teh jobs there, too, but can not clear or cancel them.

Revision history for this message
Erick Brunzell (lbsolost) wrote :

I agree that it would be nice to have a gui option to selectively delete printer history.

But I've tested and if you go to System > Administration > Printing > Server > Settings > Advanced you can change the option from "Preserve job history but not files" to "Do not preserve job history".

Of course that doesn't clear the previous history, but it prevents the recording of any new history.

IMHO that should be the default anyway!

Revision history for this message
Erick Brunzell (lbsolost) wrote :

Oops should have mentioned that I tested in Jaunty!

Revision history for this message
emarkay (mrk) wrote :

Thanks Eric, now how to clear the remaining 46 job data - Like I said, this is a SECURITY issue - will someone ensure this is flagged as such?

Revision history for this message
Tim Waugh (twaugh) wrote :
Revision history for this message
emarkay (mrk) wrote :

Tim Waugh, curious as to what this is? I thought Ubuntu was Debian based or is CUPS a Fedora based application, or what? Thanks.

Revision history for this message
Tim Waugh (twaugh) wrote :

The system-config-printer application is a Fedora project, written for Fedora and Red Hat Enterprise Linux, and adopted by many other Linux distributions.

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

This has been fixed according to the upstream bug report and in Ubuntu 10.10 (maverick) I'm able to delete completed jobs.
So closing this bug report.

Changed in system-config-printer (Ubuntu):
status: In Progress → Fix Released
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.