[PATCH] configure.ac: Disable utmp/wtmp on musl-based systems

Wolfgang Müller vehk at vehk.de
Sun May 5 04:58:33 AEST 2019


Hi,

The configure script enables utmp and wtmp functionality by default
on musl-based systems as it detects the stubs [1] provided by the
libc. Whilst having these features enabled is not harmful, it will lead
to repeated log messages:

> wtmp_write: problem writing /dev/null/wtmp: Not a directory

The proposed patch will disable utmp and wtmp by default on musl-based
systems.

[1] https://wiki.musl-libc.org/faq.html#Q:-Why-is-the-utmp/wtmp-functionality-only-implemented-as-stubs?

Wolfgang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disable-utmp-wtmp-musl.patch
Type: text/x-diff
Size: 568 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20190504/1ff9e3ba/attachment.bin>


More information about the openssh-unix-dev mailing list