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
- 175 LFX Mentorship
- 175 LFX Mentorship: Linux Kernel
- 745 Linux Foundation IT Professional Programs
- 372 Cloud Engineer IT Professional Program
- 168 Advanced Cloud Engineer IT Professional Program
- 73 DevOps IT Professional Program - Discontinued
- 3 DevOps & GitOps IT Professional Program
- 98 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- AI & ML Training
- Blockchain & Decentralized Identity Training
- Cloud & Containers Training
- Cybersecurity Training
- DevOps & Site-Reliability Training
- Linux Kernel Development Training
- Networking Training
- Open Source Best Practice Training
- System Administration Training
- System Engineering Training
- Web & Application Development Training
- 2 LFD103-JP クラス フォーラム
- 4 LFD210-CN Class Forum
- 764 LFD259 Class Forum
- 681 LFS101 Class Forum
- 2 LFS158-JP クラス フォーラム
- 162 LFS207 Class Forum
- 3 LFS207-DE-Klassenforum
- 4 LFS207-JP クラス フォーラム
- 61 LFS241 Class Forum
- 52 LFS242 Class Forum
- 42 LFS243 Class Forum
- 19 LFS244 Class Forum
- 4 LFS250-JP クラス フォーラム
- 166 LFS253 Class Forum
- 19 LFS256 Class Forum
- 1.4K LFS258 Class Forum
- 165 LFS261 Class Forum
- 26 LFS267 Class Forum
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 945 Programming and Development
- 310 Kernel Development
- 617 Software Development
- 977 Software
- 369 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 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)
