Skip to content

No mount cleanup after kill -9 and restart #172

@Juul

Description

@Juul

After killing ouisync with kill -9 due to issue #171 and then re-starting ouisync with ouisync start the ~/ouisync directory still contains what appears to be both a normal empty directory for one repo (locally created repo) and one hung mountpoint in a weird state for a repo created by another peer and synced to this peer:

$ ls -l ~/ouisync/
ls: cannot access '/home/<user>/ouisync/eq test 1': Transport endpoint is not connected
total 0
d????????? ? ?    ?      ?            ? 'eq test 1'
dr-xr-xr-x 1 root root 193 Dec 31  1969  phone

Stopping ouisync with ctrl-c (which worked this time), then manually unmounting /home/<user>/ouisync/eq test 1 and re-starting ouisync fixed the issue.

ouisync should probably recover better from an unclean exit by e.g. detecting stale ouisync mounts and unmounting them

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions