Comments (8)
[root@osd010 ~]# cat /proc/2302819/cmdline
/usr/bin/python-E/usr/bin/zkrsync--configfiles=/etc/zkrs/kyukonhome.conf--session=kyukonhome--daemon-D
still shows /usr/bin/zkrsync in there
from vsc-install.
@JensTimmerman osd010
wasn't updated yet
from vsc-install.
same on osd009
[root@osd009 ~]# cat /proc/2278866/cmdline
/usr/bin/python-E/usr/bin/zkrsync--configfiles=/etc/zkrs/kyukonhome.conf--session=kyukonhome--daemon-D
from vsc-install.
@JensTimmerman try ps -C
i guess the new wrapper in the shebang does an exec
and ps sometimes shows before vs after exec?
from vsc-install.
@stdweird I know the procname is different, that is indeed changed, just trying to give some alternatives here.
If you consider this a bug, we could have the wrapper set the correct procname (linux only) with
def set_proc_name(newname):
from ctypes import cdll, byref, create_string_buffer
libc = cdll.LoadLibrary('libc.so.6')
buff = create_string_buffer(len(newname)+1)
buff.value = newname
libc.prctl(15, byref(buff), 0, 0, 0)
but this seems a bit hacky
from vsc-install.
@JensTimmerman oh, i don't consider it a bug 😄
it would be nice to understand why it happened, but nothing more then that imho.
@kwaegema your fixes in https://github.ugent.be/hpcugent/vsc-backup/pull/6 are sufficient to work around this, right?
from vsc-install.
It happens because we now always call python, via
https://github.com/hpcugent/vsc-install/blob/master/bin/python-stripped-env#L32
maybe we should exec it instead?
from vsc-install.
@JensTimmerman ah, we wrote that. what happens if you use exec $PYTHON ...
to start it?
from vsc-install.
Related Issues (20)
- line too long in doc string
- be able to pass setup.py options through tox
- report setuptools version HOT 1
- vsc-install asks for credentials when using tox HOT 4
- support shellcheck in Jenkinsfile
- vsc-install should test for spaces around operators in 'requires'
- unclosed file HOT 1
- RuntimeError: setuptools >= 41 required to build
- usage of /usr/bin/python in the stripped-env en noenv wrappers HOT 1
- remove flake8 version limit once new prospector that is compatible with pyflakes 2.3 is released HOT 1
- test RPM build via commontest
- run tests with python 3.9
- vsc-install should provide an option to generate github actions workflow file HOT 1
- python 3.12 removes distutils
- allow vsc-install to create correct setup.cfg's HOT 2
- add support for more fields in setup.cfg HOT 1
- check_header function should signal what is exactly wrong
- "python setup.py check -r -s" should be run as a part of "python setup.py test"
- Tests fail: Can't find location of testsuite directory test in /usr/ports/devel/py-vsc-install/work-py27/vsc-install-0.11.2 HOT 4
- "python setup.py bdist_rpm" doesn't replace shebang lines in scripts with recent setuptools HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsc-install.