On 6/5/06, Dan <[EMAIL PROTECTED]> wrote:
I've been having issues with Rootless lately that I've never had
before. This, I've determined, is because I haven't used Rootless
since the advent of package signing code in the Scripts.

A lot of the functions in Scripts/Functions/File that have to do with
file hash checking make extensive use of $sudo_exec, which is bad,
because I'm not a sudoer on my rootless install.

Can anyone think of a reason I shouldn't make the GoboLinux functions
script check for rootless and change sudo_exec to something that
doesn't call sudo?

That would work.

Another 3/4-baked idea:
To have the scripts playing nicely with different/hostile
environments, I came up with a centralized configuration scheme in
Directories.conf, so that the scripts can use "ifdefs" with "if
Dir_Set Feature". One thing we could do is remove all those "if [
$ROOTLESS_GOBOLINUX ]" and replace them with proper Dir_Set's, adding
a single "if rootless" block directly in Directories.conf (or have the
CreateRootless script perform the needed changes to the
Directories.conf defaults, don't know what's cleaner).

-- Hisham
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to