[MacPorts] #67533: shared-mime-info @2.2_1: non sudo build clashes with sudo build

MacPorts noreply at macports.org
Wed May 31 11:53:32 UTC 2023


#67533: shared-mime-info @2.2_1: non sudo build clashes with sudo build
-------------------------------+----------------------
  Reporter:  lukaso            |      Owner:  mascguy
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.8.1
Resolution:                    |   Keywords:
      Port:  shared-mime-info  |
-------------------------------+----------------------

Comment (by RJVB):

 Replying to [comment:14 mascguy]:
 > Per Josh's point, the key is to not specify `startupitem.install yes`.
 That way we defer to the user's configuration settings, which by default
 are set to auto-start these. (But in Lukas' case, it will be explicitly
 disabled.)
 >
 > So there's no need for a variant. Does that make sense?

 Yes, and no. I agree with Clemens that most ports shouldn't autostart
 their launchd services. I'd say even DBus is among those (because it
 launches an actual daemon that provides services you might not want to
 have active).

 This port is different, as you point out yourself. So yeah, I think it'd
 be preferable to not cripple it if users opt not to auto-start all launchd
 services, via a variant.

 The alternative would be to provide some kind of level control over the
 kind of services you accept to have auto-started (a lot more complex) or
 simply not auto-starting anything when the activation isn't done with
 elevated privileges (both options would require rolling out). Using a
 dedicated env. variable would work too and will be less visible to common
 users.

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


More information about the macports-tickets mailing list