Great Circle Associates Majordomo-Workers
(July 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Installation problems
From: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Date: 27 Jul 1998 12:50:38 -0500
To: Chris Rijk <chris @ ivision . co . uk>
Cc: majordomo-workers @ greatcircle . com
In-reply-to: Chris Rijk's message of "Mon, 27 Jul 1998 18:42:29 +0100 (BST)"
References: <Pine.GSO.3.93.980727183439.2516A-100000@stingray.ivision.co.uk>

>>>>> "CR" == Chris Rijk <chris@ivision.co.uk> writes:

CR> Sorry about the late reply, but I decied to wait until I could get root
CR> access easily. (I rarely install stuff, I write stuff)

It's OK, I managed to duplicate this last night.  It is an error that only
occurs when running with wrappers which I somehow managed to miss.

CR> Are they supposed to be executeable?

Yes, they are.

CR> btw make test runs with them not being executeable and it says
CR> everything's okay.

make test makes no use of them; you have to be able to run the tests
without installing, so it uses the munged but not setuid scripts that end
up in the blib directory just before installation.

CR> Is it a bug in install (setting permissions wrong), or in the thing
CR> calling the above scripts? (or something else?)

It's a simple install bug.  Here's the diff between current CVS and my
tree:

diff -u -r1.15 postinstall
--- postinstall 1998/06/15 03:24:28     1.15
+++ postinstall 1998/07/27 17:48:40
@@ -221,7 +221,13 @@
   my $scripts    = shift;
   print "Setting permissions...";
   $id = $config->{'install_dir'};
+  if ($config->{wrappers}) {
+    for my $i (@$sidscripts) {
+      push @$scripts, ".$i";
+    }
+  }
   map {$_ = "$id/bin/$_" unless /\//} @$sidscripts, @$scripts;
+    
   $uid = getpwnam($config->{'uid'});
   $gid = getgrnam($config->{'gid'});

 - J<


References:
Indexed By Date Previous: Re: Installation problems
From: Chris Rijk <chris@ivision.co.uk>
Next: Re: More ideas on a master address database
From: Manar Hussain <manar@ivision.co.uk>
Indexed By Thread Previous: Re: Installation problems
From: Chris Rijk <chris@ivision.co.uk>
Next: More ideas on a master address database
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com