Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77104 - [tftp-hpa] Included .socket is ineffective
Attached to Project:
Arch Linux
Opened by Mantas Mikulėnas (grawity) - Thursday, 12 January 2023, 18:27 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:17 GMT
Opened by Mantas Mikulėnas (grawity) - Thursday, 12 January 2023, 18:27 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:17 GMT
|
Detailsextra/tftp-hpa 5.2-10 includes a systemd .socket file for inetd-style activation, but doesn't include a corresponding .service file that would accept such activation. The only .service that's included is a "standalone daemon" configuration with the --listen option, and is even listed as conflicting with the .socket unit. Trying to use the .socket just makes TFTP requests hang as the daemon isn't configured to accept the inherited socket.
For the .socket file to be useful, a different .service (e.g. tftpd-inetd.service) is needed with these differences: 5. No "After=network.target" 1. No "Type=forking". 2. No "--listen" option for in.tftpd. 3. Add the [Service] "StandardInput=socket" option. 4. No "WantedBy=". The .socket unit then should be changed to explicitly request [Socket] "Service=tftpd-inetd.service". |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:17 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/tftp-hpa/issues/2
Saturday, 25 November 2023, 20:17 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/tftp-hpa/issues/2
With this idea in mind, what would be the best way to update the *.service file and use normal service activation? I haven't used this package for a while, so I am looking for help with cleaning this file.