unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#68057: home container: XDG_RUNTIME_DIR doesn't exists, on-first-login script won't execute anything.
@ 2023-12-27 10:43 Mikhail Tsykalov
  2024-09-30 19:09 ` bug#68057: i see the same when dropbear is the ssh server Attila Lendvai
  2024-09-30 19:29 ` bug#68057: scratch that Attila Lendvai
  0 siblings, 2 replies; 3+ messages in thread
From: Mikhail Tsykalov @ 2023-12-27 10:43 UTC (permalink / raw)
  To: 68057


[-- Attachment #1.1: Type: text/plain, Size: 937 bytes --]

When running "guix home container test-config.scm" (attached) the 
following warning appears on screen:

warning: XDG_RUNTIME_DIR doesn't exists, on-first-login script
won't execute anything.  You can check if xdg runtime directory exists,
XDG_RUNTIME_DIR variable is set to appropriate value and manually execute the
script by running '$HOME/.guix-home/on-first-login'

I don't know if on-first-login does anything useful when run in the 
container, but the warning looks scary.

A lot of users don't hit it because they run shepherd which creates 
XDG_RUNTIME_DIR in the process of creating a command socket.

I think that "guix home container" should create XDG_RUNTIME_DIR by 
itself, since there is no logind in the container.

This warning was discussed before in https://issues.guix.gnu.org/56758.

There was also this IRC discussion 
https://logs.guix.gnu.org/guix/2023-12-27.log#083824 that prompted me to 
file this bugreport.

[-- Attachment #1.2: Type: text/html, Size: 1392 bytes --]

[-- Attachment #2: test-config.scm --]
[-- Type: text/x-scheme, Size: 167 bytes --]

(use-modules (gnu home)
             (gnu services)
             (gnu home services shells))

(home-environment
 (services
  (list (service home-bash-service-type))))

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

end of thread, other threads:[~2024-09-30 19:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-27 10:43 bug#68057: home container: XDG_RUNTIME_DIR doesn't exists, on-first-login script won't execute anything Mikhail Tsykalov
2024-09-30 19:09 ` bug#68057: i see the same when dropbear is the ssh server Attila Lendvai
2024-09-30 19:29 ` bug#68057: scratch that Attila Lendvai

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).