Red Hat docker images

The problem So you are trying to use RedHat official docker images, also called UBI for Universal Base Images in your CI/CD and try to install some packages. Sometimes it works: $ docker run -it --rm redhat/ubi9:latest [root@6afe7431c74f /]# dnf install nginx Updating Subscription Management repositories. Unable to read consumer identity Subscription Manager is operating in container mode. This system is not registered with an entitlement server. You can use subscription-manager to register....

<span title='2022-08-07 00:00:01 +0000 UTC'>August 7, 2022</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;JC

How to install packages on Red Hat

The problem Hey ! You have just installed a new Red Hat OS and you would like to start to play with but you are stuck with packages installation: $ sudo dnf install nginx Last metadata expiration check: 0:00:10 ago on Thu 23 Jun 2022 08:08:59 AM UTC. No match for argument: nginx Error: Unable to find a match: nginx $ sudo dnf install mariadb Last metadata expiration check: 0:00:26 ago on Thu 23 Jun 2022 08:08:59 AM UTC....

<span title='2022-06-23 00:00:00 +0000 UTC'>June 23, 2022</span>&nbsp;·&nbsp;3 min&nbsp;·&nbsp;JC

How to disable CPU mitigations (Danger zone)

CPU vulnerabilities and mitigations Yesterday, a co-worker pointed out to me than lscpu reported CPU vulnerabilities. $ lscpu (...) Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled Vulnerability Mds: Mitigation; Clear CPU buffers; SMT Host state unknown Vulnerability Meltdown: Mitigation; PTI Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling Vulnerability Srbds: Unknown: Dependent on hypervisor status Vulnerability Tsx async abort: Not affected No problem, all these vulnerabilities are mitigated by my Linux kernel....

<span title='2022-02-23 00:00:00 +0000 UTC'>February 23, 2022</span>&nbsp;·&nbsp;3 min&nbsp;·&nbsp;JC

Linux : Changer la disposition du clavier

Depuis l’interface graphique Si vous êtes logué sous X (Gnome, KDE, etc.), vous pouvez changer le mapping du clavier avec setxkbmap. Par exemple : Pour un clavier fr : setxkbmap fr Pour un clavier us : setxkbmap us Depuis la console En console, la comande setxkbmap ne fonctionne pas, il faut utiliser à la place loadkeys comme suit : loadkeys /emplacement/du/codage/clavier Pour connaitre l’emplacement du codage clavier à charger, il faut regarder dans le manuel :...

<span title='2010-07-21 13:49:57 +0000 UTC'>July 21, 2010</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;JC