avahi port installs org.freedesktop.* files

James Sumners james.sumners at gmail.com
Sun Oct 28 09:37:09 PDT 2007


Excellent. I suppose we will have to manually remove the old files next upgrade?

On 10/28/07, Randall Wood <rhwood at mac.com> wrote:
> This has been fixed in changeset 30458 (http://trac.macosforge.org/
> projects/macports/changeset/30458) and reported upstream at http://
> avahi.org/ticket/177
>
> On 26 Oct 2007, at 17:42, James Sumners wrote:
>
> > I didn't look back at the wiki to verify /System versus /Library. I
> > just went with what the port was trying to do.
> >
> > Do you want me to file the report? Or would you like to? Clearly you
> > have a better understanding of what it should be doing.
> >
> > On 10/26/07, Ryan Schmidt <ryandesign at macports.org> wrote:
> >>
> >> On Oct 26, 2007, at 12:46, paul beard wrote:
> >>
> >>> On 10/26/07, James Sumners wrote:
> >>>
> >>>> I've been wrestling with MacPorts for the past couple days
> >>>> trying to
> >>>> get Gnucash updated. During which, I've removed and reinstalled
> >>>> MacPorts a couple of times. This time, when building avahi I got
> >>>> this
> >>>> error:
> >>>>
> >>>> Error: Target org.macports.activate returned: Image error:
> >>>> /System/Library/LaunchDaemons/org.freedesktop.avahi-daemon.plist
> >>>> already exists and does not belong to a registered port.  Unable to
> >>>> activate port avahi.
> >>>>
> >>>> Investigating this, I found out that avahi installs
> >>>> "org.freedesktop.avahi-daemon.plist" and
> >>>> "org.freedesktop.avahi-dnsconfd.plist" to
> >>>> /System/Library/LaunchDaemons. Removing these files is not
> >>>> covered in
> >>>> the MacPorts uninstall instructions on the wiki. The instruct the
> >>>> user
> >>>> to remove /System/Library/LaunchDaemons/org.macports.* . So my
> >>>> question is, should avahi install files named as such? Or should it
> >>>> install them as " org.macports.avahi-*"?
> >>>
> >>> Hmm.
> >>>
> >>> [/Users/paul]:: port provides /System/Library/LaunchDaemons/
> >>> org.freedesktop.avahi- daemon.plist
> >>> /System/Library/LaunchDaemons/org.freedesktop.avahi-daemon.plist is
> >>> provided by: avahi
> >>>
> >>> Well, that does seem like a reasonable expectation: at first I
> >>> thought they may come from you installing from source.
> >>>
> >>> Looks like wiki or the policy needs to be reviewed.
> >>
> >> No port (and no other non-Apple software) should ever install
> >> anything under /System!!!! The port needs to be revised to install
> >> not in /System/Library but in /Library, and the name of the plist
> >> should begin with org.macports not org.freedesktop. I don't see
> >> anything in the portfile that causes this, so it must be the
> >> project's own Makefile. In this case, a patch will need to be written
> >> to change the name of the file. In addition, the authors of the avahi
> >> should be notified to never install anything under /System. Someone
> >> should file a Trac bug on this and assign and Cc it to the port's
> >> maintainer.
> >>
> >>
> >>
> >
> >
> > --
> > James Sumners
> > http://james.roomfullofmirrors.com/
> >
> > "All governments suffer a recurring problem: Power attracts
> > pathological personalities. It is not that power corrupts but that it
> > is magnetic to the corruptible. Such people have a tendency to become
> > drunk on violence, a condition to which they are quickly addicted."
> >
> > Missionaria Protectiva, Text QIV (decto)
> > CH:D 59
> > _______________________________________________
> > macports-users mailing list
> > macports-users at lists.macosforge.org
> > http://lists.macosforge.org/mailman/listinfo/macports-users
>
>
>
> Randall Wood
> rhwood at mac.com
> http://shyramblings.blogspot.com
>
> "The rules are simple: The ball is round. The game lasts 90 minutes.
> All the
> rest is just philosophy."
>
>
>


-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59


More information about the macports-users mailing list