Bug#595094: linux-base: /etc/initramfs-tools/conf.d/resume^old causes trouble
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Bug#595094: linux-base: /etc/initramfs-tools/conf.d/resume^old causes trouble
- From: Christian Hammers <ch@debian.org>
- Date: Wed, 01 Sep 2010 01:00:30 +0200
- Message-id: <20100831230030.3472.9466.reportbug@james.intern>
- Reply-to: Christian Hammers <ch@debian.org>, 595094@bugs.debian.org
Package: linux-base
Version: 2.6.33-1~experimental.4
Severity: normal
Hello
Since upgrading to 2.6.32-5-amd64 my system does not boot every time. It then
hangs after identifying all SATA discs in script called "local-premount" with a
message saying that it cannot find the resume drive /dev/sda2 and I should
press enter.
As my USB keyboard is not working at this point I usually do a hard reset and
then most of the time the boot continues.
I was wondering where the /dev/sda2 was coming from as my GRUB and fstab
contain UUID resp. /dev/disk/by-name labels. The only occurence which grep
found was a /etc/initramfs-tools/conf.d/resume^old with a timestamp from
2008-01-14 next to a file "resume" which contains the correct UUID.
As I would never use a ^ character in a filename I looked in /var/lib/dpkg/info
and found linux-base.postinst which does so an has an interesting comment next
to it:
{packages => 'initramfs-tools',
path => '/etc/initramfs-tools/conf.d/resume',
list => \&initramfs_resume_list,
update => \&initramfs_resume_update,
# udev will source all files in this directory,
# with few exceptions. Such as including a '^'.
suffix => '^old'},
I could not find a corresponding filter in the udev sources so I would assume
that this exception is no longer given.
Can you check this and if true add a line to the postinst file that removes all
present resume^old files? They might cause trouble to others as well.
bye,
-christian-
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (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/bash
Versions of packages linux-base depends on:
ii debconf [debconf-2.0] 1.5.35 Debian configuration management sy
ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg
ii libuuid-perl 0.02-4 Perl extension for using UUID inte
linux-base recommends no packages.
linux-base suggests no packages.
-- debconf information:
linux-base/disk-id-manual:
linux-base/disk-id-convert-plan-no-relabel: true
* linux-base/disk-id-convert-plan: true
* linux-base/disk-id-convert-auto: true
Reply to: