1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Michael Haubenwallner wrote: |
5 |
> The problem here IMO is that this wrapper executes python2.6 with argv0 set |
6 |
> to python2.6, while it should be the argv0 from how the wrapper was executed. |
7 |
> At least this is what init.d scripts expect (seen with ntlmaps too). |
8 |
> |
9 |
> /haubi/ |
10 |
> |
11 |
|
12 |
Unfortunately, if argv[0] is *not* set to python2.6, it appears that |
13 |
some python programs crash, thereby making this a lose-lose proposition. |
14 |
I believe there is a way to make s-s-d stop a program by looking only |
15 |
at its pid, via a .pid file, which you may be able to use to work around |
16 |
the issue. |
17 |
|
18 |
- -- |
19 |
Jonathan Callen |
20 |
-----BEGIN PGP SIGNATURE----- |
21 |
Version: GnuPG v2.0.11 (GNU/Linux) |
22 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
23 |
|
24 |
iEYEARECAAYFAkrKV8sACgkQOypDUo0oQOog6QCg18/A06tmecCa/5L6r7qoKAO1 |
25 |
urAAoKIHKiZyKveYoDwCQZ/woeRQdwY/ |
26 |
=C9ao |
27 |
-----END PGP SIGNATURE----- |