I am trying to get genie
up and running on WSL 2 (Ubuntu 18.04.3 LTS) and am running into an issue where runuser
was given the w
option by genie
but runuser
sees that as an invalid option. This man page shows that it exists, but this Ubuntu man page doesn't have the w
option.
Is there a reason why it is not included in Ubuntu's version of runuser
? Also is there a way to workaround this issue? What is recommended in this situation?
This was my mistake; in the course of fixing some uid issues with an earlier release of genie, I took a dependency on runuser and since I develop primarily on Debian, didn't notice that this broke Ubuntu 18.04 compatibility.
Mea culpa; mea maxima culpa.
Since removing runuser -w from genie would cause regressions, my current recommendation for pre-19.04 Ubuntu is to use genie -c bash instead of genie -s where necessary; an imperfect workaround, but one which should work in most cases. I have documented this in the genie README.
runuser is a command that appeared in util-linux 2.23.
Ubuntu 18.04 LTS ships util-linux 2.31
In the util-linux 2.31 Release Notes it doesn't have the runuser command yet.