Comments (9)
anyway thanks!
from dwarfs.
Interesting. I don't think this error comes directly from dwarfs. Cannot
with a capital C
doesn't occur even once in the source code.
Can you please provide a full example that would reproduce this error?
from dwarfs.
This issue might actually be caused by some setting me and my team use in our scripts. however i only started seeing this error after 0.7 so naturally I'm more suspicious towards that.
dummy-test.tar.gz
I attached an archive with a dummy dwarfs image and 2 scripts, one for mounting and one for unmounting.
Run the mounting one first and then the unmount one where I expect you to see the output:
Cannot stat file /proc/814/fd/0: Permission denied
Cannot stat file /proc/814/fd/1: Permission denied
Cannot stat file /proc/814/fd/2: Permission denied
Cannot stat file /proc/814/fd/3: Permission denied
Cannot stat file /proc/814/fd/4: Permission denied
Cannot stat file /proc/814/fd/5: Permission denied
Cannot stat file /proc/814/fd/6: Permission denied
Cannot stat file /proc/814/fd/7: Permission denied
Cannot stat file /proc/814/fd/9: Permission denied
Cannot stat file /proc/814/fd/10: Permission denied
Cannot stat file /proc/814/fd/11: Permission denied
Cannot stat file /proc/814/fd/12: Permission denied
Cannot stat file /proc/814/fd/13: Permission denied
Cannot stat file /proc/814/fd/14: Permission denied
Cannot stat file /proc/814/fd/15: Permission denied
Cannot stat file /proc/814/fd/16: Permission denied
Cannot stat file /proc/814/fd/19: Permission denied
Cannot stat file /proc/814/fd/20: Permission denied
Cannot stat file /proc/814/fd/21: Permission denied
Cannot stat file /proc/814/fd/23: Permission denied
Cannot stat file /proc/814/fd/24: Permission denied
Cannot stat file /proc/814/fd/25: Permission denied
Cannot stat file /proc/814/fd/36: Permission denied
Cannot stat file /proc/814/fd/37: Permission denied
Cannot stat file /proc/814/fd/38: Permission denied
Cannot stat file /proc/814/fd/39: Permission denied
Cannot stat file /proc/814/fd/40: Permission denied
Cannot stat file /proc/814/fd/41: Permission denied
Cannot stat file /proc/814/fd/42: Permission denied
Cannot stat file /proc/814/fd/43: Permission denied
Cannot stat file /proc/814/fd/44: Permission denied
Cannot stat file /proc/814/fd/45: Permission denied
Cannot stat file /proc/814/fd/46: Permission denied
Cannot stat file /proc/1049/fd/0: Permission denied
Cannot stat file /proc/1049/fd/1: Permission denied
Cannot stat file /proc/1049/fd/2: Permission denied
Cannot stat file /proc/1049/fd/3: Permission denied
Cannot stat file /proc/1049/fd/4: Permission denied
Cannot stat file /proc/1049/fd/5: Permission denied
Cannot stat file /proc/1049/fd/6: Permission denied
Cannot stat file /proc/1049/fd/7: Permission denied
Cannot stat file /proc/1049/fd/8: Permission denied
Cannot stat file /proc/1049/fd/9: Permission denied
Cannot stat file /proc/1049/fd/10: Permission denied
Cannot stat file /proc/1049/fd/11: Permission denied
Cannot stat file /proc/1049/fd/12: Permission denied
Cannot stat file /proc/1049/fd/13: Permission denied
Cannot stat file /proc/1049/fd/14: Permission denied
Cannot stat file /proc/1049/fd/15: Permission denied
Cannot stat file /proc/1049/fd/16: Permission denied
Cannot stat file /proc/1049/fd/17: Permission denied
Cannot stat file /proc/1049/fd/18: Permission denied
Cannot stat file /proc/1049/fd/19: Permission denied
Cannot stat file /proc/1049/fd/20: Permission denied
Cannot stat file /proc/1049/fd/21: Permission denied
Cannot stat file /proc/1049/fd/22: Permission denied
Cannot stat file /proc/1049/fd/23: Permission denied
Cannot stat file /proc/1049/fd/24: Permission denied
Cannot stat file /proc/1049/fd/25: Permission denied
Cannot stat file /proc/1049/fd/26: Permission denied
Cannot stat file /proc/1049/fd/27: Permission denied
/***/test/files/.groot-mnt: 5039
rm: cannot remove '/***/test/files/.groot-work': Directory not empty
Unmounted game.
from dwarfs.
Also I am on GNU/Linux Arch. If you have a distro which is slower on updates and is perhaps on an older version of fuse then that could yield a different result, if fuse is the culprit.
from dwarfs.
Pretty certain the error gets emitted by the fuser
call in unmount.sh
, so it's likely neither DwarFS nor FUSE.
from dwarfs.
I cannot reproduce the behaviour (on an up-to-date Gentoo system), but I do see
$ strings /bin/fuser | grep 'Cannot stat file'
Cannot stat file %s: %s
as well as
$ strace fuser -k tmp 2>&1 | grep 'stat.*/proc/' | wc -l
3100
Perhaps you can gain some insight by checking what the processes belonging to the PIDs in the error message actually are. If the user running fuser -k
doesn't have permission to access/kill these processes, then the error seems reasonable to me.
from dwarfs.
For completeness, I'm using fuser
from psmisc-23.6
.
from dwarfs.
yep fuser -k was the issue. weird that it started giving these errors out of nowhere. we use fuser -k to force all processes of the program to close in order to make sure dwarfs can be unmounted immediately. these errors cause confusion to users though. i should find a more silent way to go about it
from dwarfs.
As I said, probably worth checking what the problematic processes are.
from dwarfs.
Related Issues (20)
- locale fallback does not work properly HOT 11
- Accept forwards compatibility HOT 4
- Resize progress bar when terminal window is resized HOT 3
- xattrs support HOT 1
- Optimize segmenting by skipping zero filled blocks? HOT 49
- fusermount3: mounting over filesystem type 0x7366746e is forbidden HOT 5
- Signal 7 (SIGBUS) during extraction HOT 4
- recompress does not change the compression algorithm HOT 1
- Unable to do anything with image; truncated section header HOT 5
- Add support for Ubuntu HOT 2
- Add integrity check from dwarfsextract to mount as well HOT 8
- UIDs/GIDs truncated to 16 bits HOT 6
- Command line option (for windows) to set a folder where writable files go [] HOT 10
- how do I use you software? HOT 3
- Consider supporting zstd dictionaries HOT 4
- [Feature Request] Create DWARFS Archive From TAR/STDIN HOT 6
- Trouble compiling: 'utf8cpp/utf8.h' file not found HOT 6
- dwarfs 0.7.3 doesn't use section index properly HOT 3
- error initializing file system: unsupported compression type: ZSTD HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dwarfs.