From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#19780: =?UTF-8?Q?=E2=80=9CUser?= has no home =?UTF-8?Q?directory=E2=80=9D?= Date: Tue, 13 Oct 2015 14:29:25 +0200 Message-ID: <87d1wjost6.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlyiU-0001SA-GA for bug-guix@gnu.org; Tue, 13 Oct 2015 08:30:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlyiR-0001Ye-R7 for bug-guix@gnu.org; Tue, 13 Oct 2015 08:30:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlyiR-0001YZ-Ni for bug-guix@gnu.org; Tue, 13 Oct 2015 08:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZlyiR-0004m1-0G for bug-guix@gnu.org; Tue, 13 Oct 2015 08:30:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Ricardo Wurmus's message of "Tue, 13 Oct 2015 11:31:31 +0200") 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: Ricardo Wurmus Cc: 19780@debbugs.gnu.org Ricardo Wurmus skribis: > I can confirm that the error disappears when nscd is running. Emacs no > longer tells me > > Error (initialization): User rwurmus has no home directory > > when starting it as long as nscd is running. > > I would like to note that the version of Emacs that is available through > Fedora repositories does not need nscd to run (this is on the same > machine). The error only appears when nscd is not running and the Emacs > installed via Guix is used. Earlier, you wrote: --8<---------------cut here---------------start------------->8--- It is mentioned in /etc/nsswitch.conf: ~~~~~~~ ... passwd: files sss shadow: files sss group: files sss services: files sss netgroup: files sss ... ~~~~~~~ --8<---------------cut here---------------end--------------->8--- (See .) What happens is that libnss_sss.so was being loaded in your Emacs process. However, the Emacs process was linked against Guix=E2=80=99s libc, whereas libnss_sss.so was linked against Fedora=E2=80=99s libc. Hence the crash. When nscd is running, NSS extensions are loaded in the nscd process so there is no such problem. > Thanks for the help! Now that I=E2=80=99m sure that this is not a general > problem I can prepare to replace Fedora with GuixSD on my office > workstation. \o/ Thanks! Ludo=E2=80=99.