Questions tagged [redhat]

For issues relating to Red Hat platforms, products, and/or services.

Red Hat, Inc. is a company in the free and open source software sector, and a major Linux distribution vendor. Red Hat has become associated to a large extent with its enterprise operating system Red Hat Enterprise Linux () and with the acquisition of open-source enterprise middleware vendor . Red Hat provides operating-system platforms along with middleware, applications, and management products, as well as support, training, and consulting services.

For questions on a specific Red Hat products, consider using the tag for that product.

Community

Red Hat was acquired by IBM in July 2019.

3924 questions
9
votes
1 answer

linux RSS from ps RES from TOP

Linux : RedHat/Fedora What is the difference between these memory values: RES from top command RSS from ps command
user1802501
  • 99
  • 1
  • 2
9
votes
2 answers

Detect host operating system distro in chef-solo deploy bash script

When deploying a chef-solo setup you need to switch between using sudo or not eg: bash install.sh and sudo bash install.sh Depending on the distro on the host server. How can this be automated?
offwhite
  • 552
  • 1
  • 4
  • 9
9
votes
4 answers

Vagrant and Red Hat Enterprise Licensing

Our team is starting to use Vagrant for development on Mac OS X machines so we can better simulate our Red Hat Enterprise Linux production environment. Our operations group says our Red Hat License only covers instances being run on our VMWare…
mitalia
  • 503
  • 4
  • 10
9
votes
1 answer

Django virtual host setup. Apache mod_wsgi

I am hoping there is a simple answer to my question as I am not the most experienced with python and Apache. I am trying to hook up Apache with mod_wsgi. I have used a virtual host to do so. see below: ServerAdmin…
Mat A
  • 141
  • 2
  • 2
  • 10
8
votes
2 answers

Is there any easy way to convert (CRD) CustomResourceDefinition to json schema?

Developing CRDs for Kubernetes, using VScode as an IDE. Want to provide autocompletion and Intellisense in IDE. It needs a JSON schema to do so. I have a huge number of CRDs to support. I want to do it in an easy way to convert CRDs to JSON schema.
venkat7668
  • 2,657
  • 1
  • 22
  • 26
8
votes
1 answer

RHEL8.5 shell "BASH_FUNC_which%%" environment variable causes K8S pods to fail

Problem After moving to RHEL 8.5 from 8.4, started having the issue of K8S pods failure. spec.template.spec.containers[0].env[52].name: Invalid value: "BASH_FUNC_which%%": a valid environment variable name must consist of alphabetic characters,…
mon
  • 18,789
  • 22
  • 112
  • 205
8
votes
2 answers

Keycloak Docker image basic unix commands not available

I have setup my Keycloak identification server by running a .yml file that uses the docker image jboss/keycloak:9.0.0. Now I want get inside the container and modify some files in order to make some testing. Unfortunately, after I got inside the…
NickAth
  • 1,089
  • 1
  • 14
  • 35
8
votes
1 answer

microdnf update command installs new packages instead of just updating existing packages

My Dockerfile uses base image registry.access.redhat.com/ubi8/ubi-minimal which has microdnf package manager. When I include following snippet in docker file to have latest updates on existing packages, RUN true \ && microdnf clean all \ &&…
JRomio
  • 2,407
  • 3
  • 26
  • 27
8
votes
4 answers

detect key press in python, where each iteration can take more than a couple of seconds?

Edit: The below answer to use keyboard.on_press(callback, suppress=False) works fine in ubuntu without any issues. But in Redhat/Amazon linux, it fails to work. I have used the code snippet from this thread import keyboard # using module…
Naren Babu R
  • 453
  • 2
  • 9
  • 33
8
votes
1 answer

CA Cert are only added at ca-bundle-trust.crt

Env: Red Hat Enterprise Linux Server release 7.7 (Maipo) # openssl version OpenSSL 1.0.2g 1 Mar 2016 so a self-sign cert is generated using OpenSSL and the cacert.pem is put under /etc/pki/ca-trust/source/anchors/. Now according to the man from…
Zeta
  • 534
  • 6
  • 17
8
votes
1 answer

How to get systemd variables to survive a reboot?

I have a product provided by a third party vendor. It includes many services for which they provide initd style startup scripts. There is one script for each service provided. These scripts reference variables like JAVA_HOME, THE_PRODUCT_HOME and so…
GMc
  • 1,764
  • 1
  • 8
  • 26
8
votes
0 answers

Is there a specification for the YUM metadata?

I'm trying to find a trusted point of truth for the following yum metadata files: primary.xml.gz filelists.xml.gz other.xml.gz repomd.gz groups.xml.gz I've been looking around the Internet, but I haven't found a definitive reference, or guide. Is…
carlspring
  • 31,231
  • 29
  • 115
  • 197
8
votes
1 answer

How to get the details of the user deleted in keycloak using AdminEvent

i have below code that gets executed when an admin is creating or deleting a user in the keycloak UI. Through the help of the adminEvent: http://www.keycloak.org/docs/3.0/server_admin/topics/events/admin.html Creating a user returns the user details…
LogronJ
  • 561
  • 2
  • 4
  • 24
8
votes
3 answers

Installing Mercurial on Redhat Linux

Will Mercurial work on Redhat Linux? I tried, yum install mercurial, with no success. I tried downloading a tar ball from Mercurial site but it failed when I tried to install. Does Mercurial work at all on Redhat?
smuggledPancakes
  • 9,881
  • 20
  • 74
  • 113
8
votes
1 answer

.bashrc not read when shell script is invoked from desktop shortcut

I have a simple problem understanding a behavior in linux. In short, on linux if i invoke my sh script from a 'Desktop Shortcut' then the script cannot see the latest environment variables (set in bashrc). So i was wondering that in what scope is…
Abhishek
  • 243
  • 5
  • 11