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

Logger keeps from umounting: target is busy. #846

Closed
ManuLinares opened this issue May 16, 2024 · 3 comments
Closed

Logger keeps from umounting: target is busy. #846

ManuLinares opened this issue May 16, 2024 · 3 comments

Comments

@ManuLinares
Copy link

ManuLinares commented May 16, 2024

Can't umount because it says target is busy.
Cheked via ls -l /proc/*/fd and see that the pidof "logger" is keeping it.

 ps axun| grep logg
    1000   29522  0.0  0.0  12260  4900 ?        S    17:02   0:00 logger -t gocryptfs-29507-logger

I see this in gocryptfs: https://github.com/rfjakob/gocryptfs/blob/master/daemonize.go#L75

Using log/syslog is standard: https://pkg.go.dev/log/syslog
Handling panics with recover(): https://go.dev/ref/spec#Handling_panics


System Archlinux:
go 2:1.22.3-1
gocryptfs 2.4.0-1
linux 6.8.9.arch1-2

@rfjakob
Copy link
Owner

rfjakob commented May 17, 2024 via email

@rfjakob
Copy link
Owner

rfjakob commented May 17, 2024

Found a bug related to logger fds, fixed via da87308 . Thanks for the report!

@ManuLinares
Copy link
Author

Great, than you!

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