On 01.03.2015 21:46, Jared Sutton wrote:
I'm almost ready to upload a usable package based on 0.40 to my
PPA
repository, however, I'm getting the following error when trying to
start cockpit...
root@utopic-build:~/cockpit-0.40# systemctl status cockpit -l
cockpit.service - Cockpit Web Server
Loaded: loaded (/lib/systemd/system/cockpit.service; static)
Active: failed (Result: exit-code) since Sun 2015-03-01 15:32:32
EST; 10min ago
Docs: man:cockpit-ws(8)
Process: 21647 ExecStartPre=/usr/sbin/remotectl certificate
--ensure --user=root --group= (code=exited, status=1/FAILURE)
Mar 01 15:32:31 utopic-build remotectl[21647]: Generating temporary
certificate using: openssl req -x509 -days 36500 -newkey rsa:2048
-keyout /etc/cockpit/ws-certs.d/~self-signed.MRC1UX.tmp -keyform PEM
-nodes -out /etc/cockpit/ws-certs.d/~self-signed.HQC1UX.tmp -outform
PEM -subj /CN=localhost.localdomain
Mar 01 15:32:32 utopic-build remotectl[21647]: remotectl:
/etc/cockpit/ws-certs.d/~self-signed.cert: *TLS support is not
available*
Mar 01 15:32:32 utopic-build systemd[1]: cockpit.service: control
process exited, code=exited status=1
Mar 01 15:32:32 utopic-build systemd[1]: Failed to start Cockpit Web
Server.
Mar 01 15:32:32 utopic-build systemd[1]: Unit cockpit.service
entered failed state.
I've verified that TLS support is enabled during the configure phase
while building the package, and it's not giving me any pointers as to
/why/ TLS support isn't available. Any ideas?
You probably need to add a dependency on glib-networking. This is a
module that adds TLS support to the GLib library.
Stef