GNOME Bugzilla – Bug 318689
gnome-system-log freezes if /dev/tty* is in /etc/syslog.conf
Last modified: 2005-11-13 08:48:06 UTC
Distribution/Version: Mandriva cooker try adding *.* /dev/tty12 to /etc/syslog.conf and start gnome-system-log : it will freeze because it tries to read the file entirely (which will never since it is a character device). The attached patch fixes the problem.
Created attachment 53376 [details] [review] only accept regular files as logfile
Thanks a bunch, please commit your patch to HEAD and the gnome-2-12 branch :-)
committed on HEAD and gnome-2-12 branch. I've also taken the liberty to fix a small error in HEAD branch in isLogFile where gnome_vfs_close was called if gnome_vfs_open failed (which was crashing and was obviously incorrect, probably a bad copy/paste :)
Take all the liberties you want ;)
*** Bug 320981 has been marked as a duplicate of this bug. ***