Remove all of the services that start telnetd. It is time to retire this service in favor of ssh for connecting to the boards.
Signed-off-by: Ryan Eatmon <[email protected]> --- .../initscript-telnetd/initscript-telnetd.bb | 18 --------- .../initscript-telnetd/telnetd | 40 ------------------- .../systemd-telnetd/systemd-telnetd.bb | 20 ---------- .../systemd-telnetd/telnetd.service | 29 -------------- .../packagegroups/packagegroup-arago-base.bb | 2 - 5 files changed, 109 deletions(-) delete mode 100644 meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb delete mode 100644 meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd delete mode 100644 meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd.bb delete mode 100644 meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd/telnetd.service diff --git a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb b/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb deleted file mode 100644 index 8398e7f3..00000000 --- a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Initscripts for telnetd" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://telnetd;beginline=2;endline=18;md5=d134d0d385c53f9201a270fef8448f29" -PR = "r1" - -SRC_URI = "file://telnetd" - -S = "${UNPACKDIR}" - -INITSCRIPT_NAME = "telnetd" -INITSCRIPT_PARAMS = "defaults 10" - -inherit update-rc.d - -do_install () { - install -d ${D}${sysconfdir}/init.d/ - install -c -m 755 ${S}/telnetd ${D}${sysconfdir}/init.d/telnetd -} diff --git a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd b/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd deleted file mode 100644 index a99f23ef..00000000 --- a/meta-arago-distro/recipes-connectivity/initscript-telnetd/initscript-telnetd/telnetd +++ /dev/null @@ -1,40 +0,0 @@ -#! /bin/sh -#Permission is hereby granted, free of charge, to any person obtaining a copy -#of this software and associated documentation files (the "Software"), to deal -#in the Software without restriction, including without limitation the rights -#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -#copies of the Software, and to permit persons to whom the Software is -#furnished to do so, subject to the following conditions: -# -#The above copyright notice and this permission notice shall be included in -#all copies or substantial portions of the Software. -# -#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -#THE SOFTWARE. - -telnetd=/usr/sbin/telnetd - -test -x "$telnetd" || exit 0 - -case "$1" in - start) - echo -n "Starting telnet daemon" - start-stop-daemon --start --quiet --exec $telnetd - echo "." - ;; - stop) - echo -n "Stopping telnet daemon" - start-stop-daemon --stop --quiet --exec $telnetd - echo "." - ;; - *) - echo "Usage: /etc/init.d/telnetd {start|stop}" - exit 1 -esac - -exit 0 diff --git a/meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd.bb b/meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd.bb deleted file mode 100644 index ff52213e..00000000 --- a/meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "telnetd" -DESCRIPTION = "systemd config for starting telnetd." -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://telnetd.service;beginline=1;endline=17;md5=d134d0d385c53f9201a270fef8448f29" - -SRC_URI = "file://telnetd.service" - -S = "${UNPACKDIR}" - -inherit systemd - -SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE:${PN} = "telnetd.service" -SYSTEMD_AUTO_ENABLE:${PN} = "enable" - -do_install:append () { - # install systemd unit files - install -d ${D}${systemd_system_unitdir} - install -m 0644 ${S}/telnetd.service ${D}${systemd_system_unitdir} -} diff --git a/meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd/telnetd.service b/meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd/telnetd.service deleted file mode 100644 index d8b34373..00000000 --- a/meta-arago-distro/recipes-connectivity/systemd-telnetd/systemd-telnetd/telnetd.service +++ /dev/null @@ -1,29 +0,0 @@ -#Permission is hereby granted, free of charge, to any person obtaining a copy -#of this software and associated documentation files (the "Software"), to deal -#in the Software without restriction, including without limitation the rights -#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -#copies of the Software, and to permit persons to whom the Software is -#furnished to do so, subject to the following conditions: -# -#The above copyright notice and this permission notice shall be included in -#all copies or substantial portions of the Software. -# -#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -#THE SOFTWARE. - -[Unit] -Description=Telnet Server -After=local-fs.target - -[Service] -RemainAfterExit=true -Type=oneshot -ExecStart=/usr/sbin/telnetd - -[Install] -WantedBy=multi-user.target diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb index b80697e5..d36b4397 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb @@ -16,8 +16,6 @@ ARAGO_BASE = "\ mtd-utils \ mtd-utils-ubifs \ curl \ - initscript-telnetd \ - systemd-telnetd \ ethtool \ bash \ opkg-bash-completion \ -- 2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17041): https://lists.yoctoproject.org/g/meta-arago/message/17041 Mute This Topic: https://lists.yoctoproject.org/mt/117491730/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
