Discussion:
Bug#1099396: kea-dhcp-ddns-server: DAEMON not set proper in init script
Add Reply
Greg Arnold
2025-03-03 04:00:01 UTC
Reply
Permalink
Package: kea-dhcp-ddns-server
Version: 2.2.0-6
Severity: important
Tags: patch

Dear Maintainer,

The init script provided does not have the proper value for DAEMON, and fails.


-- System Information:
Debian Release: 12.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-31-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kea-dhcp-ddns-server depends on:
ii init-system-helpers 1.65.2
pn kea-common <none>
ii libc6 2.36-9+deb12u9
ii libgcc-s1 12.2.0-14
ii libstdc++6 12.2.0-14

kea-dhcp-ddns-server recommends no packages.

Versions of packages kea-dhcp-ddns-server suggests:
pn kea-doc <none>
Paride Legovini
2025-03-03 11:10:02 UTC
Reply
Permalink
Control: tags -1 + moreinfo - patch
Post by Greg Arnold
Package: kea-dhcp-ddns-server
Version: 2.2.0-6
Severity: important
Tags: patch
Dear Maintainer,
The init script provided does not have the proper value for DAEMON, and fails.
Thanks for reporting this bug, however there isn't enough information in
the report to triage it. Please provide a more complete description of
the problem, including steps to reproduce it from a clean Debian system.

You mention an "init script", but please note that if you are not using
systemd then the bug has "wishlist" severity.

You added the "patch" tag to the bug report, but I see no patch attached
or salsa MRs, so I'm removing the tag.

Thanks,

Paride
Greg Arnold
2025-03-03 14:10:01 UTC
Reply
Permalink
It looks like reportbug didn't attach the patch.  Sorry about that.

All you have to do is install the package, and
`/etc/init.d/kea-dhcp-ddns-server start` fails.

I've attached the patch here.

Greg
Post by Paride Legovini
Control: tags -1 + moreinfo - patch
Post by Greg Arnold
Package: kea-dhcp-ddns-server
Version: 2.2.0-6
Severity: important
Tags: patch
Dear Maintainer,
The init script provided does not have the proper value for DAEMON, and fails.
Thanks for reporting this bug, however there isn't enough information in
the report to triage it. Please provide a more complete description of
the problem, including steps to reproduce it from a clean Debian system.
You mention an "init script", but please note that if you are not using
systemd then the bug has "wishlist" severity.
You added the "patch" tag to the bug report, but I see no patch attached
or salsa MRs, so I'm removing the tag.
Thanks,
Paride
Paride Legovini
2025-03-03 14:40:01 UTC
Reply
Permalink
Control: tags -1 + patch
Control: severity -1 wishlist
It looks like reportbug didn't attach the patch.  Sorry about that.
All you have to do is install the package, and
`/etc/init.d/kea-dhcp-ddns-server start` fails.
I've attached the patch here.
Thanks. So this is indeed an issue related to the sysv init scripts.
I'm lowering the severity of this bug to wishlist.

Your initial bug report includes this line:

Init: systemd (via /run/systemd/system)

If you are indeed using systemd, then use systemctl(1) and ignore the
sysv /etc/init.d/* sysv-related scripts.

--
Paride

Greg Arnold
2025-03-03 14:40:01 UTC
Reply
Permalink
I'm not using systemd - I reported it from a different system.
Control: tags -1 + patch
Control: severity -1 wishlist
It looks like reportbug didn't attach the patch.  Sorry about that.
All you have to do is install the package, and
`/etc/init.d/kea-dhcp-ddns-server start` fails.
I've attached the patch here.
Thanks. So this is indeed an issue related to the sysv init scripts.
I'm lowering the severity of this bug to wishlist.
Init: systemd (via /run/systemd/system)
If you are indeed using systemd, then use systemctl(1) and ignore the
sysv /etc
Loading...