Debian Bug report logs - #575070
Exclusive read-write lock in file db driver breaks running debconf as non-root

version graph

Package: debconf; Maintainer for debconf is Debconf Developers <debconf-devel@lists.alioth.debian.org>; Source for debconf is src:debconf (PTS, buildd, popcon).

Reported by: Sebastian Heinlein <devel@glatzor.de>

Date: Tue, 23 Mar 2010 09:42:01 UTC

Severity: normal

Found in version debconf/1.5.29

Fixed in version debconf/1.5.30

Done: Colin Watson <cjwatson@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, devel@glatzor.de, Debconf Developers <debconf-devel@lists.alioth.debian.org>:
Bug#575070; Package debconf. (Tue, 23 Mar 2010 09:42:05 GMT) (full text, mbox, link).


Acknowledgement sent to Sebastian Heinlein <devel@glatzor.de>:
New Bug report received and forwarded. Copy sent to devel@glatzor.de, Debconf Developers <debconf-devel@lists.alioth.debian.org>. (Tue, 23 Mar 2010 09:42:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Sebastian Heinlein <devel@glatzor.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Exclusive read-write lock in file db driver breaks running debconf as non-root
Date: Tue, 23 Mar 2010 10:36:57 +0100
Package: debconf
Version: 1.5.29
Severity: normal

Hello,

In aptdaemon we use debconf-communicate running in the user session and
the passthrough backend for the actual installation to show the debconf
questions to the user.

With the new required read write lock on the file backends (which are
the default) debconf-communicate refuses to run as non-root and so
breaks debconf handling in aptdaemon.

Furthermore it is no longer possible to test config scripts as non-root
with using DEBCONF_DEB_REPLACE which I did before.

Cheers,

Sebastian



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debconf depends on:
ii  debconf-i18n                  1.5.29     full internationalization support 
ii  perl-base                     5.10.1-11  minimal Perl system

Versions of packages debconf recommends:
ii  apt-utils                     0.7.25.3   APT utility programs

Versions of packages debconf suggests:
ii  debconf-doc               1.5.29         debconf documentation
ii  debconf-utils             1.5.29         debconf utilities
ii  dialog                    1.1-20100119-2 Displays user-friendly dialog boxe
ii  gnome-utils               2.28.1-1       GNOME desktop utilities
ii  libgnome2-perl            1.042-2        Perl interface to the GNOME librar
ii  libnet-ldap-perl          1:0.39-1       client interface to LDAP servers
pn  libterm-readline-gnu-perl <none>         (no description available)
ii  perl                      5.10.1-11      Larry Wall's Practical Extraction 
ii  whiptail                  0.52.10-8      Displays user-friendly dialog boxe

-- debconf-show failed




Reply sent to Colin Watson <cjwatson@debian.org>:
You have taken responsibility. (Tue, 23 Mar 2010 10:33:05 GMT) (full text, mbox, link).


Notification sent to Sebastian Heinlein <devel@glatzor.de>:
Bug acknowledged by developer. (Tue, 23 Mar 2010 10:33:05 GMT) (full text, mbox, link).


Message #10 received at 575070-close@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: 575070-close@bugs.debian.org
Subject: Bug#575070: fixed in debconf 1.5.30
Date: Tue, 23 Mar 2010 10:32:30 +0000
Source: debconf
Source-Version: 1.5.30

We believe that the bug you reported is fixed in the latest version of
debconf, which is due to be installed in the Debian FTP archive:

debconf-doc_1.5.30_all.deb
  to main/d/debconf/debconf-doc_1.5.30_all.deb
debconf-english_1.5.30_all.deb
  to main/d/debconf/debconf-english_1.5.30_all.deb
debconf-i18n_1.5.30_all.deb
  to main/d/debconf/debconf-i18n_1.5.30_all.deb
debconf-utils_1.5.30_all.deb
  to main/d/debconf/debconf-utils_1.5.30_all.deb
debconf_1.5.30.dsc
  to main/d/debconf/debconf_1.5.30.dsc
debconf_1.5.30.tar.gz
  to main/d/debconf/debconf_1.5.30.tar.gz
debconf_1.5.30_all.deb
  to main/d/debconf/debconf_1.5.30_all.deb



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 575070@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated debconf 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 23 Mar 2010 10:18:00 +0000
Source: debconf
Binary: debconf debconf-i18n debconf-english debconf-doc debconf-utils
Architecture: source all
Version: 1.5.30
Distribution: unstable
Urgency: low
Maintainer: Debconf Developers <debconf-devel@lists.alioth.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 debconf    - Debian configuration management system
 debconf-doc - debconf documentation
 debconf-english - small footprint English-only debconf
 debconf-i18n - full internationalization support for debconf
 debconf-utils - debconf utilities
Closes: 575070
Changes: 
 debconf (1.5.30) unstable; urgency=low
 .
   * Don't open file databases read-write if the database is read-only, or if
     the file isn't writable (e.g. running debconf as non-root).  Closes:
     #575070
Checksums-Sha1: 
 70c6f296bed939d6800a887e284cf18c0b43ef83 1146 debconf_1.5.30.dsc
 9381865ce082feac25b975c9807d258fe2624b52 768374 debconf_1.5.30.tar.gz
 0bc0754ddd6479ee2698e2675ddb5e9ad589f3a3 149458 debconf_1.5.30_all.deb
 150ca3f5499fb0e996b5a0d2308b99b75c0edc0d 187288 debconf-i18n_1.5.30_all.deb
 59a23eeeba13b3d13532696af9646d2b7f1a3715 854 debconf-english_1.5.30_all.deb
 558eef5f91a6d04f16512d444488fdcbad169bd2 240030 debconf-doc_1.5.30_all.deb
 d99f30de3a1a4dc2533e0c5ad9c36b6d765e3646 40434 debconf-utils_1.5.30_all.deb
Checksums-Sha256: 
 1b67cbef4575c3913605b903a4253fd823b7ffc9f3006aa6b3c8e082fbd38ae4 1146 debconf_1.5.30.dsc
 0dc463ee1c54c0dc30128d5099c840ee2018afcc148ea693bd17767824ad7193 768374 debconf_1.5.30.tar.gz
 1c2acc9788f2e41b11ab9f447cec04d6bb564d37d55b0289cd41ac0878cb7904 149458 debconf_1.5.30_all.deb
 9d3f1ee5623117f2a645ef27107dd602aa724e965ef9ed79fb9c4da7a91282d4 187288 debconf-i18n_1.5.30_all.deb
 c6f899b4a543f99c392f5ac8e565de011b21eccd675e25342a16cce5c84423fe 854 debconf-english_1.5.30_all.deb
 fbc934a5befdd4c5e7f6d481ff79383e91ce1e36fab444c3b9762a014cdaf8ff 240030 debconf-doc_1.5.30_all.deb
 0101380b1a2f17fa61e4513362a32b4e37fe2f87b8e106d76d9661e519d1b494 40434 debconf-utils_1.5.30_all.deb
Files: 
 f59935dd4592779b016d8b58f8bb2c47 1146 admin optional debconf_1.5.30.dsc
 c67d980a5eb829e5026d35da1a0cabfc 768374 admin optional debconf_1.5.30.tar.gz
 3a34e28cb731a814cca05589daa1670f 149458 admin important debconf_1.5.30_all.deb
 98c0ac3c0b73d4e13879127df1cef942 187288 localization important debconf-i18n_1.5.30_all.deb
 aea1d093cfd5ab8b18161eb3ef01d083 854 admin extra debconf-english_1.5.30_all.deb
 425b1f1341348eabbff9afe696a0c9bf 240030 doc optional debconf-doc_1.5.30_all.deb
 52b7a4b78be3cfd225827e00c0c0af9e 40434 devel optional debconf-utils_1.5.30_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iD8DBQFLqJXz9t0zAhD6TNERAoMGAJ9o63q1IXdAJtSB+zOQiY7OprSd9ACfek4P
MmsHhcZ3QxJiq/cJdX8Y4Ks=
=j4X5
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 21 Apr 2010 07:38:15 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: Sun Jan 7 23:13:43 2018; Machine Name: beach

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.