FS#73597 - cockpit package missing ccsg dependency

Attached to Project: Community Packages
Opened by Richard PALO (risto3) - Wednesday, 02 February 2022, 18:28 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Thursday, 03 February 2022, 22:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

installed cockpit according to wiki on my current x86_64 server.
tried logging in to the webpage, but my account wouldn't work.
looked at cockpit logs to see:

févr. 02 18:39:01 cockpit-certificate-ensure[95556]: /usr/lib/cockpit/cockpit-certificate-helper: line 32: sscg: command not found
févr. 02 18:39:01 cockpit-certificate-ensure[95558]: Generating a RSA private key
févr. 02 18:39:01 cockpit-certificate-ensure[95558]: .......................................................+++++
févr. 02 18:39:01 cockpit-certificate-ensure[95558]: ..........................................................................................+++++
févr. 02 18:39:01 cockpit-certificate-ensure[95558]: writing new private key to '0-self-signed.key'
févr. 02 18:39:01 cockpit-certificate-ensure[95558]: -----
févr. 02 18:39:01 systemd[1]: Started Cockpit Web Service.

installed sscg, restarted cockpit bits and all was hunky dory.

This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Thursday, 03 February 2022, 22:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  cockpit-262-1
Comment by Massimiliano Torromeo (mtorromeo) - Thursday, 03 February 2022, 22:16 GMT
I added sscg as an optional dependency in cockpit-262-1.

This replicates what the official packages are doing. The script shows this line "selfsign_sscg || selfsign_openssl" which makes it prefer sscg if it's installed and fallback to using openssl which is required as a dependency.

The "sscg: command not found" is to be expected in the latter case.

Loading...