all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31001: Emacs: "User xyz has no home directory"
@ 2018-03-30 22:50 Ivan Vilata i Balaguer
  2018-03-30 23:29 ` Adonay Felipe Nogueira
  0 siblings, 1 reply; 4+ messages in thread
From: Ivan Vilata i Balaguer @ 2018-03-30 22:50 UTC (permalink / raw)
  To: 31001

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31001: Emacs: "User xyz has no home directory"
  2018-03-30 22:50 bug#31001: Emacs: "User xyz has no home directory" Ivan Vilata i Balaguer
@ 2018-03-30 23:29 ` Adonay Felipe Nogueira
  2018-03-31 19:02   ` Leo Famulari
  2018-03-31 20:29   ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Adonay Felipe Nogueira @ 2018-03-30 23:29 UTC (permalink / raw)
  To: 31001

> 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.

> Thanks a lot!

You're welcome!

-- 
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
  instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
  Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
  GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
  (apenas sem DRM), PNG, TXT, WEBM.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31001: Emacs: "User xyz has no home directory"
  2018-03-30 23:29 ` Adonay Felipe Nogueira
@ 2018-03-31 19:02   ` Leo Famulari
  2018-03-31 20:29   ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2018-03-31 19:02 UTC (permalink / raw)
  To: Adonay Felipe Nogueira; +Cc: 31001-done

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31001: Emacs: "User xyz has no home directory"
  2018-03-30 23:29 ` Adonay Felipe Nogueira
  2018-03-31 19:02   ` Leo Famulari
@ 2018-03-31 20:29   ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-03-31 20:29 UTC (permalink / raw)
  To: Adonay Felipe Nogueira; +Cc: 31001-done

Adonay Felipe Nogueira <adfeno@hyperbola.info> skribis:

>> 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.

Indeed, specifically here:

  https://gnu.org/software/guix/manual/html_node/Application-Setup.html#Name-Service-Switch-1

So I’m closing this bug, thanks for the heads-up Ivan!

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-31 20:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-30 22:50 bug#31001: Emacs: "User xyz has no home directory" Ivan Vilata i Balaguer
2018-03-30 23:29 ` Adonay Felipe Nogueira
2018-03-31 19:02   ` Leo Famulari
2018-03-31 20:29   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.