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

Mount prevent second run #267

Open
Ratio2 opened this issue Sep 8, 2023 · 1 comment
Open

Mount prevent second run #267

Ratio2 opened this issue Sep 8, 2023 · 1 comment

Comments

@Ratio2
Copy link

Ratio2 commented Sep 8, 2023

1.Run "sudo /usr/local/sbin/beesd UUID"
2. Close it with SIGINT(ctrl+c)/SIGTERM
3. Run "sudo /usr/local/sbin/beesd UUID"

mount: /run/bees/mnt/UUID: /dev/... already mounted on /.

But if we use "sudo systemctl stop bees@UUID" then mount automatically closed and no problem occurred.

Very strange. I not found special handling in source code. Systemd behavior?

@lilydjwg
Copy link

Systemd behavior?

Yes. The systemd service uses a private mount which gets cleaned up after service is stopped. When you manually run beesd, you'll need to unmount that mountpoint yourself (that's why I don't do that).

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

No branches or pull requests

2 participants