[MacPorts] #28121: dbus @1.2.24 +no_root fails with dscl error when ${install.user} does not exist

MacPorts noreply at macports.org
Mon Dec 5 01:02:30 PST 2011


#28121: dbus @1.2.24 +no_root fails with dscl error when ${install.user} does not
exist
-----------------------------+----------------------------------------------
  Reporter:  ph227@…         |       Owner:  mcalhoun@…           
      Type:  defect          |      Status:  reopened             
  Priority:  Normal          |   Milestone:                       
 Component:  ports           |     Version:  1.9.2                
Resolution:                  |    Keywords:                       
      Port:  dbus            |  
-----------------------------+----------------------------------------------
Changes (by ph227@…):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 Replying to [comment:4 jmr@…]:
 > So yeah, your configured install user has to exist when you run port.

 My bad, my description was not clear enough: dbus +no_root fails with dscl
 error when ${install.user} does not exist '''''in "."'''''

 This is still true with dbus @1.4.16 (since this is not related to dbus
 but to dbus Portfile).

 dscl can't find my username in the local datasource, since my user is
 registered to a domain. So this command :

 {{{
 dscl '/Active Directory/All Domains' -read Users/${install.user}
 NFSHomeDirectory
 }}}

 works well for me.

-- 
Ticket URL: <https://trac.macports.org/ticket/28121#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list