Issue Details (XML | Word | Printable)

Key: RIO-215
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dennis Reedy
Reporter: Dennis Reedy
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Rio

Illegal characters in service name cause illegal log and pid files

Created: 25/Jan/10 11:05 PM   Updated: 25/Jan/10 11:50 PM
Component/s: Instantiation, Log
Affects Version/s: 4.0 M3
Fix Version/s: 4.0 M3

Time Tracking:
Not Specified


 Description  « Hide
I am seeing a problem with services that have odd names. We build the ServiceRequirement based on the platform type, and now we are starting to see platform type names such as "T62 /(W FL & SK)". This is not a problem in our code, since it's just treated like any other string. But when the service is started, the logfile name and the PI file name (built from the service name) cause the service to fail. I was wondering if you could modify the file names to replace

"/!#$&*()\'`[]{}|~" with '_'?

Perhaps just the logfile name and the PID file name need to changed.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dennis Reedy added a comment - 25/Jan/10 11:50 PM
Illegal characters as defined by "/!#$&*()\'`[]{}|~" as well as a " " are not replaced with the "_" character when constructing the name