LFS201 - Exercise 35.2 Nitpick
Hello,
Minor nitpick but I find the answer to question 35.2 a bit odd. It's about why nmcli/nmtui is preferable to modifying files in /etc
Options A & B are not interesting but C &D are:
C. It avoids modifying distribution-dependent files in /etc
D. The use of nmtui and nmcli should be the same on all Linux distributions
In my view, both C and D are correct, but if I had to pick one I'd say C is more correct.
The course material seem to agree as on the "NIC Configuration Files" page, it is stated: "Each distribution has its own set of files and/or directories, and they may be slightly different, depending on your distribution version. When using systemd, it is preferable to use Network Manager, rather than try to configure the underlying text files."
While the rationale for D is softer (on the Network Manager page): "its use is hopefully almost the same on different systems".
Hardly of earth-shattering significance but if I'm wrong and D is clearly correct while C is not, it'd be interesting to get the rationale.
Many thanks,
/Henrik
Comments
-
It's not obvious "C" is correct. Depending on the distribution, it is possible and probable that some files in /etc/ get modified when you run the network manager stuff. This would be the normal place. Perhaps someone who is a better expert than I could prove or disprove this, but configuration information has to be stored somewhere and the usual place is /etc (which is what it is for) if it is to be persistent -- non-persistent stuff of course could just be in /var/ for example. But I'm sure that is the logic for the answer D and not C.
0 -
It's precisely the fact that different files under /etc are modified depending on the distribution one should choose a pretty-close-to-standard toolset for making the changes.
I think I know what the issue is though. I read option C to mean that as an admin I don't have to manually modify the files under /etc, in which case I would argue would make C the correct choice. If instead they intended C to mean distribution dependent files are never updated as a result of running nmcli/nmtui then of course C is wrong.
0 -
It would have been better phrased to say "directly modifying" or "manually modifying" as you suggested. That was the intent I'm sure. Thanks
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)
