Bug#898949: schroot: PAM config should use common-session-noninteractive
- To: Roger Leigh <rleigh@codelibre.net>, 898949@bugs.debian.org
- Cc: Simon McVittie <smcv@debian.org>, Ansgar Burchardt <ansgar@debian.org>
- Subject: Bug#898949: schroot: PAM config should use common-session-noninteractive
- From: Colin Watson <cjwatson@debian.org>
- Date: Wed, 16 Mar 2022 15:32:05 +0000
- Message-id: <[🔎] YjIC9RDrVLAC0EdV@riva.ucam.org>
- Reply-to: Colin Watson <cjwatson@debian.org>, 898949@bugs.debian.org
- In-reply-to: <abbef7ae-46fe-eaf3-0965-22d9ceb0b9a0@codelibre.net>
- References: <152657857177.22062.1621200822681493695.reportbug@daikoku.43-1.org> <152657857177.22062.1621200822681493695.reportbug@daikoku.43-1.org> <20190907093017.GA4750@espresso.pseudorandom.co.uk> <152657857177.22062.1621200822681493695.reportbug@daikoku.43-1.org> <abbef7ae-46fe-eaf3-0965-22d9ceb0b9a0@codelibre.net> <152657857177.22062.1621200822681493695.reportbug@daikoku.43-1.org>
On Sun, Sep 08, 2019 at 10:41:52PM +0100, Roger Leigh wrote:
> On 07/09/2019 10:30, Simon McVittie wrote:
> > On Thu, 17 May 2018 at 19:36:11 +0200, Ansgar Burchardt wrote:
> > > On systems with libpam-systemd installed using common-session will
> > > create a logind session which schroot should not do.
> > In particular, creating a logind session results in $XDG_RUNTIME_DIR
> > being set inside the chroot, to a path that only exists outside the chroot.
>
> Should this path be bound into the chroot?
It's hard to see how it's useful for schroot to create a logind session
on the host system at all.
> Which Debian version introduced common-session-noninteractive?
pam 1.0.1-11, which is sufficiently long ago (2009, well before
oldoldoldstable) that it no longer needs to be specified in
dependencies.
--
Colin Watson (he/him) [cjwatson@debian.org]
Reply to: