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

Broken and inconsistent getDataDir() and getRuntimeDir() #84

Open
mheily opened this issue Jun 15, 2016 · 3 comments
Open

Broken and inconsistent getDataDir() and getRuntimeDir() #84

mheily opened this issue Jun 15, 2016 · 3 comments
Assignees
Labels

Comments

@mheily
Copy link
Owner

mheily commented Jun 15, 2016

The values of getDataDir() and getRuntimeDir() are used improperly in some cases. They aren't created as needed. The wrong XDG_* variables were being used in some cases. None of the environment variables are documented in the manpage. MacOS is a very special case.

Review all uses of libjob directory variables, and make them consistent, documented, and correct.

@mheily mheily added the bug label Jun 15, 2016
@mheily mheily self-assigned this Jun 15, 2016
@mheily
Copy link
Owner Author

mheily commented Jun 15, 2016

I committed some half-broken crap that now leaves everything in a terrible state.

$ ./jobd/jobd -fv
ERROR: Cannot open or create pidfile:

@mheily
Copy link
Owner Author

mheily commented Jun 19, 2016

Things are better now, but not tested very heavily.

@mheily
Copy link
Owner Author

mheily commented Jun 19, 2016

Still need:

Maybe have a bootstrap IPC socket from root-level that creates /var/run/jobd/user/$UID and /var/db/jobd/user/$UID.. (??? would need quotas ???)

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

No branches or pull requests

1 participant