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
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 776 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 17 AI & ML Training
- 2 Blockchain & Decentralized Identity Training
- 44 Cloud & Containers Training
- 7 Cybersecurity Training
- 4 DevOps & Site-Reliability Training
- 3 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 6 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 774 Linux Distributions
- 82 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 473 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 174 Mobile Computing
- 32 Android
- 127 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 312 Kernel Development
- 729 Software Development
- 1K Software
- 421 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 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)
