New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/32185#issuecomment-886143072 Comment: `logname` uses libc `getlogin()`, which on musl just returns the value of `LOGNAME`, which `sudo` and `doas` set to `root`. Since `uid` is `0`, I'd say a `LOGNAME` of `root` is correct, and reporting that doesn't seem so erroneous.