[Bug 1964615] Re: XDG_RUNTIME_DIR set to a non-existing directory in sbuild
Launchpad Bug Tracker
1964615 at bugs.launchpad.net
Wed Mar 16 23:13:36 UTC 2022
This bug was fixed in the package schroot - 1.6.10-12ubuntu3
---------------
schroot (1.6.10-12ubuntu3) jammy; urgency=medium
* Don't create a logind session (closes: #898949, LP: #1964615).
-- Colin Watson <cjwatson at ubuntu.com> Wed, 16 Mar 2022 15:30:36 +0000
** Changed in: schroot (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to schroot in Ubuntu.
https://bugs.launchpad.net/bugs/1964615
Title:
XDG_RUNTIME_DIR set to a non-existing directory in sbuild
Status in launchpad-buildd:
In Progress
Status in schroot package in Ubuntu:
Fix Released
Status in schroot package in Debian:
New
Bug description:
Starting yesterday we started seeing failures in different builds in a
PPA:
https://launchpad.net/~mir-team/+archive/ubuntu/dev/+build/23237481
I tracked it down to `XDG_RUNTIME_DIR` being set to `/run/user/$UID`
all of a sudden. Some other variables also got set (comparison against
a working build):
APT_CONFIG=/var/lib/sbuild/apt.conf
+DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/2001/bus
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LANG=C.UTF-8
@@ -20,3 +21,7 @@
TERM=unknown
USER=buildd
V=1
+XDG_RUNTIME_DIR=/run/user/2001
+XDG_SESSION_CLASS=background
+XDG_SESSION_ID=c81
+XDG_SESSION_TYPE=unspecified
To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad-buildd/+bug/1964615/+subscriptions
More information about the foundations-bugs
mailing list