--- Begin Message ---
Subject: |
Emacs: "User xyz has no home directory" |
Date: |
Fri, 30 Mar 2018 18:50:37 -0400 |
User-agent: |
Mutt/1.9.3 (2018-01-21) |
Hi there,
After updating Emacs to 25.3 (now sitting at
`/gnu/store/6cflji7h6y0v15dvnccv7paaa7894gdc-emacs-25.3`), on start it
doesn't load configuration and it shows this error:
Error (initialization): User <USERNAME> has no home directory
I do have a home directory, it's working and my user is in
`/etc/passwd`.
I found this link to describe the same issue in Nix, and the same fix
that worked for me (i.e. install `nscd`):
<https://github.com/NixOS/nixpkgs/issues/12335>
I'm running Guix `d4e0ebd016091695adbad8ecdb7de03c0fbd7bf5` under Debian
Sid; relevant entries in `/etc/nsswitch.conf` are:
passwd: compat systemd
group: compat systemd
shadow: compat
Thanks a lot!
--
Ivan Vilata i Balaguer -- https://elvil.net/
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#31001: Emacs: "User xyz has no home directory" |
Date: |
Sat, 31 Mar 2018 15:02:47 -0400 |
User-agent: |
Mutt/1.9.3 (2018-01-21) |
On Fri, Mar 30, 2018 at 08:29:58PM -0300, Adonay Felipe Nogueira wrote:
> > I found this link to describe the same issue in Nix, and the same fix
> > that worked for me (i.e. install `nscd`):
> > <https://github.com/NixOS/nixpkgs/issues/12335>
>
> Indeed, I think that the GNU Guix info pages already documents
> this. Back in some months ago, it was documented but wasn't felt like a
> requirement, but a change in glibc --- I guess --- now requires the
> nscd from the *foreign/host* distro installed and running.
Correct, this is bug <https://bugs.gnu.org/30298>. The issue is that the
recent glibc changed how it does these name lookups in the recent
update.
signature.asc
Description: PGP signature
--- End Message ---