From nobody@FreeBSD.org  Thu Jan 10 14:57:53 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 10B42D89
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Jan 2013 14:57:53 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 0026A191
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Jan 2013 14:57:52 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0AEvqIj088935
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Jan 2013 14:57:52 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r0AEvqMu088934;
	Thu, 10 Jan 2013 14:57:52 GMT
	(envelope-from nobody)
Message-Id: <201301101457.r0AEvqMu088934@red.freebsd.org>
Date: Thu, 10 Jan 2013 14:57:52 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bsdinstall doesn't install base files from /usr/share/skel; breaks POLA
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175181
>Category:       bin
>Synopsis:       adduser(8) doesn't install base files from /usr/share/skel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    antoine
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 10 15:00:00 UTC 2013
>Closed-Date:    Tue Jun 04 19:33:16 UTC 2013
>Last-Modified:  Tue Jun 04 19:33:16 UTC 2013
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD fallout.local 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r+96bb463: Tue Jan  8 00:39:55 PST 2013     root@fallout.local:/usr/obj/usr/src/sys/FALLOUT  amd64
>Description:
I grabbed one of gjb's livecd releases and when I was going through
trying to set things up, I noticed that .profile wasn't installed to
my home directory like I expect if I would have run pw useradd -m.

bsdinstall (and the password utility it uses) needs to follow an
equivalent process because otherwise it's silly that one has to manually
setup files in user's home directories when installing from the livecd.
>How-To-Repeat:
- Install from a FreeBSD 9.0+ LiveCD.
- Create a user foo.
- Note that ~foo/ doesn't contain .profile and other files from /usr/share/skel.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jan 12 08:13:17 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175181 
Responsible-Changed-From-To: freebsd-sysinstall->freebsd-bin 
Responsible-Changed-By: nwhitehorn 
Responsible-Changed-When: Sat Jan 12 14:08:16 UTC 2013 
Responsible-Changed-Why:  
bsdinstall just invokes a shell with adduser(8) in a chroot and doesn't do 
any account management itself, so the bug must be in adduser 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175181 
Responsible-Changed-From-To: freebsd-bin->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jan 14 18:43:48 UTC 2013 
Responsible-Changed-Why:  
Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175181 
State-Changed-From-To: open->feedback 
State-Changed-By: antoine 
State-Changed-When: Sat May 18 16:16:47 UTC 2013 
State-Changed-Why:  
I am totally unable to reproduce this. 
Can you still reproduce it? 


Responsible-Changed-From-To: freebsd-bugs->antoine 
Responsible-Changed-By: antoine 
Responsible-Changed-When: Sat May 18 16:16:47 UTC 2013 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175181 
State-Changed-From-To: feedback->closed 
State-Changed-By: antoine 
State-Changed-When: Tue Jun 4 19:32:41 UTC 2013 
State-Changed-Why:  
Close: feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175181 
>Unformatted:
