Devuan bug report logs - #848
Pd: Problems starting kea-dhcp4-server

Package: kea-dhcp4-server; Reported by: Jerzy Sobczyk <[email protected]>; Keywords: debian; Done: Mark Hindley <[email protected]>; Maintainer for kea-dhcp4-server is (unknown).

Message received at [email protected]:


Received: (at 848-done) by bugs.devuan.org; 27 Apr 2024 15:07:33 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sat, 27 Apr 2024 15:07:33 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id GMTiLnYULWYDYAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sat, 27 Apr 2024 15:06:30 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 93DB7733; Sat, 27 Apr 2024 15:06:30 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 40450490
	for <[email protected]>; Sat, 27 Apr 2024 15:06:24 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 0FDA293
	for <[email protected]>; Sat, 27 Apr 2024 16:06:24 +0100 (BST)
Received: (nullmailer pid 5964 invoked by uid 1000);
	Sat, 27 Apr 2024 15:06:23 -0000
Date: Sat, 27 Apr 2024 16:06:23 +0100
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: Fixed in Debian #1055438
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks

Version: 2.4.1-3

Notification sent to Jerzy Sobczyk <[email protected]>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <[email protected]>:
You have taken responsibility. Full text available.
Set bug forwarded-to-address to 'https://bugs.debian.org/1055438'. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 848) by bugs.devuan.org; 27 Apr 2024 08:40:39 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sat, 27 Apr 2024 08:40:39 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id L785Nei5LGbiTgAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sat, 27 Apr 2024 08:40:08 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id A3C70671; Sat, 27 Apr 2024 08:40:08 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id EF8F1173
	for <[email protected]>; Sat, 27 Apr 2024 08:40:07 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 3B2DB93;
	Sat, 27 Apr 2024 09:40:07 +0100 (BST)
Received: (nullmailer pid 6566 invoked by uid 1000);
	Sat, 27 Apr 2024 08:40:07 -0000
Date: Sat, 27 Apr 2024 09:40:07 +0100
From: Mark Hindley <[email protected]>
To: [email protected]
Cc: Jerzy Sobczyk <[email protected]>
Subject: Re: bug#848: Problems starting kea-dhcp4-server
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks

Control: forwarded -1 https://bugs.debian.org/1055438

On Sat, Apr 27, 2024 at 09:36:24AM +0100, Mark Hindley wrote:
> On Sat, Apr 27, 2024 at 09:46:21AM +0200, Lorenzo wrote:
> > they need to be created inside the initscript with install or
> > mkdir+chown, and they need to be removed in postrm script at purge.
> 
> Quite.

And now I look, the initscript has been reported and fixed in Debian[1].

Mark

[1]  https://bugs.debian.org/1055438


Information forwarded to [email protected], [email protected]:
bug#848; Package kea-dhcp4-server. Full text available.

Message received at [email protected]:


Received: (at 848) by bugs.devuan.org; 27 Apr 2024 08:37:38 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sat, 27 Apr 2024 08:37:38 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id U1RDMg+5LGaRTgAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sat, 27 Apr 2024 08:36:31 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id A1ED1671; Sat, 27 Apr 2024 08:36:31 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 53DC5173
	for <[email protected]>; Sat, 27 Apr 2024 08:36:25 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id CA99B93;
	Sat, 27 Apr 2024 09:36:24 +0100 (BST)
Received: (nullmailer pid 5605 invoked by uid 1000);
	Sat, 27 Apr 2024 08:36:24 -0000
Date: Sat, 27 Apr 2024 09:36:24 +0100
From: Mark Hindley <[email protected]>
To: [email protected]
Cc: Jerzy Sobczyk <[email protected]>, Lorenzo <[email protected]>
Subject: Re: bug#848: Problems starting kea-dhcp4-server
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>

On Sat, Apr 27, 2024 at 09:46:21AM +0200, Lorenzo wrote:
> they need to be created inside the initscript with install or
> mkdir+chown, and they need to be removed in postrm script at purge.

Quite.

> Not sure about the apparmor profile.

There seems to be a Debian bug about that already:
https://bugs.debian.org/1032495

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#848; Package kea-dhcp4-server. Full text available.

Message received at [email protected]:


Received: (at 848) by bugs.devuan.org; 27 Apr 2024 07:46:40 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sat, 27 Apr 2024 07:46:40 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id RJKgC1KtLGaHSwAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sat, 27 Apr 2024 07:46:26 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 14457738; Sat, 27 Apr 2024 07:46:26 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; secure) header.d=disroot.org [email protected] header.a=rsa-sha256 header.s=mail header.b=bD2FxZUS;
	dkim-atps=neutral
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham
	autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=178.21.23.139; helo=layka.disroot.org; [email protected]; receiver=<UNKNOWN> 
Received: from layka.disroot.org (layka.disroot.org [178.21.23.139])
	by email.devuan.org (Postfix) with ESMTPS id 7B2F0173
	for <[email protected]>; Sat, 27 Apr 2024 07:46:21 +0000 (UTC)
X-Virus-Scanned: SPAM Filter at disroot.org
Date: Sat, 27 Apr 2024 09:46:21 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
	t=1714203979; bh=1pIT6SEMNaCEJXkpEZ2AcULuGgAg2t+4oo13QRbbV8s=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=bD2FxZUSdNIylFiOrSTdw8kvgF1nzZ+WSW6OTI1v5+HMXLcDyr/3gGN2eqg5W2ZE/
	 yGD2QOvGpLdkA5ln/7LG/JGA/jOs35G6GQXrLfiuMA6XZme7r9HnoPUEOulC1mO8G+
	 VwFDtQXirXzB0kgf0GSPMXbKckrLxZwsyr2EaOs+tAjXGKJDyDXklliYtrTRJ+jqZV
	 SpoBlTqj93rtKGFgy8lUvMO8w/I6flnWpEaKqMCrXegXVBAatxAWmwWHlsQw1P32ge
	 5bHPjumaBWs+RVzmHSQxdMEWEx+UrBcznzprjm8wwmUjFTaQnC4OUUr6DjC+NG2vQ2
	 cG334TLC8utBQ==
From: Lorenzo <[email protected]>
To: [email protected]
Cc: devuan developers internal list <[email protected]>
Subject: Re: [devuan-dev] bug#848: Odp: bug#848: Pd: Problems starting
 kea-dhcp4-server
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

On Sat, 27 Apr 2024 07:28:13 +0100
Mark Hindley <[email protected]> wrote:

> On Fri, Apr 26, 2024 at 10:53:07PM +0200, Jerzy Sobczyk wrote:
> > I will try. But all this problems result from the fact that kea
> > depends on systemd. So Debian maintainers can "solve" the problem
> > by explicitly stating this dependency. ...if you want kea you must
> > use systemd.

It doesn't strictly require systemd but the systemd service uses a few
directives to create /var/log/kea, /var/lib/kea, /var/run/kea

ConfigurationDirectory=kea         ---> /etc/kea 
RuntimeDirectory=kea lock/kea      ---> /run/kea   /run/lock/kea
RuntimeDirectoryPreserve=yes
LogsDirectory=kea                  ---> /var/log/kea (mode=0750)
LogsDirectoryMode=0750
StateDirectory=kea                 ---> /var/lib/kea

see
https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html

they need to be created inside the initscript with install or
mkdir+chown, and they need to be removed in postrm script at purge.

Not sure about the apparmor profile.

Lorenzo

> 
> Then why does the package contain an initscript?
> 
> I would have thought the initscript needs fixing. If you can write a
> patch and include that in your Debian bug report, you are much more
> likely to have success.
> 
> If kea really requires systemd, that dependency needs to be stated,
> and the package will disappear from Devuan.
> 
> HTH.
> 
> Mark
> _______________________________________________
> devuan-dev internal mailing list
> [email protected]
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev


Acknowledgement sent to Lorenzo <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#848; Package kea-dhcp4-server. Full text available.

Message received at [email protected]:


Received: (at 848) by bugs.devuan.org; 27 Apr 2024 06:28:37 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sat, 27 Apr 2024 06:28:37 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id SaRoFQWbLGZASAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Sat, 27 Apr 2024 06:28:21 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 2B98E733; Sat, 27 Apr 2024 06:28:20 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id E3EAE3F8
	for <[email protected]>; Sat, 27 Apr 2024 06:28:15 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 291F593;
	Sat, 27 Apr 2024 07:28:14 +0100 (BST)
Received: (nullmailer pid 5069 invoked by uid 1000);
	Sat, 27 Apr 2024 06:28:13 -0000
Date: Sat, 27 Apr 2024 07:28:13 +0100
From: Mark Hindley <[email protected]>
To: Jerzy Sobczyk <[email protected]>
Cc: [email protected]
Subject: Re: Odp: bug#848: Pd: Problems starting kea-dhcp4-server
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>

On Fri, Apr 26, 2024 at 10:53:07PM +0200, Jerzy Sobczyk wrote:
> I will try. But all this problems result from the fact that kea depends on
> systemd. So Debian maintainers can "solve" the problem by explicitly stating
> this dependency. ...if you want kea you must use systemd.

Then why does the package contain an initscript?

I would have thought the initscript needs fixing. If you can write a patch and
include that in your Debian bug report, you are much more likely to have
success.

If kea really requires systemd, that dependency needs to be stated, and the
package will disappear from Devuan.

HTH.

Mark

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#848; Package kea-dhcp4-server. Full text available.

Message received at [email protected]:


Received: (at 848) by bugs.devuan.org; 26 Apr 2024 20:54:12 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Fri, 26 Apr 2024 20:54:12 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id vSN5FkUULGa+JgAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Fri, 26 Apr 2024 20:53:25 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 40FDE21D; Fri, 26 Apr 2024 20:53:25 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; unprotected) header.d=pw.edu.pl [email protected] header.a=rsa-sha256 header.s=pw_2021 header.b=EGIHB+Fu;
	dkim-atps=neutral
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham
	autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=194.29.130.59; helo=prox-mg-02.pw.edu.pl; [email protected]; receiver=<UNKNOWN> 
Received: from prox-mg-02.pw.edu.pl (prox-mg-02.pw.edu.pl [194.29.130.59])
	by email.devuan.org (Postfix) with ESMTPS id D0EF721D
	for <[email protected]>; Fri, 26 Apr 2024 20:53:21 +0000 (UTC)
Received: from prox-mg-02.pw.edu.pl (localhost.localdomain [127.0.0.1])
	by prox-mg-02.pw.edu.pl (Proxmox) with ESMTP id E164E22FD5;
	Fri, 26 Apr 2024 22:53:19 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; d=pw.edu.pl; s=pw_2021; c=relaxed/relaxed;
	t=1714164798; h=from:subject:to:date:message-id;
	bh=iy0/tmsJrFSxw2raMXh6Jkyr2+l+HX9KnUoeX7XGfLg=;
	b=EGIHB+Fu4Vt1K1rua2K9FAsQuZW/U0owNg72E9EdZ+DfZq1tcwlnxA0MsK3CQUo/N+RQpVbHcpw
	WmaCjFbEStuAI94ZzRJKirpFABTQjafSz2NMACpOnKQbLZySNkBbsO0y8S3tvkqed/S6Rs7Zwbqn+
	ykFuYmXX/oZANKn5bnHrJKUREF4oO5wcmiRs5aSvTvLFDaVq1FHuYf05wwbEBLKg9eEHBDBEjmgz8
	VX27SeJO4Mv5AzOKWKP2BFeJZBj9T/ogeiJ0VOMLc9r1/bFQSgs0O3zWk8DePwuhkWx/mTXZKpG0p
	0G8ZLRsP8fSb868ZH9qzxSYMq8A2raxLpRPA==
Date: Fri, 26 Apr 2024 22:53:07 +0200
From: Jerzy Sobczyk <[email protected]>
To: Mark Hindley <[email protected]>
CC: <[email protected]>
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
References: <[email protected]> <[email protected]>
Subject: Odp: bug#848: Pd: Problems starting kea-dhcp4-server
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Correlation-ID: <[email protected]>
X-Originating-IP: [192.168.129.243]
X-ClientProxiedBy: ex1.wut.pl (192.168.129.171) To ex4.wut.pl
 (192.168.129.174)

24 kwi 2024 20:50:36 Mark Hindley <[email protected]>:

> Control: tags -1 debian
>
> Jerzy,
>
> Thanks for this.
>
> On Wed, Apr 24, 2024 at 08:31:16PM +0200, Jerzy Sobczyk wrote:
>> =C2=A0=C2=A0 Package: kea-dhcp4-server
>
> However, src:isc-kea is not a forked package and Devuan uses Debian's pac=
kages
> directly without recompilation. Please report these issues directly to De=
bian's
> BTS to be resolved.

I will try. But all this problems result from the fact that kea depends on =
systemd. So Debian maintainers can "solve" the problem by explicitly statin=
g this dependency. ...if you want kea you must use systemd.

> Thanks
>
> Mark

With Best Regards,
=C2=A0 Jerzy


Acknowledgement sent to Jerzy Sobczyk <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#848; Package kea-dhcp4-server. Full text available.
Added tag(s) debian. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 848) by bugs.devuan.org; 24 Apr 2024 18:51:11 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 24 Apr 2024 18:51:10 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id cWLEN25UKWZ0BQAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 24 Apr 2024 18:50:22 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id AD807660; Wed, 24 Apr 2024 18:50:22 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 1F69021D
	for <[email protected]>; Wed, 24 Apr 2024 18:50:19 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id E533F9C;
	Wed, 24 Apr 2024 19:50:18 +0100 (BST)
Received: (nullmailer pid 17664 invoked by uid 1000);
	Wed, 24 Apr 2024 18:50:18 -0000
Date: Wed, 24 Apr 2024 19:50:18 +0100
From: Mark Hindley <[email protected]>
To: [email protected]
Cc: Jerzy Sobczyk <[email protected]>
Subject: Re: bug#848: Pd: Problems starting kea-dhcp4-server
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks

Control: tags -1 debian

Jerzy,

Thanks for this.

On Wed, Apr 24, 2024 at 08:31:16PM +0200, Jerzy Sobczyk wrote:
>    Package: kea-dhcp4-server

However, src:isc-kea is not a forked package and Devuan uses Debian's packages
directly without recompilation. Please report these issues directly to Debian's
BTS to be resolved.

Thanks

Mark

Information forwarded to [email protected], [email protected]:
bug#848; Package kea-dhcp4-server. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 24 Apr 2024 18:31:37 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 24 Apr 2024 18:31:36 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id dXrfCwdQKWbEBAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 24 Apr 2024 18:31:35 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 1B8B9408; Wed, 24 Apr 2024 18:31:35 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; unprotected) header.d=pw.edu.pl [email protected] header.a=rsa-sha256 header.s=pw_2021 header.b=XIDKpSq6;
	dkim-atps=neutral
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,HTML_MESSAGE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham
	autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=194.29.130.59; helo=prox-mg-02.pw.edu.pl; [email protected]; receiver=<UNKNOWN> 
Received: from prox-mg-02.pw.edu.pl (prox-mg-02.pw.edu.pl [194.29.130.59])
	by email.devuan.org (Postfix) with ESMTPS id 9575421D
	for <[email protected]>; Wed, 24 Apr 2024 18:31:30 +0000 (UTC)
Received: from prox-mg-02.pw.edu.pl (localhost.localdomain [127.0.0.1])
	by prox-mg-02.pw.edu.pl (Proxmox) with ESMTP id 75019227DD
	for <[email protected]>; Wed, 24 Apr 2024 20:31:29 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; d=pw.edu.pl; s=pw_2021; c=relaxed/relaxed;
	t=1713983487; h=from:subject:to:date:message-id;
	bh=rdzXuKZm9CmXv8pX54eRhbAxRCyNCnQWSxJnKp1ME5M=;
	b=XIDKpSq6ohNCeLu9PoYn9LuYNfYVZtSvyloi52XnJhGxwRckb7vl8WuW1zkkcLqSk/W8xIGK4wi
	6CGDv+87cWf/dqVqPg4EG986D9SGfk7Cal5y+HeXdB3JciymgB9b3eyR5c9N8Csj7z253ozA6l7yk
	pKDlFcbUv40QtQyYQ1gOCGWK9EYmB369Misy08UBj5rmuhJY1JvdQccDhhbk68wjvsUjLMfKY2Dnl
	rqEHtcoNfajfA/QGU70qMyP3y3jvboontePMM+cY+nMmyqPY3sNHQ2gVdi3EHnLrwSCMZlc8vG6rl
	aY001GgphiWnTDmtNftkAaLmfezISJB80aOQ==
Date: Wed, 24 Apr 2024 20:31:16 +0200
From: Jerzy Sobczyk <[email protected]>
To: <[email protected]>
Message-ID: <[email protected]>
Subject: Pd: Problems starting kea-dhcp4-server
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_Part_5_50427516.1713983477002"
X-Correlation-ID: <[email protected]>
X-Originating-IP: [192.168.129.243]
X-ClientProxiedBy: ex1.wut.pl (192.168.129.171) To ex4.wut.pl
 (192.168.129.174)

------=_Part_5_50427516.1713983477002
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Package: kea-dhcp4-server
Version: 2.2.0-6
1.After clean installation using:
=C2=A0=C2=A0=C2=A0 apt update
=C2=A0=C2=A0=C2=A0 apt install kea-dhcp4-server
necessary directories: /var/log/kea, /var/lib/kea, /var/run/kea were missin=
g (they were left to be created by systemd ???).
So I had to create them manually.

2. There was also a problem with apparmor - I had to change the file /etc/a=
pparmor.d/usr.sbin.kea-dhcp4 adding:
=C2=A0 /var/log/kea/** rwk,
=C2=A0 /run/kea/logger_lockfile wrk,
=C2=A0 /run/kea/kea4-ctrl-socket wrk,
=C2=A0 /run/kea/kea4-ctrl-socket.lock wrk,
and commenting out:
=C2=A0=C2=A0 owner /run/lock/kea/logger_lockfile rwk,
=C2=A0=C2=A0 owner /var/run/kea/logger_lockfile rwk,
Maybe You will be able to achieve the goal in a better way, but it works fo=
r me!

3. There was also a problem with start/stop script: /etc/init.d/kea-dhcp4-s=
erver
originally it could start the daemon but was unable to stop it.
After replacing:=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 --name $NAME
with:
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 --exec $DAEMON
in two locations, it stops it (although sometimes with long delay).

After all this changes the daemon seems to be working - dhclient from other=
 machine is able to get IP assignment.
I hope this information will help managing the package.

With Best Regards,
=C2=A0=C2=A0=C2=A0 Jerzy Sobczyk


------=_Part_5_50427516.1713983477002
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 7bit

<html>
 <head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 </head>
 <body>
  <div style="font-family: sans-serif;">
   <span dir="ltr" style="margin-top:0; margin-bottom:0;">Package: kea-dhcp4-server</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">Version: 2.2.0-6</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">1.After clean installation using:</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp;&nbsp;&nbsp; apt update</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp;&nbsp;&nbsp; apt install kea-dhcp4-server</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">necessary directories: /var/log/kea, /var/lib/kea, /var/run/kea were missing (they were left to be created by systemd ???).</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">So I had to create them manually.</span>
   <br>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">2. There was also a problem with apparmor - I had to change the file /etc/apparmor.d/usr.sbin.kea-dhcp4 adding:</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp; /var/log/kea/** rwk,</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp; /run/kea/logger_lockfile wrk,</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp; /run/kea/kea4-ctrl-socket wrk,</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp; /run/kea/kea4-ctrl-socket.lock wrk,</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">and commenting out:</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp;&nbsp; owner /run/lock/kea/logger_lockfile rwk,</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp;&nbsp; owner /var/run/kea/logger_lockfile rwk,</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">Maybe You will be able to achieve the goal in a better way, but it works for me!</span>
   <br>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">3. There was also a problem with start/stop script: /etc/init.d/kea-dhcp4-server</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">originally it could start the daemon but was unable to stop it.</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">After replacing:&nbsp;</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --name $NAME</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">with:</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --exec $DAEMON</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">in two locations, it stops it (although sometimes with long delay).</span>
   <br>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">After all this changes the daemon seems to be working - dhclient from other machine is able to get IP assignment.</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">I hope this information will help managing the package.</span>
   <br>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">With Best Regards,</span>
   <br><span dir="ltr" style="margin-top:0; margin-bottom:0;">&nbsp;&nbsp;&nbsp; Jerzy Sobczyk</span>
   <br>
   <br>
  </div>
 </body>
</html>
------=_Part_5_50427516.1713983477002--


Acknowledgement sent to Jerzy Sobczyk <[email protected]>:
New bug report received and forwarded. Copy sent to [email protected]. Full text available.
Report forwarded to [email protected], [email protected]:
bug#848; Package kea-dhcp4-server. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sat, 30 Nov 2024 22:39:01 UTC