Your message dated Sat, 07 Mar 2026 06:04:00 +0000
with message-id <[email protected]>
and subject line Bug#950948: fixed in n2n 3.1.1-1
has caused the Debian Bug report #950948,
regarding n2n: missing-systemd-service-for-init.d-script
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.)
--
950948: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950948
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: n2n
Version: 1.3.1~svn3789-7
Severity: normal
Dear Maintainer,
Please consider adding a native systemd service masking the already
shipped init script (fixes lintian tag[1] in subject).
I've attached my own attempt at writing a service file, based off
looking at what the init script does. Note that it is completely
untested (as I don't use n2n myself).
You should be able to use it just by dropping the n2n.service file
in the debian/ directory and then bump debhelper compat to >= 10
which will get the service file automatically handled (also compat 9 in
now deprecated).
Please note that the service could be a Type=simple if you drop the
-f flag in ExecStart. (Even better would be if the service implemented
support for sd_notify READY=1 so you could use Type=notify.)
Given the comment in the long description of the init script I however
imagine you really want to create a template service instance instead
(and just mask n2n.service -> /dev/null) using [email protected].
Additional improvements eg. using security hardening[2] could also be
added.
While at it please also get rid of the home-brew enable/disable[3]
and instead ship the service disabled by default and let the user
do 'service n2n enable' once they've configured it.
Regards,
Andreas Henriksson
PS. the init script uses $DAEMON_ARGS but the default file contains
an (empty) example variable N2N_DAEMON_OPTS (which is ignored).
[1]:
https://lintian.debian.org/tags/missing-systemd-service-for-init.d-script.html
[2]:
https://lintian.debian.org/tags/systemd-service-file-missing-hardening-features.html
[3]:
https://lintian.debian.org/tags/init.d-script-should-always-start-service.html
[Unit]
Description=n2n P2P VPN
After=network.target
[Service]
Type=forking
#PIDFile=/run/$NAME-edge.pid
#Environment=DAEMON_ARGS=
EnvironmentFile=-/etc/default/n2n
# Note:
https://lintian.debian.org/tags/init.d-script-should-always-start-service.html
# ExecStartPre=/bin/bash -c '[ ! -z "$N2N_EDGE_CONFIG_DONE" ] || echo "Warning:
n2n VPN client is not configured, edit config file in /etc/default/$NAME.";
exit 1'
ExecStart=/usr/sbin/edge -f -a $N2N_IP -c $N2N_COMMUNITY -l $N2N_SUPERNODE
$DAEMON_ARGS
User=nobody
Group=nobody
[Install]
WantedBy=multi-user.target
--- End Message ---
--- Begin Message ---
Source: n2n
Source-Version: 3.1.1-1
Done: Andreas Tille <[email protected]>
We believe that the bug you reported is fixed in the latest version of
n2n, 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.
Andreas Tille <[email protected]> (supplier of updated n2n 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: Sat, 07 Mar 2026 06:43:16 +0100
Source: n2n
Architecture: source
Version: 3.1.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 914321 950948 1024139 1024609 1039277
Changes:
n2n (3.1.1-1) unstable; urgency=medium
.
* QA upload.
.
[ Tianyu Chen ]
* New upstream version 3.1.1. (Closes: #914321, #1024139)
* Provide systemd unit files
Closes: #1039277, #950948
.
[ Andreas Tille ]
* Orphan package
Closes: #1024609
* d/watch: version=5
* Skip test requiring sudo
* Do not Depend lsb-base
* Standards-Version: 4.7.3 (routine-update)
* Remove Priority field to comply with Debian Policy 4.7.3 (routine-
update)
* Remove trailing whitespace in debian/control (routine-update)
* Trim trailing whitespace.
* Use secure URI in Homepage field.
* Fix day-of-week for changelog entry 1.3.1~svn3789-1.
* Enable hardening options
* Add missing paragraph for debian/*
Checksums-Sha1:
29a0a165fe9ba0c9718faa54fd22c05f5bd82121 1847 n2n_3.1.1-1.dsc
784e55a4a669079db09bfcec476fa46755b426ac 498373 n2n_3.1.1.orig.tar.gz
88cf53e857707e73e59e755a60b75cab591444c3 10120 n2n_3.1.1-1.debian.tar.xz
059ff3135e9093ef08bea47eaf967049ee578708 7289 n2n_3.1.1-1_amd64.buildinfo
Checksums-Sha256:
541c44e93416f37fa5e303d19ae2cee79debfadbecfe86c583612eca532b25dd 1847
n2n_3.1.1-1.dsc
c07b8b9ed27bea91f11fe2b780f4bea039a2e59071f25380b53d4688e9a5d0c5 498373
n2n_3.1.1.orig.tar.gz
ce9f8eea31addf014e15c24c8d8f4453a211b881f1ed57298bb390bc2a8e4914 10120
n2n_3.1.1-1.debian.tar.xz
810deda336fd0aa0d3242539a5bc13ccec9b9f469c4c6fda585f63c991635895 7289
n2n_3.1.1-1_amd64.buildinfo
Files:
d9cb27d64ae8ca1db4d3a3465ed36877 1847 net optional n2n_3.1.1-1.dsc
845a596c6949a3734d1e69b06eb8f72a 498373 net optional n2n_3.1.1.orig.tar.gz
9578d9f181d487bc6174e987e03e29d5 10120 net optional n2n_3.1.1-1.debian.tar.xz
df2dc50a281c95d83b88908f2417f98d 7289 net optional n2n_3.1.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmmrvPgRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtGdIhAAjuPm4Oz5CU6afsZIYSfL2SL7lgwJQo8n
4j2Dy6vRLyPjgPLT47bn11lJa8BAUxE44UHTb1qA5IDEyhu/SfEQrBimW/xJ0RIK
ECj3sPImDrfF5D1jlT9z25v5Kyua2NESzkj6th/1nDtEHQS6C81hOZexmqvOzGH4
k7An9d+zSEUxEJ5JXy23PZVlwBQ8neorAsoPaU13w5ACtMoHfyZbpW1gw1qgZoyq
7iNtVSr24g1dhaFD2RmJj5qr2S0zuSf+whrAWDxq8qO9WcHqAFw3Os0y5PKhy9I/
Yi6McYlZgoxxymsLmA0MF0HTp95g85eELSVRqXoNaNpggE4E/hpLaO6YNDysS+s8
KTGZ23kU9f2BUg9EZ71CjTZFKVQFyMeob8z7cx5wY8njO5CH53H67wZgzyeKk8FQ
oDSTmm/R6kzm8Y/H3Emq9JPo3Lt8GYo+MtnfVKEOLoA+HZYMwAPD3D8JU+CYFwoj
h1qmf69EB/wLlR/2JtIdLgHcpRwGZUE8+x1DlqfQKBxR1AIgB6iNIFLxjXjAea7d
4lfbGrACL+6G3mFlxVN1fDh/2GRC7pZAsKozSw/zMY90YThS/Te8UXlnrh3W5p3Q
3DmIYzmFf9/vck6LXwMh99ZjgogIQOhZD3hELtkpcCKiWWI1aK88Z92u9e0fZCPW
iHIOS9PzDJ0=
=dPFx
-----END PGP SIGNATURE-----
pgpQUaS9Ho73e.pgp
Description: PGP signature
--- End Message ---