[Bug 195245] New: shells/lshell 0.9.16 fails to log to syslog
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 21 10:56:53 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195245
Bug ID: 195245
Summary: shells/lshell 0.9.16 fails to log to syslog
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: dam at my.gd
Created attachment 149667
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149667&action=edit
Make lshell/checkconfig.py send syslog data to /var/run/log instead of
non-existent /dev/log
Summary:
shells/lshell doesn't log anything to syslog
Tested versions:
- 0.9.15.1
- 0.9.16
Synopsis:
lshell can log either to a file or to syslog depending on its configuration
file.
Sadly, lshell tries to log through /dev/log which hasn't existed on FreeBSD for
a long while.
Creating a symbolic link /dev/log -> /var/run/log didn't seem to fix the
problem.
How to reproduce:
Install vanilla shells/lshell
Instruct it to log to syslog in /usr/local/etc/lshell.conf
'[global]'
'logfilename : syslog'
Rehash terminal, invoke lshell
Type commands, nope, syslog gets nothing
How to fix:
0.9.15.1 : Edit line 929 of lshellmodule/lshell.py to correctly point to
/var/run/log
0.9.16 : Edit line 310 of lshell/checkconfig.py to correctly point to
/var/run/log
Recompile, reinstall
Patch against 0.9.16 attached
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list