[gobolinux-users] Compiling Sudo
Andy Feldman
nereusren at gmail.com
Sun Jul 2 06:26:18 GMT 2006
When I compile Sudo, I get this sudo error during SandboxInstall:
SandboxInstall: unionfs is unavailable. Fallback to FiboSandbox!
SandboxInstall: Installing Sudo...
sudo: /Programs/Sudo/Settings/sudoers is owned by uid 21, should be 0
SandboxInstall: Installation failed.
Compile: Installation step failed.
(where uid 21 is fibo.)
I got around it by doing a regular 'make install' as root in the Sudo
sources directory because I trusted that it would behave all the
targets it got during a successful './configure;make', but it would be
nice if "Compile sudo" worked seamlessly.
Incidentally, I was recompiling so I could pass configure the
--with-runas-default flag, so that sudo -v (etc.) would actually work
instead of interspersing tons of "sudo: no passwd entry for root!"
messages throughout every attempt to use various Scripts. That's been
bugging me for a while. (My superuser is gobo). Adding the following
lines to the recipe seemed to work as a general fix:
configure_options=(
"--with-runas-default=`SuperUserName`"
)
Maybe someone with UnionFS can toss that in the recipe when they do a
NewVersion and make sure it works for them too.
It looked like there were a few other configure entries that should be
set with a little more intelligence too, like the user to which sudo
violations should be sent (also default root). That recipe is probably
worth another look.
-Andy
More information about the gobolinux-users
mailing list