[MacPorts] #25992: rsync-3.0.7_0 error activating startup item
MacPorts
noreply at macports.org
Sat Aug 7 17:39:07 PDT 2010
#25992: rsync-3.0.7_0 error activating startup item
---------------------------+------------------------------------------------
Reporter: alex@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: rsync
---------------------------+------------------------------------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
* port: => rsync
Comment:
It should not be a requirement for startupitem.name to match the port
name; the variable is exposed because ports are allowed to change it, and
it is not expected that changing it would cause anything to break.
I was having trouble figuring out why I don't see this problem with
mysql5-server, which also changes startupitem.name. The problem is that
rsync changes startupitem.name in a variant only. So in order to load or
unload it, you have to specify the variant then too.
{{{
sudo port load rsync +rsyncd
}}}
{{{
sudo port unload rsync +rsyncd
}}}
This is somewhat unexpected.
For rsync, I might suggest that the rsyncd variant be deleted and its
functionality be incorporated into the main part of the port. This should
pose no problem since startup items aren't on unless turned on, and the
only other thing it installs is a conf file which is harmless enough too.
This problem could easily affect other ports too (any other port that sets
startupitem.name in a variant) and the suggested resolution there might be
the same.
--
Ticket URL: <http://trac.macports.org/ticket/25992#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list