[syslog-ng] file name for ttyname in utmp

Balazs Scheidler bazsi at balabit.hu
Tue Jan 23 15:19:27 CET 2007


On Sun, 2007-01-21 at 23:40 +0000, Bryan Henderson wrote:
> When syslog-ng sends a terminal message for the 'usertty' destination,
> it looks in utmp to find what terminal the user is using.  It gets the
> "line name" from utmp (e.g. "tty1") and appends it to "/dev/" to get
> the device special file name for the user's terminal,
> e.g. "/dev/tty1".
> 
> utmp can also contain the device special file name itself as the line
> name.  For example, on my system, logins use devices in /var/dev and
> utmp can say "/var/dev/tty1".
> 
> The following modification makes Syslog work with such a utmp entry:

I've committed a patch with a similar spirit, albeit a bit different.
Can you check if tomorrow's snapshot works?

-- 
Bazsi



More information about the syslog-ng mailing list