Package: python-prctl
Version: 1.1.1-1.1
Severity: important
Hi!
I am currently setting the process title using
prctl.set_proctitle('foo-server')
With that code active, the process environment is corrupted,
e.g. part of the defintion of PATH has been overwritten:
# cat -v /proc/$(pgrep foo-server)/environ ; echo
^@^@^@^@^@^@^@^@^@n:/usr/sbin:/bin:/usr/bin^@HOME=/root^@
If I remove the call to prctl.set_proctitle, the environment remains healthy:
# cat -v /proc/$(pgrep foo-server)/environ ; echo
PATH=/sbin:/usr/sbin:/bin:/usr/bin^@HOME=/root^@
Best,
Sebastian
-- System Information:
Debian Release: 7.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-prctl depends on:
ii libc6 2.13-38+deb7u6
ii libcap2 1:2.22-1.2
ii python 2.7.3-4+deb7u1
ii python-support 1.0.15
python-prctl recommends no packages.
python-prctl suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]