commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
Subject [jira] Updated: (DAEMON-92) jsvc fails to execve() self on Linux
Date Wed, 07 Feb 2007 00:54:05 GMT


Henri Yandell updated DAEMON-92:

    Fix Version/s:     (was: 1.0.1 Final)

> jsvc fails to execve() self on Linux
> ------------------------------------
>                 Key: DAEMON-92
>                 URL:
>             Project: Commons Daemon
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>            Reporter: Simone Piunno
>         Attachments: 1.0.1-execve-self.patch
> On Linux jsvc execve() itself.
> execve() requires an absolute path as the first argument therefore use of argv[0] only
works when jsvc was invoked with a full path.
> Executing jsvc as relative path fails with "jsvc error: Cannot execute JSVC executor
> On Linux the full path to self is very easy to find: "/proc/self/exe"
> I'm attaching a patch fixing this problem and falling back to argv[0] in case /proc is
not mounted.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message