Is there a way to permanently remove the cockpit.socket message?

Issues related to applications and software problems and general support
Post Reply
AkosPrime
Posts: 30
Joined: 2006/01/07 17:51:29

Is there a way to permanently remove the cockpit.socket message?

Post by AkosPrime » 2019/10/29 12:42:24

I've removed the /etc/issue.d/cockpit.issue symlink. I've even removed what it points towards (/run/cockpit/motd). But this only works until the system is rebooted. Does anyone know a way to permanently stop this from being placed in the /etc/issue.d on every reboot?

User avatar
TrevorH
Forum Moderator
Posts: 27127
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Is there a way to permanently remove the cockpit.socket message?

Post by TrevorH » 2019/10/29 13:13:02

Code: Select all

# dnf provides /usr/lib/systemd/system/cockpit.socket
Last metadata expiration check: 0:05:39 ago on Tue Oct 29 13:06:14 2019.
cockpit-ws-185.1-1.el8_0.x86_64 : Cockpit Web Service
Repo        : BaseOS
Matched from:
Filename    : /usr/lib/systemd/system/cockpit.socket
# repoquery -l cockpit-ws-185.1-1.el8_0.x86_64 | grep tmpfiles
Last metadata expiration check: 0:06:27 ago on Tue Oct 29 13:06:14 2019.
/usr/lib/tmpfiles.d/cockpit-tempfiles.conf
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

simpfeld
Posts: 25
Joined: 2008/07/11 17:51:50

Re: Is there a way to permanently remove the cockpit.socket message?

Post by simpfeld » 2019/11/27 14:24:03

I think I have managed to stop this annoying message:

I removed the/etc/issue.d/cockpit.issue and /etc/motd.d/cockpit.issue symlinks and also had to mask the cockpit-motd service:
systemctl mask cockpit-motd

Post Reply

Return to “CentOS 8 - General Support”