This utility is a long obsolete command -- it was for SVID compliance (which nobody cares about anymore, and we are not SVID compliant anymore anyway.)
Note that Oracle Solaris removed this just after illumos forked off.
There are no known consumers of this utility. It can in theory support changing the value of uname -s, but that is very fraught and will likely cause lots of breakage if done.
A survey is out at the moment for users of this utility, but so far it seems nobody uses it. Several distributions have already removed it outright.
This utility also operates by writing to /dev/kmem directly, and contains a portability morass.
We could drop in a wrapper that causes the -n flag to call sethostname(), but the feeling is that everyone who needs that functionality already does so using uname -S or hostname.
Updated by Electric Monk 4 months ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
commit fed77ffd89ea4501fe7b7103197dc7541246e3bb Author: Garrett D'Amore <firstname.lastname@example.org> Date: 2022-08-02T14:09:32.000Z 14871 Retire setuname Reviewed by: Toomas Soome <email@example.com> Reviewed by: Peter Tribble <firstname.lastname@example.org> Reviewed by: Andrew Stormont <email@example.com> Approved by: Joshua M. Clulow <firstname.lastname@example.org>