Skip to content

Error "unlinkat /tmp/violations: read-only file system" in Disk driver CloseConnection #4012

Closed
@nreisch

Description

@nreisch

Error "unlinkat /tmp/violations: read-only file system" in the os.RemoveAll(conn.Path) in the disk driver when using readonlyrootfilesystem set to true and /tmp/violations/. Add some more resiliency by only deleting the entries or can be mitigated by changing the mount point of the volume -

err := os.RemoveAll(conn.Path)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions