Devuan bug report logs -
#848
Pd: Problems starting kea-dhcp4-server
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#848
; Package kea-dhcp4-server
.
(Wed, 24 Apr 2024 18:32:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Jerzy Sobczyk <Jerzy.Sobczyk@pw.edu.pl>
:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org
.
(Wed, 24 Apr 2024 18:32:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: kea-dhcp4-server
Version: 2.2.0-6
1.After clean installation using:
apt update
apt install kea-dhcp4-server
necessary directories: /var/log/kea, /var/lib/kea, /var/run/kea were missing (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/apparmor.d/usr.sbin.kea-dhcp4 adding:
/var/log/kea/** rwk,
/run/kea/logger_lockfile wrk,
/run/kea/kea4-ctrl-socket wrk,
/run/kea/kea4-ctrl-socket.lock wrk,
and commenting out:
owner /run/lock/kea/logger_lockfile rwk,
owner /var/run/kea/logger_lockfile rwk,
Maybe You will be able to achieve the goal in a better way, but it works for me!
3. There was also a problem with start/stop script: /etc/init.d/kea-dhcp4-server
originally it could start the daemon but was unable to stop it.
After replacing:
--name $NAME
with:
--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,
Jerzy Sobczyk
[Message part 2 (text/html, inline)]
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#848
; Package kea-dhcp4-server
.
(Wed, 24 Apr 2024 18:52:01 GMT) (full text, mbox, link).
Message #8 received at 848@bugs.devuan.org (full text, mbox, reply):
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
Added tag(s) debian.
Request was from Mark Hindley <mark@hindley.org.uk>
to 848-submit@bugs.devuan.org
.
(Wed, 24 Apr 2024 18:52:02 GMT) (full text, mbox, link).
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#848
; Package kea-dhcp4-server
.
(Fri, 26 Apr 2024 20:56:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Jerzy Sobczyk <Jerzy.Sobczyk@pw.edu.pl>
:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org
.
(Fri, 26 Apr 2024 20:56:02 GMT) (full text, mbox, link).
Message #15 received at 848@bugs.devuan.org (full text, mbox, reply):
24 kwi 2024 20:50:36 Mark Hindley <mark@hindley.org.uk>:
> 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.
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.
> Thanks
>
> Mark
With Best Regards,
Jerzy
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#848
; Package kea-dhcp4-server
.
(Sat, 27 Apr 2024 06:30:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Mark Hindley <mark@hindley.org.uk>
:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org
.
(Sat, 27 Apr 2024 06:30:02 GMT) (full text, mbox, link).
Message #20 received at 848@bugs.devuan.org (full text, mbox, reply):
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
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#848
; Package kea-dhcp4-server
.
(Sat, 27 Apr 2024 07:48:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Lorenzo <plorenzo@disroot.org>
:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org
.
(Sat, 27 Apr 2024 07:48:02 GMT) (full text, mbox, link).
Message #25 received at 848@bugs.devuan.org (full text, mbox, reply):
Hi,
On Sat, 27 Apr 2024 07:28:13 +0100
Mark Hindley <mark@hindley.org.uk> 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
> devuan-dev@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#848
; Package kea-dhcp4-server
.
(Sat, 27 Apr 2024 08:38:01 GMT) (full text, mbox, link).
Acknowledgement sent
to Mark Hindley <mark@hindley.org.uk>
:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org
.
(Sat, 27 Apr 2024 08:38:02 GMT) (full text, mbox, link).
Message #30 received at 848@bugs.devuan.org (full text, mbox, reply):
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
Information forwarded
to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org
:
bug#848
; Package kea-dhcp4-server
.
(Sat, 27 Apr 2024 08:42:01 GMT) (full text, mbox, link).
Message #33 received at 848@bugs.devuan.org (full text, mbox, reply):
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
Reply sent
to Mark Hindley <mark@hindley.org.uk>
:
You have taken responsibility.
(Sat, 27 Apr 2024 15:08:01 GMT) (full text, mbox, link).
Notification sent
to Jerzy Sobczyk <Jerzy.Sobczyk@pw.edu.pl>
:
bug acknowledged by developer.
(Sat, 27 Apr 2024 15:08:02 GMT) (full text, mbox, link).
Message #40 received at 848-done@bugs.devuan.org (full text, mbox, reply):
Version: 2.4.1-3
Send a report that this bug log contains spam.