- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changing the path for dld.so
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 02:53 AM
11-01-2006 02:53 AM
changing the path for dld.so
I want to configure a copy of the chroot binary to run in a compartment.
Chroot uses dynamic libraries, and therefore loads the dld.so. The compartment settings disallows all reading of the /lib directory (where dld.so lives).
I have tried to compile my own chroot with static linking, but it doesn't seem to work.
Another solution would be to specify where to find the dld.so file, but I don't know how.
Does anybody have a solution to this?
/Best regards Niklas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 03:01 AM
11-01-2006 03:01 AM
Re: changing the path for dld.so
somebody with a similar idea:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1048679
suggestion was chatr
Please also see:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 05:02 PM
11-01-2006 05:02 PM
Re: changing the path for dld.so
as of now, there is no hpux tool to do this (or to edit embedded paths).
if you are able to relink the executables that you want to use in this way, you can use the linker's "+interp" option followed by a string that specifies the interpreter. for IPF binaries this string specifies the uld and dld paths delimited by a colon (':') character (see the output of "elfdump +interp
if you are not able to relink the executables, you will have to edit the binary (e.g. using bvi or "vim -b") to replace the string in place with another of the same or lesser length. be sure to terminate a shorter string with null characters (ctrl-V ctrl-@ in bvi/vim).
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 09:22 PM
11-01-2006 09:22 PM
Re: changing the path for dld.so
I linked a home made chroot with the interp option. Works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 11:15 PM
11-01-2006 11:15 PM
Re: changing the path for dld.so
--
ranga