Error from ampolish3

Joel Sherrill joel.sherrill at OARcorp.com
Mon Jun 2 16:19:06 UTC 2008


Neil Mayes wrote:
> Sorry I should have supplied details:
>
> i686-pc-linux RHEL4 & RTEMS4.8.0
>
> Be gentle, linux newbie.
>   

Being gentle.  Just thought host might provide some details.
I don't recall anyone ever reporting this particular error
before.  But google is your friend.. just google on the error
message and I found this:

http://www.brandonchecketts.com/archives/fix-for-centos-cant-do-setuid-cannot-exec-sperl

Looks like you might need to load another RPM. 

If I am reading the messages correctly, this means something
has an suid bit set which doesn't seem right for ampolish3.  It
doesn't have that bit set in my tree:

$ ls -l ampolish3
-rwxr-xr-x 1 joel users 7766 2007-01-08 02:38 ampolish3

and I don't see the string uid in that script.  Ralf wrote
that script so might have another thought but I am curious
if your permissions match on ampolish3.

--joel
> Thanks,
> Neil
>
>   
>> -----Original Message-----
>> From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
>> Sent: 02 June 2008 17:02
>> To: Neil Mayes
>> Cc: Ralf Corsepius; rtems-users at rtems.org
>> Subject: Re: Error from ampolish3
>>
>> I'm sure you have told us before but what OS and version Neil?
>>
>> Neil Mayes wrote:
>>     
>>>> -----Original Message-----
>>>> From: Ralf Corsepius [mailto:ralf.corsepius at rtems.org]
>>>> Sent: 02 June 2008 16:54
>>>> To: Neil Mayes
>>>> Cc: rtems-users at rtems.org
>>>> Subject: RE: Error from ampolish3
>>>>
>>>> On Mon, 2008-06-02 at 15:48 +0100, Neil Mayes wrote:
>>>>
>>>>         
>>>>> Hi,
>>>>>
>>>>> I have (tried to!) added some device drivers to a BSP (ERC32) and
>>>>> wanted to isolate the IO control to a HW API. So the
>>>>>
>>>>>           
>>>> application would
>>>>
>>>>         
>>>>> just need to include the header and all will be well. Once
>>>>>
>>>>>           
>>>> I realised
>>>>
>>>>         
>>>>> I needed to regenerate preinstall.am I used bootstrap -p
>>>>>           
>> however I
>>     
>>>>> encountered the following error:
>>>>>
>>>>> Can't do setuid (cannot exec sperl)
>>>>>
>>>>>           
>>>> Not from RTEMS. Nothing in RTEMS is using suid-perl.
>>>>
>>>>
>>>>         
>>>>> Has anyone got an clue where the error is coming from?
>>>>>
>>>>>           
>>>> Seems to me as if you have a permission problem with your
>>>>         
>> source tree
>>     
>>>> or a problem with your perl installation.
>>>>
>>>>         
>>> I suspect the perl setup :(
>>>
>>>
>>>       
>>>> Ralf
>>>>
>>>>
>>>>         
>>> Thanks Ralf
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.com
>>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>>
>>>       
>> --
>> Joel Sherrill, Ph.D.             Director of Research & Development
>> joel.sherrill at OARcorp.com        On-Line Applications Research
>> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>>    Support Available             (256) 722-9985
>>
>>
>>
>>
>>     


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list