[MacPorts] #53435: MacPorts 2.4.0 installers do not ship $prefix/var/macports/sip-workaround

MacPorts noreply at macports.org
Sun Jan 29 17:53:05 UTC 2017


#53435: MacPorts 2.4.0 installers do not ship $prefix/var/macports/sip-workaround
-------------------------+-----------------------------
  Reporter:  neverpanic  |      Owner:  neverpanic
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:  MacPorts Future
 Component:  ports       |    Version:  2.4.0
Resolution:  fixed       |   Keywords:
      Port:  MacPorts    |
-------------------------+-----------------------------
Changes (by neverpanic):

 * owner:   => neverpanic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"da98273dddb81993f94ca2ce0f459d555d347dc8/macports-ports"
 da98273/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="da98273dddb81993f94ca2ce0f459d555d347dc8"
 MacPorts: Keep sip-workaround dir in installers

 MacPorts by default deletes empty directories from destroot, unless they
 are in destroot.keepdirs (which creates a .turd_MacPorts file in the
 directory).

 Because MacPorts 2.4.0 introduced a $prefix/var/macports/sip-workaround
 directory but did not add it to the MacPorts port, the installers that
 were built for 2.4.0 with this port lack the sip-workaround directory.

 The code for trace mode will create the directory as needed, but it will
 not have the correct permissions of drwxrwxrwt, which leads to problems
 in trace mode, such as

 | sip_copy_proc: mkdir(/opt/local/var/macports/sip-workaround/503):
 Permission denied

 Closes: https://trac.macports.org/ticket/53435
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53435#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list