When stopping the prserver using localhost as host, it tries to find a file '/tmp/PRServer_127.0.0.1_8585.pid' which is not present on the system. Steps to reproduced: $ bitbake-prserv --host localhost --port 8585 --loglevel=DEBUG --start $ bitbake-prserv --host localhost --port 8585 --loglevel=DEBUG --stop pidfile /tmp/PRServer_localhost_8585.pid does not exist. Daemon not running? It is important to notice that the server was CORRECTLY stopped, just the extra message is wrong.
(In reply to comment #0) > When stopping the prserver using localhost as host, it tries to find a file > '/tmp/PRServer_127.0.0.1_8585.pid' which is not present on the system. I meant '/tmp/PRServer_localhost_8585.pid' > > Steps to reproduced: > > $ bitbake-prserv --host localhost --port 8585 --loglevel=DEBUG --start > > $ bitbake-prserv --host localhost --port 8585 --loglevel=DEBUG --stop > > pidfile /tmp/PRServer_localhost_8585.pid does not exist. Daemon not running? > > > It is important to notice that the server was CORRECTLY stopped, just the > extra message is wrong.
One additional comment: The file created has the name: /tmp/PRServer_127.0.0.1_8585.pid So, this file is stored with the IP, but it looking using the string 'localhost'
Patch sent to the ML.
Patch merged: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5a51fb28dbdfcae8ceb503a5290532dd38aeb09f