[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#295687: marked as done (base-config: late_command run with TMPDIR not world-writable)



Your message dated Thu, 17 Feb 2005 12:17:04 -0500
with message-id <E1D1pGy-0004sB-00@newraff.debian.org>
and subject line Bug#295687: fixed in base-config 2.62
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Feb 2005 14:02:36 +0000
>From peter_e@gmx.net Thu Feb 17 06:02:36 2005
Return-path: <peter_e@gmx.net>
Received: from master.debian.org [146.82.138.7] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D1mEm-0001XQ-00; Thu, 17 Feb 2005 06:02:36 -0800
Received: from pd95006b4.dip0.t-ipconnect.de (bell.credativ.de) [217.80.6.180] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D1mEk-0003JD-00; Thu, 17 Feb 2005 08:02:35 -0600
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Peter Eisentraut <peter_e@gmx.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: base-config: late_command run with TMPDIR not world-writable
Bcc: Peter Eisentraut <peter_e@gmx.net>
X-Mailer: reportbug 3.2
Date: Thu, 17 Feb 2005 15:02:02 +0100
Message-Id: <[🔎] E1D1mEk-0003JD-00@master.debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	OUR_MTA_MSGID autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: base-config
Version: 2.53.5
Severity: normal

I'm building a custom Debian distribution based on the Debian installer.
I have preseeded a number of debconf settings amongst which
base-config/late_command is set to install some additional packages.  It is
set to this value:

mount /cdrom; dpkg --set-selections < /cdrom/get-selections.txt; apt-get -y dselect-upgrade; eject /cdrom

One of the packages installed is clamav-daemon.  When its postinst script runs
it tries to start the daemon (standard debhelper code), which fails like this:

Starting ClamAV daemon: LibClamAV Error: cli_cvdload(): Can't create temporary directory /tmp/base-config.1141/clamav-c72....
[...]
invoke-rc.d: initscript clamav-daemon action "start" failed.

Although clamav fails to tell why it can't create that directory, I'm pretty
sure it is because /tmp/base-config.1141 has mode 0755, not 1777 like /tmp
normally has.  ClamAV runs as its own user, so it can't access the TMPDIR,
where it tries to create its temporary directory.

In any case, changing the value of base-config/late_command to

TMPDIR=/tmp; export TMPDIR; mount /cdrom; dpkg --set-selections < /cdrom/get-selections.txt; apt-get -y dselect-upgrade; eject /cdrom

makes the problem go away.

Please make sure that TMPDIR has the correct permissions at all times.

---------------------------------------
Received: (at 295687-close) by bugs.debian.org; 17 Feb 2005 17:23:12 +0000
>From katie@ftp-master.debian.org Thu Feb 17 09:23:12 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D1pMt-00031V-00; Thu, 17 Feb 2005 09:23:11 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D1pGy-0004sB-00; Thu, 17 Feb 2005 12:17:04 -0500
From: Joey Hess <joeyh@debian.org>
To: 295687-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#295687: fixed in base-config 2.62
Message-Id: <E1D1pGy-0004sB-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 17 Feb 2005 12:17:04 -0500
Delivered-To: 295687-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: base-config
Source-Version: 2.62

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

base-config_2.62.dsc
  to pool/main/b/base-config/base-config_2.62.dsc
base-config_2.62.tar.gz
  to pool/main/b/base-config/base-config_2.62.tar.gz
base-config_2.62_all.deb
  to pool/main/b/base-config/base-config_2.62_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 295687@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated base-config 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.7
Date: Thu, 17 Feb 2005 11:54:36 -0500
Source: base-config
Binary: base-config
Architecture: source all
Version: 2.62
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 base-config - Debian base system configurator
Closes: 288059 291978 295687
Changes: 
 base-config (2.62) unstable; urgency=medium
 .
   * Joey Hess
     - Add menu item text for debconf-seed. Closes: #288059
     - The TMPDIR exporting broke some packages like clamav that need it world
       writable. TMPDIR was exported because other base-config menu scripts
       used it, but this is no longer the case, so stop exporting it, and in
       fact, rename the variable to something more descriptive. Closes: #295687
   * Colin Watson
     - Pass 'new' argument to prep-menu after Changes-Menu: too, otherwise
       finish never gets run.
     - apt-setup: Don't fail if we aren't on a tty.
   * Debconf translations
     - French translation update
     - Dutch translation update by Bart Cornelis
     - Portuguese translation by Miguel Figueiredo
     - Danish translation updated by Claus Hindsgaul
     - Japanese translation by Kenshi Muto
     - Tagalog translation by Eric Pareja
     - Greek translation update for Greek by Konstantinos Margaritis
     - Albanian update by Elian Myftiu
     - Basque translation update by Piarres Beobide Egana
     - Ukrainian translation update by Eugeniy Meshcheryakov
     - Lithuanian translation update by KÄ?stutis biliÅ«nas
     - Russian translation update
     - Spanish translation update
     - Brazilian Portuguese update
     - Romanian update
     - German update
     - Finnish update. Closes: #291978
     - Norwegian Bokmal update.
     - Indonesian update.
     - Arabic updated from Arabeyes CVS
     - Korean update.
     - Traditional Chinese update.
     - Galician update by Jacobo Tarrio
   * Programs translations
     - Indonesian update (plural forms corrected)
     - Arabic updated from Arabeyes CVS
     - Romanian updated
     - Tagalog translation by Eric Pareja
     - Malagasy translation by Jaonary Rabarisoa
     - New Galician translation by Jacobo Tarrio
Files: 
 2bc08c3954424ffeaf431556d6464c4b 715 base optional base-config_2.62.dsc
 37ad3347151d484cb919d415ecde5c02 394301 base optional base-config_2.62.tar.gz
 dbc2c61a3003c4162ad17aae0f2bd19e 314660 base optional base-config_2.62_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCFM2F2tp5zXiKP0wRAirKAJ4sdMPrhgbqFp38MlfD57zJGpUccgCeKjS0
98oxyEZvuwX7/aIsqS3VXNk=
=b+Ba
-----END PGP SIGNATURE-----



Reply to: