View Issue Details

IDProjectCategoryView StatusLast Update
0004363Talerobsolete componentpublic2016-09-26 12:01
ReporterChristian Grothoff Assigned ToMarcello Stanisci Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynoneSeveritytweakReproducibilityN/A
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004363: standalone taler bank server shows up as 'python' in "ps ax"
DescriptionYes, I know it is actually 'python' running here, but one _can_ modify what shows up in 'ps' by _writing_ to 'argv[0]' (or passing proper values in a syscall to exec()).

This would be nice as we could make the process show up as 'taler-bank-httpd' instead of 'python manage.py runserver --noreload 8080' which nobody would naturally understand as being related to 'Taler'.

Steps To ReproduceRun

$ taler-bank-manage --bareserver 8080
$ ps ax | grep 8080

Additional InformationFor how to do this:

http://stackoverflow.com/questions/564695/is-there-a-way-to-change-effective-process-name-in-python

https://github.com/dvarrazzo/py-setproctitle
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Marcello Stanisci

2016-04-04 17:43

reporter   ~0010368

fixed in f40dae2..6e36fb3. 'setproctitle' needed (and added to requirements.txt)

Issue History

Date ModifiedUsernameFieldChange
2016-04-04 16:08Christian GrothoffNew Issue
2016-04-04 16:08Christian GrothoffStatusnew => assigned
2016-04-04 16:08Christian GrothoffAssigned To => Marcello Stanisci
2016-04-04 17:43Marcello StanisciNote Added: 0010368
2016-04-04 17:43Marcello StanisciStatusassigned => informing
2016-04-04 17:43Marcello StanisciResolutionopen => fixed
2016-04-05 22:26Christian GrothoffStatusinforming => closed
2016-09-26 12:00Christian GrothoffFixed in Version => 0.0
2016-09-26 12:01Christian GrothoffTarget Version => 0.0
2022-08-23 18:26Christian GrothoffCategorybank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 00:23Christian GrothoffCategorypy bank (demonstrator, obsolete) => obsolete componet
2023-12-11 19:08Florian DoldCategoryobsolete componet => obsolete component