I put the below comment on a PR #186 , but that PR is already closed and I didn't know if anyone would see it. I don't use Solaris 10, but I happened to see the commit. The best way to fix it is to drop support for Solaris 10 tbqh :)
Bug
There was a reason id -un wasn't used and it was due to the continuing support of Solaris 10. Solaris 10 does not have -u as an option in /usr/bin/id.
# id -un
id: illegal option -- u
Usage: id [-ap] [user]
There are some weird things in node_package that don't seem to make any sense, but most of them are due to the original support of Solaris 10 and it's billion-year-old userland.
Fixes
You can fix this by going back to whoami which I tested originally and is supported on all the destination OS's Riak supports. Or you can add /usr/xpg4/bin to the head of the path in the solaris package only. The problem with that is you'll now get all new EVERYTHING so you'll have to test it on Solaris 10, which is as fun as it sounds.
Preface
I put the below comment on a PR #186 , but that PR is already closed and I didn't know if anyone would see it. I don't use Solaris 10, but I happened to see the commit. The best way to fix it is to drop support for Solaris 10 tbqh :)
Bug
There was a reason
id -un
wasn't used and it was due to the continuing support of Solaris 10. Solaris 10 does not have-u
as an option in/usr/bin/id
.There are some weird things in
node_package
that don't seem to make any sense, but most of them are due to the original support of Solaris 10 and it's billion-year-old userland.Fixes
You can fix this by going back to
whoami
which I tested originally and is supported on all the destination OS's Riak supports. Or you can add/usr/xpg4/bin
to the head of the path in the solaris package only. The problem with that is you'll now get all new EVERYTHING so you'll have to test it on Solaris 10, which is as fun as it sounds.