[MacPorts] #31737: Starting and stopping tftp-hpa seems flaky
MacPorts
noreply at macports.org
Sun Oct 23 11:24:56 PDT 2011
#31737: Starting and stopping tftp-hpa seems flaky
---------------------------------------+------------------------------------
Reporter: kimmo.sundqvist@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: tftp-hpa
---------------------------------------+------------------------------------
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
--
Ticket URL: <https://trac.macports.org/ticket/31737>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list