Bug 22719

Summary: suid perl broken in 4.2-BETA?
Product: Base System Reporter: dh <dh>
Component: binAssignee: Sheldon Hearn <sheldonh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description dh 2000-11-09 15:40:01 UTC


cvsup stable *default date=2000.11.07.00.00.00
make world
then
suid perl script are all broken:(

they say
"Can't do setuid"

How-To-Repeat: 
see above
Comment 1 ru freebsd_committer freebsd_triage 2000-11-09 15:56:52 UTC
On Thu, Nov 09, 2000 at 03:33:57PM +0000, dh@digitalbrain.com wrote:
> 
> suid perl script are all broken:(
> 
> they say
> "Can't do setuid"
> 
suidperl is now not installed with setuid bit by default.
The following was not merged to RELENG_4:

Index: make.conf
===================================================================
RCS file: /home/ncvs/src/etc/defaults/make.conf,v
retrieving revision 1.113
retrieving revision 1.115
diff -u -p -r1.113 -r1.115
--- make.conf	2000/07/14 09:18:20	1.113
+++ make.conf	2000/08/13 01:41:35	1.115
@@ -44,8 +44,8 @@ BDECFLAGS=	-W -Wall -ansi -pedantic -Wba
 # To avoid building perl
 #NOPERL=	true
 #
-# To avoid building the suid perl
-#NOSUIDPERL=	true
+# To enable building enstalling suidperl with the setuid bit turned on
+#ENABLE_SUIDPERL=	true
 #
 # To build perl with thread support
 #PERL_THREADED=	true


<PS>
I would also suggest the s/building enstalling/installing/ above.
</PS>


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
Comment 2 Sheldon Hearn 2000-11-09 18:33:24 UTC
On Thu, 09 Nov 2000 08:00:04 PST, Ruslan Ermilov wrote:

>  The following was not merged to RELENG_4:
>  
>  Index: make.conf

What wasn't merged?  The whole ENABLE_SUIDPERL hook, or just the
comments in make.conf?

Ciao,
Sheldon.
Comment 3 Sheldon Hearn 2000-11-10 08:03:44 UTC
On Thu, 09 Nov 2000 13:46:34 EST, Chris Faulhaber wrote:

> >  What wasn't merged?  The whole ENABLE_SUIDPERL hook, or just the
> >  comments in make.conf?
> 
> Just make.conf in RELENG_4:

Okay, I've asked Jordan for permission to merge in the commented out
entry in RELENG_4 in time for 4.2-RELEASE.

Ciao,
Sheldon.
Comment 4 Sheldon Hearn freebsd_committer freebsd_triage 2000-11-10 09:57:52 UTC
Responsible Changed
From-To: freebsd-bugs->sheldonh

I'll take this one.
Comment 5 Sheldon Hearn freebsd_committer freebsd_triage 2000-11-10 09:58:06 UTC
State Changed
From-To: open->closed

The ENABLE_SUIDPERL knob documentation has been merged into make.conf 
in rev 1.97.2.25.