Skip to content

Add autofs bug path documentation and troubleshooting#108

Merged
vsoch merged 2 commits intosingularityware:docs/2.4from
cclerget:docs/2.4-autofs
Aug 24, 2017
Merged

Add autofs bug path documentation and troubleshooting#108
vsoch merged 2 commits intosingularityware:docs/2.4from
cclerget:docs/2.4-autofs

Conversation

@cclerget
Copy link
Copy Markdown
Member

My english level will certainly requires some correction.
The following directive/fix is available in singularity dev branch

This snippet add documentation for new autofs bug path configuration directive in order to fix "Too many levels of symbolic links" errors


### AUTOFS BUG PATH (string)
With some autofs version, Singularity fails to run with "Too many levels of symbolic links" error when specified bind path (via configuration file or command line argument -B) are located in an autofs mount point. With this directive you can specify any number of autofs mount points generating errors.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Here is some slight tweaking to help :)

With some versions of autofs, Singularity will fail to run with a "Too many levels of symbolic links" error. This error happens by way of a user requested bind (done with -B/--bind) or one specified via the configuration file. To handle this, you will want to specify those paths using this directive. For example:

autofs bug path /share/PI

You got this error because /apps directory is an autofs mount point. You can fix it by editing singularity.conf and adding the following directive with corresponding path:
```bash
autofs bug path = /apps
```
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is good as is :)

@cclerget
Copy link
Copy Markdown
Member Author

@vsoch cool ! thanks for correction

@vsoch vsoch merged commit 104f336 into singularityware:docs/2.4 Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants