LFS201: 2.23 /tmp encountered the following issue
Hello, after reading LFS201: 2.23 /tmp encountered the following issue
I found it interesting to go ahead and disable the ability by application to write to the /tmp
executing the following cmnd (systemctl mask tmp.mount) and then rebooting presented no issues with the provided class vm CentOS7.
I did the same cmnd on my other personal vm OpenSUSE. after rebooting my NIC cards are no longer available. I do see
lo
I attempted to roll back the cmnd simply by guessing unmask portion and it seems like the cmnd is available, however
executing as su or sudo offered the following error
Failed to execute operation: Read-only file system
This does make sense.
How do i properly rollback and is it possible that the NIC card files on OpenSUSE need access to /tmp
Thank you
Comments
-
I confirmed, executing systemctl mask tmp.mount removes NIC's from OpenSUSE.
trouble ataching screenshots so please see the links from amazon cloud drive
https://www.amazon.com/clouddrive/share/vYpkSMR1ybgUb7ZBg2QFzYQG29BLlxi4LKoUclel8uU
Thanks
0 -
systemctl mask tmp.mount
prevents the system from mount /tmp in memory, using tmpfs, and makes it a directory on disk again.
systemcl status tmp.mount
will show current situation., and df -h /tmp should show you where /tmp/ is mounted.
neither systemctl mount/unmount command takes effect until a reboot, so please try rebooting.
This has nothing to do with your NIC. it just has to do with putting files on /tmp/ I'm not sure why
it didn't work but at least try rebooting.
0 -
Hi coop, I rebooted as soon as i executed the command, exactly based on the course instrcutions, then after reboot i was not able to ssh back to my vm. so thats when it all began.
Just as an FYI: this did not happen with LF provided OpenSUSE vm but with self built vm
Thanks for the reply, i will see if i can create a video and duplicate this again.
0 -
I just recorded a short video check it out
0 -
the error message is te4lling you NOTHING about NICs. It si talking about being unable to write to file system.
What would be useful is looking at the outpuot of
df -T
and
mount
To see what filesystems are mounted where with what options. I don't know what went wrong. You can also try to remount with rw ability as in
sudo mount -o remount,rw /
or you can try /tmp instead of / etc.
0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 772 Linux Foundation IT Professional Programs
- 382 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 8 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 20 Cloud & Containers Training
- 2 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 3 Web & Application Development Training
- 797 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 467 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 99 Linux Security
- 79 Network Management
- 101 System Management
- 46 Web Management
- 138 Mobile Computing
- 20 Android
- 103 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 402 Off Topic
- 125 Introductions
- 33 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 710 Software Development
- 1K Software
- 416 Applications
- 182 Command Line
- 5 Compiling/Installing
- 71 Games
- 321 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
