Questions tagged [rhel]
Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.
4,119
questions
0
votes
0
answers
18
views
Permission denied when executing an rsync command using a third server to copy a file over to another server
I'm trying to copy files over from one server to another using a bastion server with rsync, so I have the list of origin servers and a list of target servers, the strange part is that when I use the ...
0
votes
0
answers
11
views
Serial Console is not accessible from VMs created from a custom AlmaLinux 9.3 image
I'm currently following the "RHEL 8+ using Hyper-V Manager" section in Microsoft Azure's documentation link to create RedHat Azure images. I've successfully created a modified AlmaLinux 9.2 ...
0
votes
2
answers
36
views
How do I get linux flavors, like Fedora, RHEL, Amazon Linux, and others that don't update motd on login to do so?
I am trying to get my Amazon Linux 2023 server to update the MOTD on login, not on a timer or by fiddling with the profile. I want a clean experience for users whether they re-exec their shell, or ...
0
votes
1
answer
35
views
OS kills process before it executes stop script
I have Red Hat Enterprise Linux 8.10 (Ootpa).
I create a init script to stop MQSeries.
before it runs the script from /etc/init.d, the MQ processes are killed.
LOG extract:
Jul 10 11:45:44 ...
2
votes
2
answers
44
views
Why is the group permissions rwx for folder but read for newly created files within it?
On Rocky 8 (Redhat), I have a site running under Apache (httpd). I have the permissions set as follows including setguid so files created within the uploads folder inherit the group:
[root@myserver ~]#...
-2
votes
1
answer
40
views
What important side effects causes on a RHEL system to disable user namespaces?
In order to mitigate a CVE issue I have on a list of servers, I came across this link from RHEL. Under the mitigation steps, there are two options, one is to blacklist a nfs_tables kernel module which ...
0
votes
0
answers
8
views
Rebooting directly into MOK
I'd like to enroll a new key in a GCP VM. I'm using the mok --import command, and rebooting form the serial console. The problem is that, when the splash screen appears, the serial console does not ...
0
votes
0
answers
71
views
In some linux system , echo $DISPLAY shows :1 instead of :0 why is that?
DISPLAY as :1 typically means that your X server instance is running on display :1, but why it doesn't runs in :0, there is no other display nothing else is connected with my laptop, why it chose :1 , ...
-1
votes
3
answers
50
views
ext4 filesystem on RHEL 7
I have a RHEL 7 ext4 type filesystem and because of the lack of funding and no backups available I am trying to see if I can import ext4 filesystem from RHEL 7 into RHEL 8.
I have a RHEL 7 with 2 ...
0
votes
1
answer
80
views
diagnosing chronyc sources unusable - time won't sync
Trying to get chrony working on a LAN, in RHEL-8.10. The service on either my chrony server or a client appears to be functional as reported by a service chronyd status -l. However I cannot get time ...
-1
votes
1
answer
35
views
Debian update-alternatives vs Red Hat alternatives
Since CentOS 7 is at its EOL, I am trying to migrate to Ubuntu. Many of our setups involve alternatives to be configured. In Ubuntu, there is no alternatives command but there is an update-...
6
votes
1
answer
485
views
How can I confirm for sure that a CVE has been mitigated on a RHEL system?
I have this problem, I'm trying to see if a group of servers are vulnerable to the CVE CVE-2024-1086 so what I do in the server is rpm -qa --changelog kernel | grep 2024-1086, and I get this as output:...
1
vote
0
answers
15
views
Generating an ISO image with genisoimage but it's not perserving the ownership?
Generating an ISO image with genisoimage but it's not perserving the ownership, I am using the following command genisoimage -r -v -o <image-name.iso> -R -J <path_to_the_directory>, but it ...
0
votes
0
answers
21
views
Using Linux server as a gateway for specific addresses in internal network
I have a RHEL 9 server which has IP addresses as 172.10.0.10 and 172.30.1.10, which is connected to two separate switches with two separate network interfaces.
This server runs a virtual machine, ...
0
votes
1
answer
40
views
What is the difference between Red Hat SysV and Unix System V?
Prior to RHEL 7, their distributions were built on SysV, a manager that looks much like the legacy System V (init.d, rc, runlevels...).
They changed it to systemd from RHEL 7.
But what is the real ...
0
votes
0
answers
12
views
Change location of user defined odbc
BY default "USER DATA SOURCES" must be $HOME/.odbc.ini, But in a newly built RHEL8 server is showing the below result. Is its possible to update the "USER DATA SOURCES" location as ...
-2
votes
0
answers
31
views
Having A Kickstart File prompt for Network Information in RHEL 9
How do I go about having RHEL ask you for the network and hostname information now that bootproto=query and asknetwork have been sunset?
0
votes
0
answers
57
views
How do I create an SElinux policy to allow php-fpm to execute optipng?
I am running Wordpress in Rocky Linux 9 and need optipng for some image transformation tasks, but it is being blocked:
SELinux is preventing /usr/sbin/php-fpm from execute access on the file optipng.
...
3
votes
2
answers
260
views
giving variables a default value in a spec file
I have a spec (myspecfile.spec) file that looks similar to
Name: package-%{myname}
Version: %{myversion}
Release: %{myrelease}
License: gpl2
Summary: this is my package
BuildArch: noarch
%...
0
votes
2
answers
77
views
RHEL 9 nmcli how to change permanently ethtool settings?
[root@101 system-connections]# nmcli c modify enp2s0f0 ethtool.tx-checksumming off
Error: invalid property 'tx-checksumming': 'tx-checksumming' not among [feature-esp-hw-offload, feature-esp-tx-csum-...
0
votes
0
answers
44
views
How to use a Red Hat Enterprise Linux (RHEL) Yum repository server on CentOS
I have created a yum repository server on RHEL. That server work on RHEL client machine. I want use this server on CentOS client machine. I have create a repo file under the /etc/yum.repos.d/x when i ...
2
votes
1
answer
38
views
Increase root space in RHEL
I have a VM (RHEL, in vSphere), that is running out of space in /dev/mapper/rhel-root. Wich one should be the easiest approach against this problem? I added 10GB to the virtual HardDisk of the VM and ...
0
votes
1
answer
36
views
RedHat Quay does not start on RHEL 9.4
I'm not super deep on troubleshooting yet, but I have fired up a brand new install of RHEL 9.4 minimal just to run RedHat Quay. I followed the instructions exactly as listed here, but when I run the ...
2
votes
1
answer
130
views
Configuring sshd directly instead of using "security policy" on RHEL 8
RHEL 8 overrides some sshd settings, so no matter what it has been set in /etc/ssh/sshd_config, the options listed in /etc/crypto-policies/back-ends/opensshserver.config takes precedence.
From my ...
0
votes
0
answers
18
views
act_connmark kernel module in RHEL
act_connmark kernel module is used by tc ... action connmark.
For some reason, I cannot find this module in RHEL, but it's available in Centos and Ubuntu.
yum -y install kernel-modules-extra installs ...
0
votes
1
answer
64
views
How can I get the list of available desktop environments?
Suppose I'm on a Linux machine, in a shell session, and I want to obtain the list of options I would have if I logged in graphically and had to choose a desktop environment / session type. I expect a ...
0
votes
0
answers
119
views
CentOS 9 / AlmaLinux 9 / Rocky Linux 9 and xtables-addons: xt_geoip missing kernel module
I'm trying to get working xt_geoip extension on RHEL 9 compatible OSes. I've installed xtables-addons from rpmfusion repo and the xt_geoip extension was working for a while, but after OS ...
0
votes
1
answer
61
views
sudo passwordless in ssh session not working
In RHEL7, I have the same local users on all machines within my cloud tenancy. That local user is configured in sudoers to be able to:
run all commands,
run sudo commands without password
EDIT: ssh ...
0
votes
0
answers
42
views
RHEL 9: black screen after login (ASMB11-iKVM)
Fresh install of RHEL9, once logged in, I get a black screen for Gnome Classic using X11 and Wayland.
Using ASMB11-iKVM BMC. No issue with anything else.
What can I do to debug that?
0
votes
0
answers
179
views
Autofs - setautomntent: lookup(sss): setautomountent: entry for map auto_master not found
I am trying to set up my NFS system between my server node and my client node running on rhel9. They are both on different physical servers on the same network. The nfs-server daemon is properly ...