fs
- Do not quote
PRETTY_NAMEinlsb-releaseandos-releaseotherwise\Sin/etc/issuewill show them withagetty - Prefer
/usr/bin/nologinto/usr/bin/falsefornologinusers shell - Prefer
/nonexistentto/var/emptyand/dev/nullfornologinusers home location, as the latter is not a directory and shouldn’t be used as one;sshdmight need/var/emptyto function - What should the version of
LSB_VERSIONbe?1.4?2.0?5.0? (What even is the latest version? isn’t it obsolete?) /etc/os-releasetakes precedence over/usr/lib/os-release/etc/os-releaseshould be a relative symlink to/usr/lib/os-release(not an absolute symlink to avoid breaking chroot or initramfs)- Check
DISTRIB_ID=glaucusfor os-release?
References
Section titled “References”- https://0pointer.de/blog/projects/os-release.html
- https://github.com/LinuxStandardBase/lsb-samples
- https://lists.freebsd.org/archives/freebsd-questions/2024-December/006046.html
- https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/lsbrelease.html
- https://www.2uo.de/myths-about-urandom/