That's a long known issue. Alpine uses libmusl instead of glibc. It seems that
musl does not use or even support
/dev/null/utmp or /dev/null/wtmp (and nothing appears to get written to
/var/log/wtmp); so I guess there might not be a way to fix this.
There is an open issue for it on the Alpine Linux page and apparently it is a milestone for the 3.14.0 release of Alpine Linux. Until than there is probably no workaround for this.
That's a long known issue. Alpine uses libmusl instead of glibc. It seems that
https://gitlab.alpinelinux.org/alpine/aports/-/issues/3282#note_15597
There is an open issue for it on the Alpine Linux page and apparently it is a milestone for the 3.14.0 release of Alpine Linux. Until than there is probably no workaround for this.