13Troubleshooting - amagerard/TemplateVM GitHub Wiki

HOME

RedHat/TemplateVM.

1- Installation 2- Network 3- Firewall 4- Selinux
5- Logs 6- Certificates 7- Mail 8- PassphraseSSH
9- Sudo 10- GnomeShell 11- CloneVM 12- Volume
13- Troubleshoot

13. Troubleshooting.

13.8 inxi command line system information tool.

dnf install inxi
Some command lines.
inxi -M
inxi -Fxxxza

13.7 Installation with Red Hat (November 29, 2024).

I no longer do any installation with Almalinux, no Rocky, etc ...

13.6 Rename Network Interface and disable IPv6.

On some physicals machines it is not possible to change the name of the network interface with grub.
I haven't found why.
The solution I found fixes this anomaly.
dnf install grubby
grubby --args ipv6.disable=1 --update-kernel DEFAULT
grubby --update-kernel=ALL --args=net.ifnames=0
reboot

There is another solution only rename card but not necessarily easier.
Create a file called 10-eth0.link in /etc/systemd/network.
mkdir /etc/systemd/network
touch /etc/systemd/network/10-eth0.link
Example :

Ethernet Card: enp3s0  
Mac address: 00:6e:68:40:2c  

Edit /etc/systemd/network/10-eth0.link
vi /etc/systemd/network/10-eth0.link

[Match]  
MACAddress=00:6e:68:40:2c  
  
[Link]  
Name=eth0  

reboot

13.5 VMware Tools without GUI not installed

dnf install open-vm-tools

13.4 Change "/var" to 4G.

Noticed (2023/11/24).
There is not enough space for the update.
lvextend -L+2G /dev/vgl0/var
resize2fs /dev/vgl0/var

13.3

Noticed (2023/10/30).
Update TemplateVM.

13.2 date (2023-04-14)

Noticed (2023/06/24).
Permissive (permissive) mode can be considered a mode of debugging.
The Selinux rules are questioned, access errors are recorded in the logs,
but access will not be blocked.
When Selinux is disabled (Disabled), access is not limited,
and nothing is saved in the logs.

To stop seeing these messages with selinux = permissive.
dnf remove troubleshoot
Be careful with selinux = enforcing.
you need to install setroubleshoot.

13.1 date (2023-03-02)

Update iptables error.
dnf remove iptables-legacy
Update httpd error.
rm /etc/httpd/conf.d/ssl.conf
After update.
dnf update
ufw enable or reboot