* 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
* bug#68057: i see the same when dropbear is the ssh server
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 ` Attila Lendvai
2024-09-30 19:29 ` bug#68057: scratch that Attila Lendvai
1 sibling, 0 replies; 3+ messages in thread
From: Attila Lendvai @ 2024-09-30 19:09 UTC (permalink / raw)
To: 68057@debbugs.gnu.org
my issue and this one may have the same root cause. my suspicion is that in both contexts some kind of integration is not triggering elogind (?) to create that directory.
my issue: i switched from openssh to dropbear (after their latest blunder), and after that i started to see this warning when i log into my servers through ssh (i.e. no local login from their consoles, only through ssh).
my root symptom was that emacs-tramp stopped working right after the switch.
apparently, it was due to a missing newline at the end of this warning that derailed tramp's prompt detection (fixed by https://git.savannah.gnu.org/cgit/guix.git/commit/?id=cbf46d2565112180fe7b316b2530293ed2d3acf3).
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“You will never know if someone is an asshole until he becomes rich.”
— Nassim Taleb (1960–)
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#68057: scratch that
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 ` Attila Lendvai
1 sibling, 0 replies; 3+ messages in thread
From: Attila Lendvai @ 2024-09-30 19:29 UTC (permalink / raw)
To: 68057@debbugs.gnu.org
> since there is no logind in the container
err, i should have paid more attention.
maybe my issue is not that closely related to this one.
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
God give me grace to accept with serenity the things that can not be changed,
the Courage to change the things which should be changed,
and the Wisdom to distinguish the one from the other.
— The Serenity Prayer
^ 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).