So I'm working on updated my course content for v9.3 before I present it to my students this fall. To do so, I'm doing all the labs.
During Lab 10.7 (Control the Boot Process), one must fix an issue in /etc/fstab that exists on serverb. Usually, vim is used to do this.
However, when I was doing did the lab, I found that vim was inexplicably missing. Instead, I used nano to complete the lab.
After running the finish script, I went back to serverb to double check. Here's what I found:
Trying to run vim:
Using locate to find the vim binary (which says it found it):
Trying to run the vim using the absolute path:
At this point, I ran updatedb and the locate was again used to find the binary - vim, and all its other files, no longer shows up:
I went ahead and reinstalled vim, so it works now.
-----
I used vim on lab 7.5 (manage basic storage) and 8.5 (manage storage stack).
I did not use it on 9.5 (access network-attached storage) - I used echo and redirection on that lab.
I want to be very clear about something: at no time did I uninstall vim.
@Tracy_Baker just to be clear , we are talking about RH124 course v9.3 chapter 10 section 7 lab ?
@Tracy_Baker I think you are talking about RH134 v9.3 ch10s07 ( control the boot process lab ) but I can see vim is there in serverb :
Did I get your issue correctly ?
Oops... Yes RH134
So, yes, as you say: RH134 v9.3 ch10s07
vim went missing between the as seen in my screen shots. I've reinstalled it (dnf install vim) and it works. I also guess that if I were to destroy and recreate the lab, it'd probably be there.
You are right @Tracy_Baker ! May be it got removed due to some other previous lab work ? Not sure but it is weird.
There's nothing before then that deals with packages (that's a RH124 topic) or anything - that I'm aware of - that has anything to do with installing or removing vim.
So, yes, it was incredibly odd.
@Tracy_Baker if you face this again please let me know, we will try to investigate in your lab.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.