Before providing with you resolution of above error, remember this case is for providing sudo access to new user which actually can be security risk if you are working in production enviornment. Do consult with you infosecurity team if new user really need sudo access. I am assuming here that you are already aware of … Continue reading “username” is not in the sudoers file. This incident will be reported. Privilege escalation for new user in Linux
Linux & Windows
(CentOS-8) Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist
While migrating my kubernetes cluster from Docker runtime engine to CRI-O, I faced error below, [root@cntmaster ~]# yum update CentOS Linux 8 - AppStream 59 B/s | 38 B 00:00 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist This error occured since I am using old CentOS … Continue reading (CentOS-8) Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist
Adding Virtual Disk in Linux using LVM Framework – Part 2
In Part 1, we have allocated free space of Virtual Disk 1, to existing volume group by creating new partition from same disk. However, we may run in scenario where whole disk 1 is fully utilized and we need to add second disk for arranging free space for logical volumes. Some use cases, like syslog … Continue reading Adding Virtual Disk in Linux using LVM Framework – Part 2
Adding Virtual Disk in Linux using LVM Framework – Part 1
LVM or Logical Volume Manager is a device mapper framework to organize and manage virtual/physical disks mounted on linux. We can use lvm to create volume groups of underlay physical disks and allocate blocks from this group to different partitions of our Linux system. This framework is supported on various linux distribution, for this blog … Continue reading Adding Virtual Disk in Linux using LVM Framework – Part 1
Dependency Failed for /var in RHEL/CentOS
In one of my blog, where we recovered linux system from emergency mode using xfs_repair utility expectations was full recovery of system. However, we may encounter another error after where system will go in emergency mode again due to different reason. Again we may use journalctl utility to understand error message. For my case, three … Continue reading Dependency Failed for /var in RHEL/CentOS
Not able to mount sysroot- Recovery of RHEL/CentOS
Error after OS Reboot Many times, if linux partitions if not mounted properly or resized with correct steps (Refer my Blog: Linux partition resizing using LVM), may lead to machine going in grub recovery mode or rescue mode. Now, reasons why this may happen is not part of this blog. What I am covering here … Continue reading Not able to mount sysroot- Recovery of RHEL/CentOS