From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Patterson Subject: bug#21108: Home directory not created for new users Date: Tue, 21 Jul 2015 19:18:15 -0400 Message-ID: <55AED337.3040806@uwaterloo.ca> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030102080601040607030103" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHgnV-0003JS-SE for bug-guix@gnu.org; Tue, 21 Jul 2015 19:18:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHgnS-0007C5-FO for bug-guix@gnu.org; Tue, 21 Jul 2015 19:18:05 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:54338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHgnS-0007Bt-DH for bug-guix@gnu.org; Tue, 21 Jul 2015 19:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZHgnS-0008Rm-2Y for bug-guix@gnu.org; Tue, 21 Jul 2015 19:18:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHgmk-0003Bx-AO for bug-guix@gnu.org; Tue, 21 Jul 2015 19:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHgmf-000713-HL for bug-guix@gnu.org; Tue, 21 Jul 2015 19:17:18 -0400 Received: from mailservices.uwaterloo.ca ([129.97.128.141]:54922 helo=psyche.uwaterloo.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHgmf-00070x-Cf for bug-guix@gnu.org; Tue, 21 Jul 2015 19:17:13 -0400 Received: from [10.13.0.184] ([69.58.102.156]) (authenticated bits=0) by psyche.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id t6LNHAj7018764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 21 Jul 2015 19:17:13 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 21108@debbugs.gnu.org This is a multi-part message in MIME format. --------------030102080601040607030103 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Following up on the thread from guix-devel: On 0.8.3-pre, after a clean install, users listed in the system configuration file do not have a home directory automatically created for them in some circumstances. This causes the user to be initially unable to login. Specifically, with a separately mounted home folder, the folder may not be created. I note that when un-mounting /home, the expected folder does appear. --------------030102080601040607030103 Content-Type: text/x-scheme; name="config.scm" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="config.scm" ;; This is an operating system configuration template ;; for a "desktop" setup with X11. (use-modules (gnu) (gnu system nss)) (use-service-modules desktop) (use-package-modules xfce ratpoison wicd avahi xorg certs) (operating-system (host-name "antelope") (timezone "Europe/Paris") (locale "en_US.UTF-8") ;; Assuming /dev/sdX is the target hard disk, and "root" is ;; the label of the target root file system. (bootloader (grub-configuration (device "/dev/sda"))) (file-systems (cons* (file-system (device "rootfs") (title 'label) (mount-point "/") (type "ext4")) (file-system (device "boot") (title 'label) (mount-point "/boot") (type "ext2")) (file-system (device "homefs") (title 'label) (mount-point "/home") (type "ext4")) %base-file-systems)) (users (cons (user-account (name "bob") (comment "Alice's brother") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/bob")) %base-user-accounts)) ;; Add Xfce and Ratpoison; that allows us to choose ;; sessions using either of these at the log-in screen. (packages (cons* xfce ratpoison ;desktop environments xterm wicd avahi ;useful tools nss-certs ;for HTTPS access %base-packages)) ;; Use the "desktop" services, which include the X11 ;; log-in service, networking with Wicd, and more. (services %desktop-services) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) --------------030102080601040607030103--