Devuan bug report logs - #340
quassel-core: no permission to open certificate file, cannot write quasselcore configuration

version graph

Package: quassel-core; Maintainer for quassel-core is (unknown); Source for quassel-core is src:quassel.

Reported by: Martin <Martin@Lichtvoll.de>

Date: Mon, 8 Jul 2019 20:03:01 UTC

Severity: normal

Tags: debian

Fixed in versions 1:0.13.1-1+deb10u2, 1:0.13.1-2, 1:0.13.1-1+deb10u1

Done: Mark Hindley <mark@hindley.org.uk>

Forwarded to https://bugs.debian.org/940482

Full log


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 8 Jul 2019 20:00:01 +0000
Return-Path: <Martin@Lichtvoll.de>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Mon, 08 Jul 2019 22:00:01 +0200 (CEST)
Received: from mail.lichtvoll.de (mondschein.lichtvoll.de [194.150.191.11])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 1F6D1F6090C
	for <submit@bugs.devuan.org>; Mon,  8 Jul 2019 21:56:12 +0200 (CEST)
Received: by mail.lichtvoll.de (Postfix, from userid 1000)
	id 223744BECD; Mon,  8 Jul 2019 21:56:11 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Martin <Martin@Lichtvoll.de>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: quassel-core: no permission to open certificate file, cannot write quasselcore configuration
Message-ID: <156261577108.4742.9475292605250109997.reportbug@luna.lichtvoll.de>
X-Mailer: reportbug 7.5.1+devuan1
Date: Mon, 08 Jul 2019 21:56:11 +0200
X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Package: quassel-core
Version: 1:0.13.1-1
Severity: important

I am using Quasselcore on Devuan. I just upgraded from Devuan Ascii
(based on Debian Stretch) to Devuan Beowulf (based on Debian Buster).

After rebooting into the 4.19.0-5 kernel with apparmor installed I got
the following in /var/log/quassel/core.log:

2019-07-08 21:41:15 [Warn ] SslServer: Failed to open certificate file /var/lib/quassel/quasselCert.pem error: 5
2019-07-08 21:41:15 [Warn ] SslServer: Unable to set certificate file
           Quassel Core will still work, but cannot provide SSL for client connections.
           Please see https://quassel-irc.org/faq/cert to learn how to enable SSL support.
2019-07-08 21:41:15 [Warn ] SslServer: Failed to open certificate file /var/lib/quassel/quasselCert.pem error: 5
2019-07-08 21:41:15 [Warn ] PostgreSQL driver plugin not available for Qt. Installed drivers: QSQLITE
2019-07-08 21:41:15 [Warn ] No storage backend selected!
2019-07-08 21:41:15 [Error] Cannot write quasselcore configuration; probably a permission problem.


After using 'aa-disable quasselcore', it works:

2019-07-08 21:44:58 [Warn ] PostgreSQL driver plugin not available for Qt. Installed drivers: QSQLITE
2019-07-08 21:44:58 [Info ] SQLite storage backend is ready. Schema version: 31
2019-07-08 21:44:58 [Info ] Database authenticator is ready.
2019-07-08 21:44:58 [Info ] Listening for GUI clients on IPv6 :: port 4242 using protocol version 10
2019-07-08 21:44:58 [Info ] Listening for GUI clients on IPv4 0.0.0.0 port 4242 using protocol version 10
2019-07-08 21:44:58 [Info ] Restoring previous core state...
2019-07-08 21:44:59 [Warn ] Type conversion already registered from type QSharedPointer<QNetworkSession> to type QObject*
2019-07-08 21:44:59 [Warn ] Could not connect to Debian (The remote host closed the connection)
2019-07-08 21:44:59 [Warn ] Could not connect to Debian (The remote host closed the connection)


AFAIK the packages for the kernel, AppArmor and Quassel Core are just
taken verbatim from Debian. So unless the issue is related to using
SysVInit instead of Systemd I see no connection to Devuan. The
'quassel-core' package does seem to contain both a systemd
service and an init script.

Thus I believe it may make sense to forward this issue to the Debian
bugtracker.

Thanks,
Martin 


-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux beowulf/ceres
Release:	10
Codename:	n/a
Architecture: x86_64

Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages quassel-core depends on:
ii  adduser            3.118
ii  libc6              2.28-10
ii  libgcc1            1:8.3.0-6
ii  libqca-qt5-2       2.1.3-2
ii  libqt5core5a       5.11.3+dfsg1-1
ii  libqt5network5     5.11.3+dfsg1-1
ii  libqt5script5      5.11.3+dfsg-3
ii  libqt5sql5         5.11.3+dfsg1-1
ii  libqt5sql5-sqlite  5.11.3+dfsg1-1
ii  libstdc++6         8.3.0-6
ii  lsb-base           10.2019051400
ii  openssl            1.1.1c-1
ii  zlib1g             1:1.2.11.dfsg-1

quassel-core recommends no packages.

Versions of packages quassel-core suggests:
pn  libqt5sql5-psql  <none>

-- no debconf information


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 17:40:39 2024;