[MacPorts] #28121: dbus @1.2.24 +no_root fails with dscl error

MacPorts noreply at macports.org
Mon Jan 31 09:17:07 PST 2011


#28121: dbus @1.2.24 +no_root fails with dscl error
----------------------------+-----------------------------------------------
 Reporter:  ph227@…         |       Owner:  mcalhoun@…           
     Type:  defect          |      Status:  new                  
 Priority:  Normal          |   Milestone:                       
Component:  ports           |     Version:  1.9.2                
 Keywords:                  |        Port:  dbus                 
----------------------------+-----------------------------------------------

Comment(by ph227@…):

 Sorry, i missed the port field.

 After some investigation, i found the origin of the issue : in the file
 var/macports/sources/rsync.macports.org/release/ports/devel/dbus/Portfile,
 line 197

 the instruction
 {{{
 set startup_root  [join [lrange [exec /usr/bin/dscl . -read
 Users/${install.user} NFSHomeDirectory] 1 end]]
 }}}

 don't give the expected result, until my session is authenticated with
 kerberos and the user is not locally known by dscl.

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


More information about the macports-tickets mailing list