Opened 13 years ago
Last modified 12 years ago
#31737 closed defect
Starting and stopping tftp-hpa seems flaky — at Initial Version
Reported by: | clarityandobscurity (The Sense of Mystery) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ||
Port: | tftp-hpa |
Description
I installed tftp-hpa +server and it started automatically.
I see it has configuration in /Library/LaunchDaemons/org.macports.tftpd.plist
I went and edited that configuration (added -B 512 and removed -s), and now I try to restart the tftp server.
I get
$ ps -A | grep tftp
8964 ?? 0:00.01 /opt/local/bin/daemondo --label=tftpd --start-cmd /opt/local/sbin/tftpd -L -s /opt/local/var/tftp-hpa/ ; --pid=exec 8965 ?? 0:00.00 /opt/local/sbin/tftpd -L -s /opt/local/var/tftp-hpa/
In daemondo's help it says what it says about SIGHUP and SIGTERM. But no matter how, how many times and how passionately I hang up, terminate or kill either of the processes, or both at the same time, nothing changes.
There is also:
unload tftp-hpa
Error: Target org.macports.unload returned: Launchd plist /Library/LaunchDaemons/org.macports.tftp-hpa.plist was not found Log for tftp-hpa is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_tftp-hpa/tftp-hpa/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
load tftp-hpa
Error: Target org.macports.load returned: Launchd plist /Library/LaunchDaemons/org.macports.tftp-hpa.plist was not found Log for tftp-hpa is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_tftp-hpa/tftp-hpa/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Of course it fails because the file is called tftpd.plist and there is no tftp-hpa.plist
But there is also:
$ sudo launchctl unload /Library/LaunchDaemons/org.macports.tftpd.plist launchctl: no plist was returned for: /Library/LaunchDaemons/org.macports.tftpd.plist launchctl: no plist was returned for: /Library/LaunchDaemons/org.macports.tftpd.plist nothing found to unload $ sudo launchctl load -w /Library/LaunchDaemons/org.macports.tftpd.plist launchctl: no plist was returned for: /Library/LaunchDaemons/org.macports.tftpd.plist launchctl: no plist was returned for: /Library/LaunchDaemons/org.macports.tftpd.plist nothing found to load