Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

silent failure when invalid custom_services_dir specified #244

Closed
GoogleCodeExporter opened this issue Aug 22, 2015 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. set custom_services_dir to one of the following invalid directory names
   ('addons', 'api', 'bsd', 'emane', 'misc', 'netns',
    'phys', 'services', 'xen')
2. an error is only printed if 'services' is used
3. any services in the given directory will fail to load

What is the expected output? What do you see instead?

Error message should be printed.

When a custom services directory such as "/home/username/.core/myservices" is 
used, core-daemon will update sys.path to include "/home/username/.core" and 
attempt to exec "from myservices import *".

The list of invalid directories is from the directories in the 
core/daemon/core/ directory.

Original issue reported on code.google.com by ahrenh...@gmail.com on 30 Apr 2014 at 9:13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant