Questions tagged [rhel]
Red Hat Enterprise Linux (RHEL) is a commercially supported Linux distribution.
4,120
questions
0
votes
0
answers
2
views
GNOME apps not launching
My GNOME apps (e.g. nautilus, gedit, etc) are not working. When I click an application icon (or use ALT-F2 or a terminal to launch), the app name appears in the panel with the loading spinner, but ...
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
180
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 ...
-1
votes
1
answer
49
views
Kickstart File Not Used During RHEL 6.9 Installation on UEFI System
Question:
I followed the Red Hat documentation to create a Kickstart (ks) file located in the root directory of the installation image. The documentation I referred to is: Red Hat Installation Guide. ...
0
votes
0
answers
45
views
Linux Redhat9: kernel warnings: user: probe of wq1.0 failed with error -95
I have linux Redhat 9 on intel x64 machine and I see following warnings during boot in dmesg:
user: probe of wq1.0 failed with error -95
user: probe of wq1.1 failed with error -95
user: probe of wq1....
0
votes
1
answer
24
views
Unable to install autofs on rhel9
When I try sudo dnf install autofs, I get this error:
[MIRROR] autofs-5.1.7-58.el9.x86_64.rpm: Status code: 403 for https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os/Packages/a/autofs-5.1.7-...
0
votes
0
answers
21
views
Can't run php page in RedHat satellite
i'm using RedHat satellite 6.15 in RHEL 8. We want to add some php web page like dokuwiki/racktable there. But i have problem that if i install php and put php files in /var/www/html/pub/ directory, I ...
1
vote
1
answer
27
views
Boot error / data corruption Redhat 7.9
After rebooting a Redhat 7.9 system, I am faced with data corruption on first partition (dev/sda1)
The System is a VM and last shutdown was graceful from within the OS, no power off, hard stop etc.
...
0
votes
1
answer
82
views
Not booting after converting Virtualbox disk to Hyper-V
I have a RHEL 8 VM image that I have converted from Virtual Box to Hyper-V but it fails to start (works in VB but not in Hyper-V).
Timed out waiting for device dev-di...97\x2d9636\x2dc104a96af2a5....
0
votes
0
answers
68
views
Running find on NFS mount much slower on RHEL8 vs RHEl7
I'm in the process of replacing some RHEL7 NFS server/client systems with RHEL8 systems, performing the same functions.
On the RHEL8 NFS client, I noticed running a find command on the NFS mount, is ...
0
votes
0
answers
27
views
How to fix a grainy font on RedHat Linux 8?
The fonts on my machine look grainy and pixelated. I have the default settings for RHEL 8, with the Window Title/Document/Interface Fonts all set to Cantarell Bold with size 13.
I've tried changing ...
-1
votes
1
answer
426
views
RHEL upgrade from RHEL 7 to RHEL 8 by using ISO + upgrade an offline
We are working on Linux RHEL 7.9 ( VM machines ) in order to upgrade RHEL version to 8.6
We are using the ISO file - rhel-8.6-x86_64-dvd.iso since RHEL7.9 machines has no direct connection to the ...
0
votes
1
answer
69
views
geoclue redhat selinux annoyance
on a clean install of RHEL-8.9 from iso, with selinux in its default state of enforcing, geoclue shows up via sealert -a /var/log/audit/audit.log
SELinux is preventing /usr/libexec/geoclue from search ...
0
votes
1
answer
251
views
"no such user" - LDAP authentication with sssd
I am struggling with making sssd use LDAP users to login on my Linux-Server (Oracle Linux 8.9, basically identical to RHEL, but free).
Goal
Using the users (e.g. "John") existing on the LDAP-...
1
vote
1
answer
49
views
Is there a reason why sar would show different monitoring statistics on memory than other monitoring tools like dynatrace?
I'm currently investigating why I didn't get notified about a high memory utilization on one RHEL server from dynatrace. When checking the graphs of memory usage, both sar and dynatrace show different ...
0
votes
0
answers
115
views
Rocky Linux Emergency Mode in KVMachine does not start
I have "inherited" a virtual server at German hoster STRATO with Rocky Linux 8, but no root password. I wanted to change this as usual, so in grub I entered
rd.break enforcing=0
Enter rd....
0
votes
1
answer
43
views
Passwordless Authentication for Ansible
I have installed ansible and created new users for controller and remote hosts. Have set up the below steps, but getting error, can anyone suggest ??
Entered user using visudo, for both controller ...
1
vote
1
answer
48
views
What tools are available to obtain SSL certs from a CA for an isolated/airgapped system?
In the past, I have been able to leave the peculiarities of SSL certs to others, an mostly depend on self-signed certificates. That day has come to a close.
I need to step up and configure a secured ...
0
votes
2
answers
39
views
Delete certain files from specific date in linux [duplicate]
I need a command how I can delete files from a folder with specific date.
Like I want to delete files before 20 April from a folder on /home/FTP and file types are mp4.
0
votes
0
answers
44
views
RHEL 7.2 + is it possible to resize partition sda2 when parted not support resizepart
we have old RHEL machines with version 7.2 ( RHEL 7.2 )
this machines has old parted version that not support resizepart
so for example we can't use this syntax in order to resize sda partiton
parted /...
2
votes
1
answer
595
views
Configure SSHD via Red Hat crypto-policy
I am using Rocky Linux 8 and 9 and they use the crypto-policy framework from Red Hat. Now I want to adjust some settings in the policy to forbid sshd to use some specific algorithms. But I can not ...
0
votes
0
answers
17
views
Custom package security metadata (RPM)
I'm extremely new to packaging RPM's. I have an internal yum repository that I have RPM's for internal SSL certificates, but a few other programs/utilities that are simple enough to package that I can'...