[OpenSER-Devel] [ openser-Patches-1927289 ] add chroot support to openserunix

SourceForge.net noreply at sourceforge.net
Thu Mar 27 19:23:31 CET 2008


Patches item #1927289, was opened at 2008-03-27 12:12
Message generated for change (Comment added) made by has207
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1927289&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Herman Sheremetyev (has207)
Assigned to: Nobody/Anonymous (nobody)
Summary: add chroot support to openserunix

Initial Comment:
Make openserunix respect the CHROOT_DIR environment variable.  Also increase the potential size of the path to the unix socket from 32 to 256, when running in chroot the paths are usually a bit longer.

----------------------------------------------------------------------

>Comment By: Herman Sheremetyev (has207)
Date: 2008-03-27 13:23

Message:
Logged In: YES 
user_id=808795
Originator: YES

CHROOT_DIR is local to the script so in order for it to be available in
openserunix, which is another commands spawned off by the shell, it needs
to be added to the script's environment.

-Herman

----------------------------------------------------------------------

Comment By: Ovidiu Sas (osas)
Date: 2008-03-27 12:51

Message:
Logged In: YES 
user_id=1395524
Originator: NO

Hello Herman,

Why the line: 'export CHROOT_DIR # needed for openserunix' is need it?
The CHROOT_DIR is defined in the openserctlrc file and it should be
visible here (just like in openserctl.fifo).


Regards,
Ovidiu Sas

----------------------------------------------------------------------

Comment By: Herman Sheremetyev (has207)
Date: 2008-03-27 12:19

Message:
Logged In: YES 
user_id=808795
Originator: YES

File Added: openserctl-unixsock.patch

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1927289&group_id=139143



More information about the Devel mailing list