Bug 582202 - system-config-printer-applet makes no cleanup when logging out
Summary: system-config-printer-applet makes no cleanup when logging out
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-color-manager
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-14 11:49 UTC by Joachim Backes
Modified: 2011-06-27 15:33 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-06-27 15:33:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joachim Backes 2010-04-14 11:49:46 UTC
Description of problem:
When logging in into a gnome session, system-config-printer-applet creates links in /tmp to each printer in system (4bc5a897b4aed -> /etc/cups/ppd/e120n.ppd). But these links are not removed when logging out, so /tmp is filled after some time with such garbage.

Version-Release number of selected component (if applicable):
system-config-printer-1.2.0-12.fc13.i686

How reproducible:
Each time I login in Gnome

Steps to Reproduce:
1.Open a Gnome session
2.Logout
3.
  
Actual results:
The links in /tmp to /etc/cups/ppd/<printer>.ppd are not removed.

Expected results:
Links are removed

Additional info:
I removed the notification area from the gnome panel after F13 installation

Comment 1 Tim Waugh 2010-04-22 15:27:45 UTC
I'm not able to reproduce this.

What does 'lpstat -l -t' say?

Comment 2 Joachim Backes 2010-04-22 15:34:53 UTC
scheduler is running
system default destination: e120n
device for e120n: socket://192.168.179.55:9100
device for kc: smb://MAIN/kaba-pc/Kyocera
e120n accepting requests since Wed 21 Apr 2010 06:03:43 PM CEST
kc accepting requests since Mon 05 Apr 2010 10:34:15 AM CEST
printer e120n is idle.  enabled since Wed 21 Apr 2010 06:03:43 PM CEST
	Form mounted:
	Content types: any
	Printer types: unknown
	Description: e120n
	Alerts: none
	Location: 192.168.179.55
	Connection: direct
	Interface: /etc/cups/ppd/e120n.ppd
	On fault: no alert
	After fault: continue
	Users allowed:
		(all)
	Forms allowed:
		(none)
	Banner required
	Charset sets:
		(none)
	Default pitch:
	Default page size:
	Default port settings:
printer kc is idle.  enabled since Mon 05 Apr 2010 10:34:15 AM CEST
	Form mounted:
	Content types: any
	Printer types: unknown
	Description: kc
	Alerts: none
	Location: 
	Connection: direct
	Interface: /etc/cups/ppd/kc.ppd
	On fault: no alert
	After fault: continue
	Users allowed:
		(all)
	Forms allowed:
		(none)
	Banner required
	Charset sets:
		(none)
	Default pitch:
	Default page size:
	Default port settings:

Comment 3 Tim Waugh 2010-04-22 15:40:46 UTC
Please try this:

1. Quit the printer applet (if the icon is not showing, "echo . | lp -H hold" to create a held job, then right-click and Quit
2. Remove the temporary files
3. Now start the applet again: Alt-F2 to get a command line, then enter 'system-config-printer-applet'

Are there temporary files created?

4. Now Quit the applet again

If there were temporary files created, are they still there?

Comment 4 Joachim Backes 2010-04-22 15:59:10 UTC
No temp files are created after quitting the applet after step 3.

Comment 5 Tim Waugh 2010-04-22 16:17:40 UTC
It's something else creating them when you log in then.

Oh, do you have the hp-systray thing running or something?

Comment 6 Joachim Backes 2010-04-23 07:51:26 UTC
I regret, but none of such stuff.

Comment 7 Tim Waugh 2010-04-23 08:38:24 UTC
OK, please re-open if you find which application is causing it.

Comment 8 Joachim Backes 2010-04-23 11:28:14 UTC
By using auditd, I found out that the culprit is */usr/bin/gcm-apply*, which each time I login creates such links.

Comment 9 Tim Waugh 2010-04-23 12:24:48 UTC
Cool use of auditd :-)

gcm-apply is part of gnome-color-manager.  I've fixed this upstream in commit 1b574cd.

Comment 10 Joachim Backes 2010-04-23 12:44:34 UTC
Tim, thank you for your support.

Comment 11 Bug Zapper 2011-06-02 15:24:24 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 12 Bug Zapper 2011-06-27 15:33:40 UTC
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.