[MacPorts] #44764: coreutils 8.23_0 failed to upgrade

MacPorts noreply at macports.org
Tue Aug 26 17:54:49 PDT 2014


#44764: coreutils 8.23_0 failed to upgrade
-------------------------+--------------------------
  Reporter:  jschnide@…  |      Owner:  ryandesign@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.99
Resolution:              |   Keywords:
      Port:  coreutils   |
-------------------------+--------------------------

Comment (by ryandesign@…):

 Replying to [comment:8 cal@…]:
 > Your setup seems to be correct. In this case, there might be a problem
 with the Portfile.

 The only problem with the portfile is that it does not allow itself to be
 used as root. Admittedly this is an unusual restriction and I could revert
 r124489 to allow this again. However it seems that users are unaware that
 they are running as root and are unaware of the security implications of
 doing that, so perhaps that's what we should fix instead.

 jschnide, your log does not include the usual privilege-dropping lines.
 Usually one starts MacPorts with `sudo`, thus giving it root privileges.
 MacPorts then quickly gives up those privileges and switches to the
 unprivileged `macports` user, but in your log, that's not happening. Do
 you have any idea why? Since you're running MacPorts on a system for which
 we don't provide binaries yet, I presume you compiled MacPorts from
 source. What configure arguments did you use?

-- 
Ticket URL: <https://trac.macports.org/ticket/44764#comment:12>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list