-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.4
-
None
-
insights-client-3.2.8-1.el9
-
No
-
Low
-
rhel-sst-csi-client-tools
-
26
-
None
-
False
-
-
None
-
None
-
Pass
-
None
-
x86_64
-
None
What were you trying to do that didn't work?
disable Red Hat insight MOTD according to:
$ man insights-client
...
MOTD
A message will be displayed on login about insights-client if installed but has not
yet been used at least once. To change or remove this message, edit the /etc/in‐
sights-client/insights-client.motd file.
...
Please provide the package NVR for which bug is seen:
insights-client-3.2.2-2.el9.noarch
How reproducible: 100%
Steps to reproduce
- ssh SERVER # which does not use Red Hat Insights; # Red Hat Insights MOTD is shown
- echo -n "" > /etc/insights-client/insights-client.motd
- exit ; ssh SERVER # works, but only until update or reinstall of package
- `dnf update insights-client` and `dnf reinstall insights-client`
- exit ; ssh $SERVER
Expected results
no MOTD when solution from man page is applied
Actual results
Red Hat Insights MOTD printed again:
Register this system with Red Hat Insights: insights-client --register
Create an account or view all your systems at https://red.ht/insights-dashboard
WORKAROUND
Solution on RHEL9 is for me (seems like that is what `insights-client --register` (or some such) does too):
$ sudo ln -sf /dev/null /etc/motd.d/insights-client
I did not test RHEL8.
This is the first time I am using issue.redhat.com.
- links to
-
RHBA-2024:130906 insights-client bug fix and enhancement update