Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User <name> has no home directory #68

Closed
gigem opened this issue Sep 22, 2023 · 1 comment
Closed

User <name> has no home directory #68

gigem opened this issue Sep 22, 2023 · 1 comment

Comments

@gigem
Copy link

gigem commented Sep 22, 2023

I'm using the emacs 29 snap on Ubuntu 22.04 LTS. At startup, emacs reports the following.

■ Error (initialization): User dengel has no home directory

I'm pretty sure the problem stems from our use of sssd (configured in /etc/nsswitch.conf) with Microsoft Active Directory for login authentication and user info. Adding an entry to /etc/passwd for the user causes the emacs error to go away. Doing so causes other system issues so is not an acceptable solution.

I suspect the snap needs to be built with some extra NSS/SSS packages to work with our configuration. libnss-sss and libsss-nss-idmap0 look like good candidates.

gigem pushed a commit to gigem/emacs-snap that referenced this issue Sep 23, 2023
This fixes the "User <name> has no home directory" error (issue alexmurray#68)
in environments where sssd is used.
alexmurray pushed a commit that referenced this issue Sep 23, 2023
This fixes the "User <name> has no home directory" error (issue #68)
in environments where sssd is used.
alexmurray pushed a commit that referenced this issue Sep 23, 2023
This fixes the "User <name> has no home directory" error (issue #68)
in environments where sssd is used.
@alexmurray
Copy link
Owner

I have promoted the emacs 29.1 snap to stable with the fix from #69 - closing this as fixed. Thanks again @gigem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants