On Saturday 26 November 2011 01:31:45 pm Timothy Pearson wrote:
I don't
think sudo should be a dependency.
It only is a dependency on distributions that use sudo in their core
packages such as Ubuntu.
Also, why does trinity have it's own sudo? I'd think it should be able to
find it in $PATH?
Look up the sudo RPATH "feature". Basically if the application is not
present in /usr/bin or a handful of other hardcoded directories sudo won't
find it.
I never heard of RPATH.
Wouldn't it be possible to include the binaries in /opt/trinity/bin in the sudoers
file? If sudoers doesn't accept wildcards like '*', that would be impractical,
but if so, that should be possible without having to replace the distro's sudo. Some
distro maintainers won't be happy with us interfering with their sudo packages (or,
generally, more packages than absolutely necessary, or really any packages at all, and
might refuse support to unofficial packages if they interfere with official packages).
--
Kristopher Gamrat
Ark Linux webmaster
http://www.arklinux.org/