[Re: htdig-3.1.5-0glibc21.i386.rpm on Red Hat 6.2]

According to Bruce D. Meyer:
>       I was always having to delete the 4 files (two in two different
> directories) before running it, as it didn't seem to be doing anything until
> I did that. My thought was that the -i wasn't functioning. If I called it
> with the -i myself I got a message instead of it actually indexing.

By two in two different directories, I assume you mean root2word.db
and word2root.db in /var/lib/htdig/common, and db.docdb and db.wordlist
in /usr/lib/htdig/db?  There are other DBs in both directories, though
so I'm curious as to why they don't all cause similar problems.  If you
rerun rundig again now, and get an error, could you mail back the exact
error output from rundig, as well as the output of "ls -laR /var/lib/htdig"?
If you're umask is turning off write permission even for the owner, that
could potentially be a problem with the DB code, but it still shouldn't
prevent the unlink() calls in htdig from working.

> I will have to dig into this deeper and try to see why my install is so
> different that everyone else's. it must be something funky I am doing. As
> far as a umask of 77 on RH6.2, I can't explain it. That is the default, and
> I never knew of a reason to second guess red hat or the folks at
> www.bastille-linux.org and change it. (Security script for hardening RedHat,
> Mandrake and other Distributions of Linux that are similar.

The default umask for Red Hat is 22, but Bastille seems to favour 77,
though it appears it would let you set it to whatever you want.  If you
use a umask of 777 or even 277, you're probably going to regret it at some
point, because it's pretty rare that you'd want user write permission
turned off, especially by default.  As I said before, a umask of 77 is
reasonable for most system admin functions except web file maintenance.
I expect most of the differences between your system and a vanilla Red
Hat 6.2 system are due to Bastille, but I could be wrong.  Do you have
log files showing what Bastille has changed on your system, that you
can refer back to for information about file and directory permissions,
umasks and such?

...
> Heck, If  I don't like it, then I should help out by writing an rpm version
> of the docs huh?

We won't refuse any help we can get.  The trick about RPM-specific stuff,
is different RPMs can use different installation paths.  For instance,
in Red Hat 7.x, the Apache DocumentRoot is /var/www/html, rather than
/home/httpd/html, so the htdig-3.1.5-6.i386.rpm that comes with Red Hat
7.0 Powertools uses this path, quite understandably, but it also uses
/var/www/html/htdig as the common_dir, puts search.html in there, and
puts htdig.conf right in /etc rather than /etc/htdig.  It also puts the
executables in /usr/bin rather than /usr/sbin, and uses /var/lib/htdig
rather than /var/lib/htdig/db as database_dir.  Their RPM doesn't patch
the documentation, and neither does mine.

> Maybe when the next version of Bastille-Linux, is out, and
> I have my beta work for Lucent's Next NavisRadius done. I have quite a full
> plate beta testing for those two right now.
> 
> Thanks again, if I do indeed discover the err of my ways, I will forward
> them to you for possible inclusion in a FAQ or something like that.

Sure thing!  Thanks.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to