Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pages/docs/admin-docs/advanced-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ In addition to the system bind points as specified within this configuration fil

Singularity will automatically disable this feature if the host does not support the prctl option `PR_SET_NO_NEW_PRIVS`. In addition, `enable overlay` must be set to `yes` and the host system must support overlayFS (generally kernel versions 3.18 and later) for users to bind host directories to bind points that do not already exist in the container.

### AUTOFS BUG PATH (string)
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:
```bash
autofs bug path = /share/PI
```

## Logging
In order to facilitate monitoring and auditing, Singularity will syslog() every action and error that takes place to the `LOCAL0` syslog facility. You can define what to do with those logs in your syslog configuration.
Expand Down
15 changes: 15 additions & 0 deletions pages/docs/overview/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,19 @@ To add /usr/local/bin to the default sudo search path, run the program visudo wh
```bash
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
```

### How to resolve "Too many levels of symbolic links" error
Running singularity failed with "Too many levels of symbolic links" error

```bash
$ singularity run -B /apps container.img
ERROR : There was an error binding the path /apps: Too many levels of symbolic links
ABORT : Retval = 255
```

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 :)


{% include links.html %}