Your message dated Mon, 12 Sep 2022 17:18:55 +0000
with message-id <[email protected]>
and subject line Bug#1019583: fixed in knot 3.2.1-1
has caused the Debian Bug report #1019583,
regarding knot: Missing /run/knot directory on startup
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1019583: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019583
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: knot
Version: 3.2.0-3
Severity: normal

Dear Maintainer,

   * What led up to the situation?

After latest upgrade of knot on sid, knot no longer startups with the
error "Unable to create /run/knot/knot.pid". This did not occur in
earlier releases.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Manually creating the directory and setting ownership to knot:knot
solves the problem. But this is not persistent across reboots.

Please note that /run/knot/ contains both the pid file and a socket
file.

   * What was the outcome of this action?

knot now starts.

   * What outcome did you expect instead?

Same

The main configuration file /etc/knot/knot.conf has this relevant.

server:
  listen: 0.0.0.0@53
  listen: ::@53
  rundir: "/run/knot"
  user: knot:knot
  automatic-acl: on


The systemd service file is as follows. Note the the service type is
"notify" which typically does not use a pid file.

[Unit]
Description=Knot DNS server
Wants=network-online.target
After=network-online.target
Documentation=man:knotd(8) man:knot.conf(5) man:knotc(8)

[Service]
EnvironmentFile=/etc/default/knot
Type=notify
User=knot
Group=knot
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETPCAP
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_SETPCAP
ExecStartPre=/usr/sbin/knotc conf-check
ExecStart=/usr/sbin/knotd -m "$KNOT_CONF_MAX_SIZE" $KNOTD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-abort
LimitNOFILE=1048576
TimeoutStopSec=300
# Extend the systemd startup timeout by this value (seconds) for each zone
Environment="KNOT_ZONE_LOAD_TIMEOUT_SEC=180"
# Maximum size (MiB) of a configuration database
Environment="KNOT_CONF_MAX_SIZE=512"

[Install]
WantedBy=multi-user.target




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

Kernel: Linux 5.19.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_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

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Source: knot
Source-Version: 3.2.1-1
Done: Jakub Ružička <[email protected]>

We believe that the bug you reported is fixed in the latest version of
knot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jakub Ružička <[email protected]> (supplier of updated knot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 12 Sep 2022 16:06:27 +0000
Source: knot
Architecture: source
Version: 3.2.1-1
Distribution: unstable
Urgency: medium
Maintainer: knot packagers <[email protected]>
Changed-By: Jakub Ružička <[email protected]>
Closes: 1018911 1019583
Changes:
 knot (3.2.1-1) unstable; urgency=medium
 .
   * New upstream version 3.2.1
     - Compatible with libbpf 1.0 (Closes: #1018911)
   * Add Build-Depends: libxdp-dev where available
   * Remove patch included upstream
   * Update libknot13.symbols
   * Update knot.service from upstream (Closes: #1019583)
Checksums-Sha1:
 3bd8c5d9ea9d234d1c2cc5c5ba2b5b4005540dbc 3785 knot_3.2.1-1.dsc
 08aff120714d95bb99af75a7d848efa9b22f3646 1626796 knot_3.2.1.orig.tar.xz
 e65a233aa20e309159c1f77cf30a356aac2a752b 833 knot_3.2.1.orig.tar.xz.asc
 05e868aabef3310bac65a036dee99db4746ffdfc 28752 knot_3.2.1-1.debian.tar.xz
 408280d56b8bd940d2acf2fbcf8b0648165264a4 6280 knot_3.2.1-1_source.buildinfo
Checksums-Sha256:
 d00d3c48aa85db7617989139cb003d3952c1fc3ceac75c5777a1847db9cac4b8 3785 
knot_3.2.1-1.dsc
 51efa36f92679b25d43dbf8ba543e9f26138559f0fa1ba5fae172f5400659c8f 1626796 
knot_3.2.1.orig.tar.xz
 7bcff806b14c7d2f6e068fa0cfe59d257260225452339180fc64d60094994d43 833 
knot_3.2.1.orig.tar.xz.asc
 297a0699600a3477969b4bfe2968c730d66563b61a3b41af472079ee6e5a5729 28752 
knot_3.2.1-1.debian.tar.xz
 27a08e95f6b28cff010935b2781d0cf2a0cc966386b0c25c7970023274679ad2 6280 
knot_3.2.1-1_source.buildinfo
Files:
 c389be1d2a88990243c2bb6c75919f6d 3785 net optional knot_3.2.1-1.dsc
 fb33947f493be78d68c0c2fe3b33cf6b 1626796 net optional knot_3.2.1.orig.tar.xz
 0015827a8733c042c546265a2fb5bd07 833 net optional knot_3.2.1.orig.tar.xz.asc
 14e8214b5d689103a29d85b8ff4611ce 28752 net optional knot_3.2.1-1.debian.tar.xz
 a01d930bc8358b1ed4e66dec2261cec6 6280 net optional 
knot_3.2.1-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEI+vPfo/EdVZ4cQDfpCVAcuNzBCwFAmMfZhgACgkQpCVAcuNz
BCwKvBAAjKMgnPWBiFpV3CiTVQEh8TmwV7+n85BD3N5KvqgSQsSmRyT+DP1hiQNk
zrmrVeFAZH1hTBO9errEv50scFnxg53YcKTWD8rD8YcqZiexijY9+i0KeZt/1RcH
AQSeOcMekaDLqxO4H2mGJmTVnJfflNDhk6vfQQaceXd0IN77lVgqrRnGw4hulD8p
0w5hbeJ5IwYv9zLba3YWZiIE/622m0QuKlIRnxm/6beWNPYleWdck5WDP/Rr4N2t
GrR6ZjLJC6oPTYzRQe+AO5cVv9CbqzJRfMImQN3RWppxuU04BvRlZt0otMPMfvBe
SaL1cbCGWEywPmxHLFZOQ1J/GbDRO6o0gqeFTI2fuRw72ivFJ7NL0WHh/NUlpNCN
9xCrFWLSDbgykfV4I/jNCnOrLdRrFLe1tFMbTykj0PwBf8ixm2ceQeZdAG+ZOH9+
w4pquNMjGRoB956hRelFdaJ1b0rXrOdsHbW2hUVwE/MJQBesmReyokPQdiWc0D1e
alPodUtDJEqeAuCeU3hxT1BEbibogcP5TXSLqvHb84aIiRsKe5tSXDcgwv1KTjUx
8vv7DhYZBlzP0yqIr+yDr6gByMInbjkn163FD/1HZTVtiLwSfdN8t3BKoWnNXfop
tY576GP+ghce/0jsEfp0yDzkBRItoS5XMN8yqG1ybWEIcbUlkuU=
=0AsB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to