Send Ltib mailing list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.nongnu.org/mailman/listinfo/ltib
or, via email, send a message with subject or body 'help' to
address@hidden
You can reach the person managing the list at
address@hidden
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ltib digest..."
Today's Topics:
1. setcap/libcap2? (Morrison, Tom)
2. illegal instruction - executing top command (Saravana Kumar)
3. Re: setcap/libcap2? (Stuart Hughes)
4. Re: illegal instruction - executing top command (Stuart Hughes)
5. RE: setcap/libcap2? (Morrison, Tom)
6. Re: setcap/libcap2? (Stuart Hughes)
----------------------------------------------------------------------
Message: 1
Date: Tue, 21 Apr 2009 14:32:49 -0400
From: "Morrison, Tom" <address@hidden>
Subject: [Ltib] setcap/libcap2?
To: <address@hidden>
Message-ID:
<address@hidden>
Content-Type: text/plain; charset="us-ascii"
I am running a LTIB version from Freescale: ltib-mpc8572ds-20081218
I have a program I am porting to this rootfs that requires the tool:
setcap
which it looks like comes from a package called libcap2. Is there a
library
and/or package I am missing that will contains this functionality?
I am really behind an eight ball on this one...:-(
Tom Morrison
Principal Software Engineer
EMPIRIX
20 Crosby Drive - Bedford, MA 01730
p: 781.266.3567 f: 781.266.3670
email: address@hidden <mailto:address@hidden>
www.empirix.com <http://www.empirix.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.gnu.org/pipermail/ltib/attachments/20090421/f228b4cf/attachment.html
------------------------------
Message: 2
Date: Wed, 22 Apr 2009 12:10:23 +0530
From: Saravana Kumar <address@hidden>
Subject: [Ltib] illegal instruction - executing top command
To: address@hidden
Message-ID:
<address@hidden>
Content-Type: text/plain; charset="iso-8859-1"
Hi ,
I build rootfs for ramdisk using LTIB.Everything works fine (except top
command in dynamic built busybox)
When I dynamically compile busybox (having top command) i m getting the
error "illegal instruction" when i execute top command.
When I statically compile busybox top command works fine.
I want to know whether
1. When I build ./ltib --configure --f
- i m forcing to rebuild everything incluing the dynamic libraries
(libc.so, etc.,). Am I correct here?
2. What can be the problem with dynamic build of busybox(everything is fine
except top command)
3. How static building works fine for top ...its the same code base?
I use codeSourcery tool chain, linux-2.6.23, LTIB version ltib 8.1.2
($Revision: 1.18 $ sv) , ARM (1176)platform
Thanks,
Saran
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.gnu.org/pipermail/ltib/attachments/20090422/89f6bc38/attachment.html
------------------------------
Message: 3
Date: Wed, 22 Apr 2009 09:04:45 +0100
From: Stuart Hughes <address@hidden>
Subject: Re: [Ltib] setcap/libcap2?
To: "Morrison, Tom" <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Tom,
I've not come across that executable. The closest thing I can find is
'setpcaps' in libcap-bin (Debian), but I'm not sure if this is the one
you mean. What you need to do is to locate the package containing the
executable you want and then add that package to LTIB.
Regards, Stuart
Morrison, Tom wrote:
> I am running a LTIB version from Freescale: ltib-mpc8572ds-20081218
>
>
>
> I have a program I am porting to this rootfs that requires the tool: setcap
>
> which it looks like comes from a package called libcap2. Is there a library
>
> and/or package I am missing that will contains this functionality?
>
>
>
> I am really behind an eight ball on this one
L
>
>
>
> **Tom Morrison**
> Principal Software Engineer
>
> **EMPIRIX**
> 20 Crosby Drive *-* Bedford, MA* * 01730
> *p:* 781.266.3567 *f:* 781.266.3670 *
> **email:* address@hidden <mailto:address@hidden>_
> www.empirix.com <http://www.empirix.com/>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
------------------------------
Message: 4
Date: Wed, 22 Apr 2009 09:07:47 +0100
From: Stuart Hughes <address@hidden>
Subject: Re: [Ltib] illegal instruction - executing top command
To: Saravana Kumar <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Saran,
Normally when I've seen this it's been caused by incorrect setting for
the toolchain CFLAGS. You need to make sure the settings for floating
point are correct for your target.
Regards, Stuart
Saravana Kumar wrote:
> Hi ,
> I build rootfs for ramdisk using LTIB.Everything works fine (except top
> command in dynamic built busybox)
>
> When I dynamically compile busybox (having top command) i m getting the
> error "illegal instruction" when i execute top command.
>
> When I statically compile busybox top command works fine.
>
> I want to know whether
> 1. When I build ./ltib --configure --f
> - i m forcing to rebuild everything incluing the dynamic libraries
> (libc.so, etc.,). Am I correct here?
>
> 2. What can be the problem with dynamic build of busybox(everything is
> fine except top command)
>
> 3. How static building works fine for top ...its the same code base?
>
> I use codeSourcery tool chain, linux-2.6.23, LTIB version ltib 8.1.2
> ($Revision: 1.18 $ sv) , ARM (1176)platform
>
>
> Thanks,
> Saran
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
------------------------------
Message: 5
Date: Wed, 22 Apr 2009 07:11:58 -0400
From: "Morrison, Tom" <address@hidden>
Subject: RE: [Ltib] setcap/libcap2?
To: "Stuart Hughes" <address@hidden>
Cc: address@hidden
Message-ID:
<address@hidden>
Content-Type: text/plain; charset="iso-8859-1"
here is what the man page says:
http://man-wiki.net/index.php/8:setcap
Essentially, I am trying to run a webserver as 'non-root'
(and bind 'priviledged ports to this 'non-root' process)...
http://tinyurl.com/dm9sbg
We have tried some of the other methods, and they aren't
working for this webserver (tomcat) application
t
________________________________
From: Stuart Hughes [mailto:address@hidden
Sent: Wed 4/22/2009 4:04 AM
To: Morrison, Tom
Cc: address@hidden
Subject: Re: [Ltib] setcap/libcap2?
Hi Tom,
I've not come across that executable. The closest thing I can find is
'setpcaps' in libcap-bin (Debian), but I'm not sure if this is the one
you mean. What you need to do is to locate the package containing the
executable you want and then add that package to LTIB.
Regards, Stuart
Morrison, Tom wrote:
> I am running a LTIB version from Freescale: ltib-mpc8572ds-20081218
>
>
>
> I have a program I am porting to this rootfs that requires the tool: setcap
>
> which it looks like comes from a package called libcap2. Is there a library
>
> and/or package I am missing that will contains this functionality?
>
>
>
> I am really behind an eight ball on this one...L
>
>
>
> **Tom Morrison**
> Principal Software Engineer
>
> **EMPIRIX**
> 20 Crosby Drive *-* Bedford, MA* * 01730
> *p:* 781.266.3567 *f:* 781.266.3670 *
> **email:* address@hidden <mailto:address@hidden>_
> www.empirix.com <http://www.empirix.com/>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> LTIB home page: http://bitshrine.org <http://bitshrine.org/>
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
------------------------------
Message: 6
Date: Wed, 22 Apr 2009 14:35:27 +0100
From: Stuart Hughes <address@hidden>
Subject: Re: [Ltib] setcap/libcap2?
To: "Morrison, Tom" <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Tom,
If you really want libcap, you'll need to port that to LTIB. However, I
wouldn't necessarily advised doing that. IMHO it might be better to
start the server as root and then immediately after binding have it
demote it's privileges to 'nobody'. IIRC this is the approach that most
daemons take.
Regards, Stuart
Morrison, Tom wrote:
> here is what the man page says:
> http://man-wiki.net/index.php/8:setcap
>
> Essentially, I am trying to run a webserver as 'non-root'
> (and bind 'priviledged ports to this 'non-root' process)...
>
> http://tinyurl.com/dm9sbg
>
> We have tried some of the other methods, and they aren't
> working for this webserver (tomcat) application
>
> t
>
> ________________________________
>
> From: Stuart Hughes [mailto:address@hidden
> Sent: Wed 4/22/2009 4:04 AM
> To: Morrison, Tom
> Cc: address@hidden
> Subject: Re: [Ltib] setcap/libcap2?
>
>
>
> Hi Tom,
>
> I've not come across that executable. The closest thing I can find is
> 'setpcaps' in libcap-bin (Debian), but I'm not sure if this is the one
> you mean. What you need to do is to locate the package containing the
> executable you want and then add that package to LTIB.
>
> Regards, Stuart
>
> Morrison, Tom wrote:
>> I am running a LTIB version from Freescale: ltib-mpc8572ds-20081218
>>
>>
>>
>> I have a program I am porting to this rootfs
that requires the tool: setcap
>>
>> which it looks like comes from a package
called libcap2. Is there a library
>>
>> and/or package I am missing that will contains this functionality?
>>
>>
>>
>> I am really behind an eight ball on this one...L
>>
>>
>>
>> **Tom Morrison**
>> Principal Software Engineer
>>
>> **EMPIRIX**
>> 20 Crosby Drive *-* Bedford, MA* * 01730
>> *p:* 781.266.3567 *f:* 781.266.3670 *
>> **email:* address@hidden <mailto:address@hidden>_
>> www.empirix.com <http://www.empirix.com/>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> LTIB home page: http://bitshrine.org <http://bitshrine.org/>
>>
>> Ltib mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/ltib
>
>
>
------------------------------
_______________________________________________
Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib
End of Ltib Digest, Vol 36, Issue 13
************************************