Bug 573743

Summary: slim.log logs all session stderr; filesize balloons quickly
Product: [Fedora] Fedora Reporter: Jason Farrell <farrellj>
Component: slimAssignee: Lorenzo Villani <lorenzo>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: lorenzo, pertusus
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: slim-1.3.1-13.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-13 01:54:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Farrell 2010-03-15 17:08:19 UTC
/var/log/slim.log is apparently logging *all* stderr from any app spawned by child processes of its bash login parent. Some apps, such as "Miro", output a *lot* of debug info, and this is all now ending up on disk when using slim.

I understand that the slim.log can be disabled entirely in slim.conf, but since it's enabled by default, it should either log *slim-specific* info only, or, a logrotate.d conf should be provided in the package to keep it trim. Or, perhaps there should be two logs: a small slim.log, and an optional verbose slim.debug

Comment 1 Fedora Update System 2010-03-30 08:53:25 UTC
slim-1.3.1-12.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/slim-1.3.1-12.fc12

Comment 2 Fedora Update System 2010-03-30 08:53:30 UTC
slim-1.3.1-12.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/slim-1.3.1-12.fc11

Comment 3 Fedora Update System 2010-03-30 09:40:15 UTC
slim-1.3.1-13.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/slim-1.3.1-13.fc12

Comment 4 Fedora Update System 2010-03-30 09:40:24 UTC
slim-1.3.1-13.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/slim-1.3.1-13.fc11

Comment 5 Jason Farrell 2010-03-30 15:27:45 UTC
Thanks for adding the logrotate.d conf; it will help in many cases where the default log grows too quickly. The default logrotate conf still means 4 weeks of rotated logs will be kept however.

Comment 6 Lorenzo Villani 2010-03-30 17:31:18 UTC
The proper way to fix this is to make the change upstream. But upstream is mostly dead and the stack of patches I have is growing too much (and I don't really have the time to maintain a fork).

If changing the rotation to one week is good enough, I'll roll a new update.

Comment 7 Fedora Update System 2010-04-01 01:43:41 UTC
slim-1.3.1-13.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update slim'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/slim-1.3.1-13.fc11

Comment 8 Fedora Update System 2010-04-01 01:53:08 UTC
slim-1.3.1-13.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update slim'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/slim-1.3.1-13.fc12

Comment 9 Fedora Update System 2010-04-13 01:54:51 UTC
slim-1.3.1-13.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-04-13 01:59:23 UTC
slim-1.3.1-13.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.