vmware / vmware/photon

Request VMware Make/Support package Cockpit from the Cockpit-project

Open
#1,380 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
3.2k
Forks
692
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.

Requesting VMware make and support the cockpit project with Photon OS. This is needed so that users can turn the Photon OS into an appliance. This will allow end users then to login to a web interface and make simple changes to the OS like IP Address, NTP, log servers, etc. .

Describe the solution you'd like

make the package available
tdnf install -y cockpit

Describe alternatives you've considered

You can manually make the cockpit packages from the cockpit github repo today.

Prep for cockpit

tdnf install -y json-glib json-glib-devel gnutls-devel xmlto krb5 krb5-devel polkit polkit-devel libssh libssh-devel Linux-PAM Linux-PAM-devel build-essential git libxml2 libxml2-devel e2fsprogs-devel nodejs

Clone cockpit

git clone https://github.com/cockpit-project/cockpit.git

cd cockpit/

Build cockpit

./autogen.sh --prefix=/usr --enable-debug --disable-pcp

Make cockpit

make #errors in make, make -t fixes issue.
make -t
make

Install cockpit

make install

Open firewall port

sudo iptables -I INPUT -p tcp -m tcp --dport 9090 -j ACCEPT
sudo iptables-save > /etc/systemd/scripts/ip4save

Set TLS Defaults to 1.2 and use secure256 (disable tls 1.1)

echo 'SYSTEM=NONE:!VERS-SSL3.0:!VERS-TLS1.0:-VERS-TLS-ALL:!VERS-TLS1.1:+VERS-TLS1.2:+VERS-TLS1.3:+SECURE256:+AES-128-CCM-8:+AES-128-CBC:+RSA:+SHA1:+COMP-NULL' > /etc/gnutls/default-priorities

Enable Cockpit socket

sudo systemctl enable --now cockpit.socket

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the listed Photon OS preparation and build commands, including tdnf install -y cockpit and the cockpit repository build steps. Check how Photon OS packages are defined and tested, then verify that cockpit can be installed through tdnf and enabled with cockpit.socket as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, linux, nodejs
Domain
build-system, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.