Bug 12476

Summary: fuser does not check for unix sockets
Product: Busybox Reporter: Hans Acker <bhcopnmeha>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Hans Acker 2020-01-15 20:48:30 UTC
Contrary to fuser from psmisc <http://psmisc.sourceforge.net/> busybox fuser does not check for processes using Unix domain sockets on the file system specified by file when using the '-m' option.

I noticed this on Alpine Linux where my OpenRC init system, which uses 'fuser -m', would always output the following during shutdown:

  Unmounting /home ...
    in use but fuser finds nothing

As it turns out my 'gpg-agent' still uses my /home directory as it creates Unix domain sockets in 'GNUPGHOME'. Unfortunately, 'busybox fuser -m' does not find the gpg-agent process as it only uses Unix domain sockets in '/home'.ΓΌ