host name (nodename) change ...
Added by Jason Messmer over 15 years ago
Has anyone experience (on Unix) where the server's hostname (nodename) change to -s? For example, if the server
is called "apples" the name changes to "-s". I noticed this a couple of times in the redmine application after
installing some plugins. I know how to change the nodename from the command line but what I don't understand
is how is rails changing it. Right now, redmine runs as root (which is bad, I know - I will change it to a different
user) and it's the only user that can change the nodename of the server. The problem usually occurs when the code
is not checking for null. Thanks...
Replies (3)
RE: host name (nodename) change ... - Added by Jason Messmer over 15 years ago
Jason Messmer wrote:
Has anyone experience (on Unix) where the server's hostname (nodename) change to -s? For example, if the server
is called "apples" the name changes to "-s". I noticed this a couple of times in the redmine application after
installing some plugins. I know how to change the nodename from the command line but what I don't understand
is how is rails changing it. Right now, redmine runs as root (which is bad, I know - I will change it to a different
user) and it's the only user that can change the nodename of the server. The problem usually occurs when the code
is not checking for nil. Thanks...
RE: host name (nodename) change ... - Added by Jason Messmer over 15 years ago
I found the culprit...it's the exception_handler plugin...I filed the following issue: