Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1055262: inetutils-telnetd: inetutils daemon packages should have systemd as a dependency

23 views
Skip to first unread message

Neil Wilson

unread,
Nov 3, 2023, 3:10:05 AM11/3/23
to
Package: inetutils-telnetd
Version: 2:2.4-3
Severity: wishlist
Tags: patch
X-Debbugs-Cc: ne...@aldur.co.uk

Dear Maintainer,

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

Kernel: Linux 6.5.0-3-cloud-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=en_GB.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 inetutils-telnetd depends on:
ii inetutils-inetd [inet-superserver] 2:2.4-3
ii inetutils-syslogd [system-log-daemon] 2:2.4-3
ii libc6 2.37-12
ii libcom-err2 1.47.0-2+b1
ii libk5crypto3 1.20.1-5
ii libkrb5-3 1.20.1-5
ii libtinfo6 6.4+20231016-1
ii netbase 6.4

inetutils-telnetd recommends no packages.

inetutils-telnetd suggests no packages.

-- no debconf information

telnetd (and the other inetutils packages) depend upon the inet-superserver and system-log-daemon, which is too
tight a dependency on a system with systemd installed. The dependency should be loosened to include a systemd alternative.

The daemons can be run directly from systemd with two systemd unit files, which should be included in each package.

The telnet example is below. The other daemons use the same pattern.

telnetd.socket
====
[Unit]
Description=Telnet per-connection server
Before=sockets.target

[Socket]
ListenStream=23
Accept=yes

[Install]
WantedBy=sockets.target
====

telnetd@.service
====
[Unit]
Description=Telnet server
Documentation=man:telnetd(8)

[Service]
StandardInput=socket
User=root
ExecStart=-/usr/sbin/telnetd
====
0 new messages