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

Bug#246993: marked as done (Modprobe warnings during reboots when clock is set to local time)



Your message dated Thu, 06 May 2004 21:32:02 -0400
with message-id <E1BLuDa-0005Oy-00@newraff.debian.org>
and subject line Bug#246993: fixed in base-config 2.21
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; 2 May 2004 17:29:18 +0000
>From aragorn@tiscali.nl Sun May 02 10:29:18 2004
Return-path: <aragorn@tiscali.nl>
Received: from (elrond.fjphome.nl) [195.240.184.66] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BKKmE-0002fA-00; Sun, 02 May 2004 10:29:18 -0700
Received: from galadriel.fjphome.nl ([10.19.66.21] ident=fjp)
	by elrond.fjphome.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1BKKlh-0004B5-00
	for <submit@bugs.debian.org>; Sun, 02 May 2004 19:28:45 +0200
From: Frans Pop <aragorn@tiscali.nl>
To: submit@bugs.debian.org
Subject: Modprobe warnings during reboots when clock is set to local time
Date: Sun, 2 May 2004 19:28:44 +0200
User-Agent: KMail/1.6
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200405021928.44768.aragorn@tiscali.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Package: debian-installer
Version: beta4 (20040429)
Severity: minor

If I reboot my system shortly after the installation is completed (including 
2nd stage), I will get the following warning several times during boot:
   Modprobe: Note: /etc/modules.conf is more recent than 
   /lib/modules/2.4.25-1-386/modules.dep

These messages disappear when the reboot takes place more than 2 hours after 
installation.

Cause of this error is timezone configuration during 2nd stage: Netherlands 
(UTC+02:00) with internal clock _not_ set to UTC.
- during 1st stage:
  . /lib/modules/<kernelversion>/modules.dep is created, e.g. with time 17:12
  . /etc/modules.conf is created, e.g. with time 17:18
- during reboot after 1st stage module dependencies are calculated:
  . /lib/modules/<kernelversion>/modules.dep is updated, e.g. with time 17:23
- after timezone configuration 'ls --full-time' shows
  . /lib/modules/<kernelversion>/modules.dep 19:23 +02:00
  . /etc/modules.conf 19:18 +02:00
- during next reboot, modules.dep is again updated, for example:
  . /lib/modules/<kernelversion>/modules.dep 17:45 +02:00
At that moment the timestamp for modules.dep is smaller than for modules.conf, 
resulting in the warnings during the rest of the boot.

This could easily be avoided by touching both files during 2nd stage 
installation (after timezone configuration) if UTC=no in /etc/defaults/rcS.
Something like the code below would do this, but I am not sure where best to 
include it as I think it should only be run during initial configuration.

if grep "^UTC=no" /etc/default/rcS >/dev/null; then
	touch /etc/modules.conf
	if [ -f /lib/modules/`uname -r`/modules.dep ] ; then
		touch /lib/modules/`uname -r`/modules.dep
	fi
fi

(Note: '^UTC=no' is necessary because UTC=no is also part of a comment;
'^[:blanc:]*UTC=no' should also work.)

---------------------------------------
Received: (at 246993-close) by bugs.debian.org; 7 May 2004 01:38:02 +0000
>From katie@ftp-master.debian.org Thu May 06 18:38:02 2004
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 1BLuJO-0006vY-00; Thu, 06 May 2004 18:38:02 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BLuDa-0005Oy-00; Thu, 06 May 2004 21:32:02 -0400
From: Joey Hess <joeyh@debian.org>
To: 246993-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#246993: fixed in base-config 2.21
Message-Id: <E1BLuDa-0005Oy-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 06 May 2004 21:32:02 -0400
Delivered-To: 246993-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: base-config
Source-Version: 2.21

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.21.dsc
  to pool/main/b/base-config/base-config_2.21.dsc
base-config_2.21.tar.gz
  to pool/main/b/base-config/base-config_2.21.tar.gz
base-config_2.21_all.deb
  to pool/main/b/base-config/base-config_2.21_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 246993@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,  6 May 2004 21:20:48 -0400
Source: base-config
Binary: base-config
Architecture: source all
Version: 2.21
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: 244577 246993 247324
Changes: 
 base-config (2.21) unstable; urgency=medium
 .
   * Joey Hess
     - Improved the pon menu item's .tst file.
     - Ask apt-setup/cd/another at high priority. Closes: #244577
     - Patch from Frans Pop to work around modules.conf/modules.dep timestamp
       problem that occurs if the time zone configuration during initial
       install moves the timestamps of these files into the future. Then on
       reboot, modules.dep is updated, and ends up having an earlier timestamp
       than modules.conf, which resulted in an error. To fix, touch both files
       after changing time zone. Closes: #246993
     - Add support for jumping around in the menu via a jump-to file that
       the name of a menu item can be written to.
     - Support menu files that are symlinks, as used by debian-edu-install.
   * Denis Barbier
     - Add support for ISO-8859-9 encoding for Turkish.  Closes: #247324
   * Translation updates
     - French by Christian Perrier
Files: 
 cf241bd0fa9bd0e96ba6a16a3e56a756 638 base optional base-config_2.21.dsc
 685a74367f54d61895537e21691ae818 357681 base optional base-config_2.21.tar.gz
 c2971ad5758ace45b5c4faf0f08504e4 286192 base optional base-config_2.21_all.deb

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

iD8DBQFAmuSw2tp5zXiKP0wRAg2dAJ91wVk0AjT8cstaPJvSjiW63cN1GQCgsw6R
jNTmaKpYuHQjn4sF0Tvpdnc=
=2z7Z
-----END PGP SIGNATURE-----



Reply to: