Control: affects -1 schroot Hi,
On Sun, 30 Oct 2016, Hilko Bengen wrote: > it seems that at least on the i386 and amd64 buildds, XDG_RUNTIME_DIR is > set to a nonexisting directory, /run/user/2952. I have been bitten by this too and chatted with Aurélien Jarno on #debian-buildd and it seems that this environment variable is set by the schroot PAM support due to pam_systemd. But this happens only when the buildd process is started by cron (such as on official build daemon) and not when it's started manually after having switched to the buildd user. That's likely some special casing done in pam_systemd. Aurélien summed up his investigation that way: 19:08 <aurel32> i really think the problem is related to libpam-systemd. When the buildd process ends up with loginuid != 2952 (e.g. started by hand), XDG_RUNTIME_DIR is not set 19:08 <aurel32> when started by cron, it ends up with loginuid = 2952, and then XDG_RUNTIME_DIR is set And a later test confirmed that removing libpam-systemd removed the environment variable. Cheers, -- ⢀⣴⠾⠻⢶⣦⠀ Raphaël Hertzog <hert...@debian.org> ⣾⠁⢠⠒⠀⣿⡁ ⢿⡄⠘⠷⠚⠋ The Debian Handbook: https://debian-handbook.info/get/ ⠈⠳⣄⠀⠀⠀⠀ Debian Long Term Support: https://deb.li/LTS