Package: kea
Version: 2.0.2-3
Severity: normal

Dear Maintainer,

the package will install /etc/kea/kea-{ctrl-agent,dhcp4,dhcp6,dhcp-ddns}.conf
files which all have set

> "loggers": [
>     {
>         "output_options": [
>             {
> // Specifies the output file. There are several special values
>                 // supported:
>                 // - stdout (prints on standard output)
>                 // - stderr (prints on standard error)
>                 // - syslog (logs to syslog)
>                 // - syslog:name (logs to syslog using specified name)
>                 // Any other value is considered a name of the file
> "output": "/var/log/kea-{ctrl-agent,dhcp4,dhcp6,dhcp-ddns}.log"
>             }
>         ]
>     }
> ]

However, default kea services cannot write to this location because they
are running as "_kea" user on Debian by default.

You are already creating /var/log/kea so I would suggest to update default config to use that directory by default.

I run into this when I increased severity of log messages to debug an
issue but didn't find any logs. After adjusting paths I got the logs
I was looking for.

Thanks!


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kea depends on:
ii  kea-admin             2.0.2-3
ii  kea-ctrl-agent        2.0.2-3
ii  kea-dhcp-ddns-server  2.0.2-3
ii  kea-dhcp4-server      2.0.2-3
ii  kea-dhcp6-server      2.0.2-3

kea recommends no packages.

kea suggests no packages.

-- no debconf information

Reply via email to