On Jul 30, 2011, at 01:11, Joshua Root wrote:

> On 2011-7-30 16:01 , Ryan Schmidt wrote:
>> 
>> There had been a ticket or an email (I can't find it now) about build 
>> problems on Tiger, but I was able to selfupdate my Tiger G4 to 2.0.0. I'd 
>> like to make a Tiger disk image of 2.0.1.
>> 
>> One problem is that, although selfupdate said it created the macports 
>> user/group, I get the error "Warning: configured user/group macports does 
>> not exist, will build as root". Also, the Accounts section of System 
>> Preferences no longer opens, and console.log contains this line:
>> 
>> System Preferences[14212] *** NSRunLoop ignoring exception '*** -[NSCFString 
>> replaceCharactersInRange:withString:]: nil argument' that raised during 
>> posting of delayed perform with target 443120 and selector 
>> 'setCurrentPreference:'
>> 
>> I discovered using "dscl . -read /Users/macports" that the macports user did 
>> get created, but that its PrimaryGroupID is "Invalid". Reading the base 
>> code, I see where it finds an available user id and creates the user, but I 
>> don't see where it tries to find an available group id and create the group. 
>> Shouldn't that be done before creating the user? On Snow Leopard, both the 
>> user and the group appear to have been created just fine.
> 
> You're welcome to fix these of course, but Tiger has well and truly
> dropped off the supported list.

Nostalgia compels me to persevere. :)

I meant to actually read the base code before sending that. Obviously I now see 
where the Makefile uses dseditgroup -o create to create the group first. 
Problem is "sudo dseditgroup -o create -n . macports" succeeds with exit status 
0 but no group is created. 


>> Unrelated, right before 2.0.0, we changed the macports user's shell from 
>> /dev/null to /usr/bin/false. Would /sbin/nologin be a better choice? I just 
>> found out about this program.
> 
> That's for login accounts that are disabled, not non-login accounts.
> None of the non-login accounts created by Apple use it.


Understood, thanks for the explanation.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to