Hey,
I'm currently running 4.9.202-vs2.3.9.9-beng and sometime, a few years
ago, I noticed that /proc/mounts became empty. This has been a minor
pain, mostly around installing openjdk-8-jre-headless (and friends)
that use mountpoint to see if /proc is mounted. But now I'm trying to
install another tool which does this as well and if I can't resolve
this I'll need to grant the CAP_SYS_ADMIN capability to the container -
if a filesystem isn't mounted then it mounts a tmpfs onto the the mount
point.
mountpoint looks in /proc/self/mountinfo which is also empty - I don't
know if this used to contain the mounts or not.
Should /proc/mounts & /proc/self/mountinfo contain the currently
mounted filesystems within the vserver? If so, any tips on what I might
have set wrong to cause it to be empty?
Cheers,
Andrew
-- Andrew Ruthven, Wellington, New Zealand MIITP At work: andrew.ruthven@catalyst.net.nz At home: andrew@etc.gen.nz Cloud : https://catalystcloud.nz GPG fpr: C603 FC4E 600F 1CEC D1C8 D97C 4B53 D931 E4D3 E863 LCA2021: http://lca2021.linux.org.au/Received on Sun Apr 12 14:01:42 2020