Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309255 - x11-terms/xterm-255 logging turned on by default
Summary: x11-terms/xterm-255 logging turned on by default
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Default Configs (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-13 12:11 UTC by Andreas Westin
Modified: 2010-04-14 20:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Westin 2010-03-13 12:11:07 UTC
The xterm ebuild has logging functionality turned on by default and no option to turn it off without editing the ebuild. I for one don't want my sessions to be logged, esp not by default.

Reproducible: Always
Comment 1 William Throwe 2010-03-13 17:18:50 UTC
I agree that logging by default would be bad, but I'm pretty sure that all the configure option does is to make available the "Log to File" menu option.  It doesn't actually log unless you request it.  I'm running 255 and stracing xterm showed that the only non-special file it opened for writing was my .bash_history file.

If the history is what's bothering you, you can just unset $HISTFILE.
Comment 2 Andreas Westin 2010-03-13 18:23:05 UTC
The history file is fine but I've seen a "Xterm.xxx.xxx" log file in my home directory several times after rebooting the machine, it's not there while running xterm. I'm not seeing a menu in xterm, but I'm running windowmaker.
Comment 3 William Throwe 2010-03-13 18:32:58 UTC
Xterm menus are accessed by control-clicking.  The particular one relevant here is control-leftclick.

Any chance you're invoking xterm with the -l switch?
Comment 4 Andreas Westin 2010-03-13 19:00:20 UTC
No, I run "xterm -bg black -fg white -ls +sb -ut".
Ahh ok, I've recompiled xterm without logging so I'm not seeing anything about there now.
Comment 5 Thomas Dickey 2010-04-06 09:47:01 UTC
Besides the command-line option, it could also be a resource setting,
e.g., "logging" or "Logging".  (There's also a control sequence which
could be compiled in, but it's not set by the configure script - a
packager would have had to add that to the ebuild).
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2010-04-14 14:41:42 UTC
I've tried #256 and logging is not enabled by default here. It only started logging when I passed the -l switch to it. 

I can only assume this is something local the reporter has done...
Comment 7 Andreas Westin 2010-04-14 16:12:56 UTC
I have not turned it on, but I haven't seen any logfile for a while. Maybe it was some kind of fluke.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-04-14 20:01:24 UTC
(In reply to comment #7)
> I have not turned it on, but I haven't seen any logfile for a while. Maybe it
> was some kind of fluke.
> 

closing then, if you find out how and when, please reopen