https://bugzilla.mindrot.org/show_bug.cgi?id=3977

            Bug ID: 3977
           Summary: lastlog_openseek: Couldn't stat /var/log/lastlog: No
                    such file or directory
           Product: Portable OpenSSH
           Version: 10.4p1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
          Assignee: [email protected]
          Reporter: [email protected]

On Linux systems where OpenSSH is built with libwtmpdb enabled and
where the files /var/log/lastlog as well as /var/log/wtmp and
/var/run/utmp do no longer exist, you find the following line in syslog
every single time when you log into the machine:

  lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or
directory

The reason is that for a build with libwtmpdb the corresponding
function `int wtmpdb_get_entry(struct logininfo *li)` is still missing
in loginrec.c which would be needed to be called from function `int
getlast_entry(struct logininfo *li)` though.  I have been working on
such a function but I am not sure whether you would like to get an
e-mail with a patch on your mailing list [email protected]
or if I simply should attach the patch here.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to