Debian Bug report logs -
#898949
schroot: PAM config should use common-session-noninteractive
Reported by: Ansgar Burchardt <ansgar@debian.org>
Date: Thu, 17 May 2018 17:39:02 UTC
Severity: important
Found in version schroot/1.6.10-3
Fixed in version schroot/1.6.10-14
Done: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>:
Bug#898949; Package schroot.
(Thu, 17 May 2018 17:39:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Ansgar Burchardt <ansgar@debian.org>:
New Bug report received and forwarded. Copy sent to Debian buildd-tools Developers <buildd-tools-devel@lists.alioth.debian.org>.
(Thu, 17 May 2018 17:39:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: schroot
Version: 1.6.10-3
Severity: important
The /etc/pam.d/schroot included in the package uses
@include common-session
Please use
@include common-session-noninteractive
instead as cron, at, ... already do.
On systems with libpam-systemd installed using common-session will
create a logind session which schroot should not do.
Ansgar
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#898949; Package schroot.
(Sat, 07 Sep 2019 09:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian QA Group <packages@qa.debian.org>.
(Sat, 07 Sep 2019 09:39:03 GMT) (full text, mbox, link).
Message #10 received at 898949@bugs.debian.org (full text, mbox, reply):
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.
Packages that use $XDG_RUNTIME_DIR are expected to have some sort of
reasonable fallback behaviour if it is not set at all (for example
dbus disables the features that need it, and some other packages use
~/.cache/foo as a fallback version of $XDG_RUNTIME_DIR/foo), but they
often do not have a graceful fallback path if $XDG_RUNTIME_DIR is set
to a path that is inaccessible, on the basis that they should do their
best to obey explicit requests from the user/environment ("the user is
always right").
smcv
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#898949; Package schroot.
(Sun, 08 Sep 2019 22:18:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Roger Leigh <rleigh@codelibre.net>:
Extra info received and forwarded to list. Copy sent to Debian QA Group <packages@qa.debian.org>.
(Sun, 08 Sep 2019 22:18:05 GMT) (full text, mbox, link).
Message #15 received at 898949@bugs.debian.org (full text, mbox, reply):
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?
Which Debian version introduced common-session-noninteractive?
Regards,
Roger
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#898949; Package schroot.
(Wed, 16 Mar 2022 15:36:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian QA Group <packages@qa.debian.org>.
(Wed, 16 Mar 2022 15:36:02 GMT) (full text, mbox, link).
Message #20 received at 898949@bugs.debian.org (full text, mbox, reply):
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]
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#898949; Package schroot.
(Mon, 06 Jun 2022 18:30:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Biedl <debian.axhn@manchmal.in-ulm.de>:
Extra info received and forwarded to list.
(Mon, 06 Jun 2022 18:30:07 GMT) (full text, mbox, link).
Message #25 received at 898949@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags 898949 pending
Ansgar Burchardt wrote...
> The /etc/pam.d/schroot included in the package uses
>
> @include common-session
>
> Please use
>
> @include common-session-noninteractive
>
> instead as cron, at, ... already do.
Well, Ubuntu this this change a few months ago, and this didn't seem to
create significant damage. Let's give it a spin for 1.6.10-14
Christoph
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
to 898949-submit@bugs.debian.org.
(Mon, 06 Jun 2022 18:30:07 GMT) (full text, mbox, link).
Message sent on
to Ansgar Burchardt <ansgar@debian.org>:
Bug#898949.
(Mon, 06 Jun 2022 21:21:04 GMT) (full text, mbox, link).
Message #30 received at 898949-submitter@bugs.debian.org (full text, mbox, reply):
Control: tag -1 pending
Hello,
Bug #898949 in schroot reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:
https://salsa.debian.org/debian/schroot/-/commit/f2fc22cb2d37b135abeff3f895504471f13d8871
------------------------------------------------------------------------
PAM: use common-session-noninteractive. Closes: #898949
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/898949
Message sent on
to Ansgar Burchardt <ansgar@debian.org>:
Bug#898949.
(Thu, 09 Jun 2022 08:24:03 GMT) (full text, mbox, link).
Message #33 received at 898949-submitter@bugs.debian.org (full text, mbox, reply):
Control: tag -1 pending
Hello,
Bug #898949 in schroot reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:
https://salsa.debian.org/debian/schroot/-/commit/acfddef6cc6ff433d65d29ebf5096e64073e7bd8
------------------------------------------------------------------------
PAM: Use common-session-noninteractive. Closes: #898949
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/898949
Reply sent
to Christoph Biedl <debian.axhn@manchmal.in-ulm.de>:
You have taken responsibility.
(Thu, 09 Jun 2022 08:39:10 GMT) (full text, mbox, link).
Notification sent
to Ansgar Burchardt <ansgar@debian.org>:
Bug acknowledged by developer.
(Thu, 09 Jun 2022 08:39:10 GMT) (full text, mbox, link).
Message #38 received at 898949-close@bugs.debian.org (full text, mbox, reply):
Source: schroot
Source-Version: 1.6.10-14
Done: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
We believe that the bug you reported is fixed in the latest version of
schroot, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 898949@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christoph Biedl <debian.axhn@manchmal.in-ulm.de> (supplier of updated schroot package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 09 Jun 2022 07:53:36 +0200
Source: schroot
Architecture: source
Version: 1.6.10-14
Distribution: unstable
Urgency: medium
Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Changed-By: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Closes: 865110 898949 965348 988274
Changes:
schroot (1.6.10-14) unstable; urgency=medium
.
* Support zstd compression for file based chroots. Closes: #988274
* Provide a proper systemd service file. Closes: #865110
* Update Portuguese translation. Closes: #965348
* PAM: Use common-session-noninteractive. Closes: #898949
Checksums-Sha1:
10249dede4100bcb777eee5b81bf265c6ed81a89 2224 schroot_1.6.10-14.dsc
7d8a945abde54a633b48bd37cc8a6ecc0d6d51f0 156600 schroot_1.6.10-14.debian.tar.xz
e69538424593ada17dd50d53660640298e4e5aa1 9555 schroot_1.6.10-14_powerpc.buildinfo
Checksums-Sha256:
5928bfda9a07c7a8b2923b2c9460b1c37c723999280e87ff0246cca60f1c4183 2224 schroot_1.6.10-14.dsc
1bc5627f4a5dab559c168f219e23f1d6e029c0ea34e4f0c4f6f72a6507d3a4ba 156600 schroot_1.6.10-14.debian.tar.xz
1fb0bdafa3968580c955b81b17d78524c1c2a54b746a85da8f3428b202ef8677 9555 schroot_1.6.10-14_powerpc.buildinfo
Files:
4e244c0ca9bdb8d2ef7dac34d23803b6 2224 admin optional schroot_1.6.10-14.dsc
137ddcecf63cae2aa7fe47b520ea8f35 156600 admin optional schroot_1.6.10-14.debian.tar.xz
5f98b999b1c056f012d7bf536aeb323d 9555 admin optional schroot_1.6.10-14_powerpc.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEWXMI+726A12MfJXdxCxY61kUkv0FAmKhptYACgkQxCxY61kU
kv01ZRAAt8/b7ICRp3/IImolXuZ2HLFGAwOFY0YtWj5SQOrtbiu8jm8Zu0iiKWxo
53PQDByK3v7aj0LvYPex//uiD3yPi4g2zqr8BFFlAbbaq1DP4GrNN0BU2M8zZIgr
DeTjqyGzsBgh3H/0a9FG4o41qEsAVgtpe8yIwtSM8lFMyeu/6naqHh4MoX0xRp00
fv/SM2Xvk7vcXRqDpWPqf2Qi9bGnIIH0ZVb/wwM1XEWPlSlPNTkn0HOyGDmXWFZB
3SRlB0VISYYm/ph7WCyaLsWroYaDd00rnvXreL0cwZYBvlhUVUgVlkp3ryhKcIzM
9w/yMj9DCeHcF5rGA15JkqaNKCKGR3ODtlv4Gi4l5ALSCHdUBIjhxJKIqe3PH7mK
6opOFfPqlRBksxwHhEnEt7RP0Zo6hmIvnet05NTcTYsQXiODelQDhgExnNhTLNFC
Q8fMO1Diue+D9qEl21VtUlFfHHl67eTXyfnfqltRvOe50tjETfxI4qiJ8BU7cAUu
ZKi1h6LDJBzXEE01ohMD9BMwcbnyJ5lw4i2VvBImWGy95tjBN9GDYAcahyoSf48t
I1QynJ/i1OQYl0Qiz9mAU/UoBWr+PmkTmdsAx1+pfeBN5PbGGMFy/UWPCrV1NUJf
WlLcCultd1h5obSNka/YP6pnWduygdcxxqF0qXR7RsHe6golcw0=
=Ya7F
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 08 Jul 2022 07:26:24 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Aug 8 02:03:39 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.