Bug 12476 - fuser does not check for unix sockets
Summary: fuser does not check for unix sockets
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-15 20:48 UTC by Hans Acker
Modified: 2020-01-15 20:48 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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'.ΓΌ