Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #920
| From | Rainer Weikusat <rweikusat@talktalk.net> |
|---|---|
| Newsgroups | alt.os.linux.slackware, comp.os.linux.misc, comp.os.linux.development.apps, comp.unix.programmer |
| Subject | Re: Need advice about fixing PROC mount failures in a DIY Linux container |
| Date | 2023-01-09 19:27 +0000 |
| Message-ID | <87mt6ry0dq.fsf@doppelsaurus.mobileactivedefense.com> (permalink) |
| References | <tpahpv$3a27i$1@dont-email.me> <tpaker$3advh$1@dont-email.me> |
Cross-posted to 4 groups.
Lew Pitcher <lew.pitcher@digitalfreehold.ca> writes: [...] > Well, I can answer my own question, now. But the answer > leads to more questions. > > The reason I get "Operation not permitted" on the > container /proc mount on my "production" system is that > I also run an nfs server on my "production" system (and > do not run one on my development system), and is nfs > server maintains two mountpoints within the /proc > filesystem. > > Apparently, the attempt to mount /proc within my container > was blocked by the existance of these two mount points > (/proc/fs/nfs and /proc/fs/nfsd), as when I shut down my > rpc and nfs servers, and umounted these two mounts, I could > successfully run my demo container. > > /Now/ the question is: how do I get my container /proc mount > to ignore or bypass these two nfsd mounts? Instead of doing a bind mount of a proc filesystem already mounted somewhere, you could mount a new instance of it. The command for this would be mount -t proc proc <mount point> You'll generally also want to mount sysfs, BTW.
Back to comp.os.linux.development.apps | Previous | Next — Previous in thread | Find similar
Need advice about fixing PROC mount failures in a DIY Linux container Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2023-01-07 01:27 +0000
Re: Need advice about fixing PROC mount failures in a DIY Linux container Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2023-01-07 02:12 +0000
Re: Need advice about fixing PROC mount failures in a DIY Linux container Jasen Betts <usenet@revmaps.no-ip.org> - 2023-01-07 07:06 +0000
Re: Need advice about fixing PROC mount failures in a DIY Linux container John-Paul Stewart <jpstewart@personalprojects.net> - 2023-01-07 11:41 -0500
Re: Need advice about fixing PROC mount failures in a DIY Linux container Rainer Weikusat <rweikusat@talktalk.net> - 2023-01-09 19:27 +0000
csiph-web