[Pkg-acpi-devel] Bug#563915: Requesting loading of all modules in defaults/acpid fails

Gunter Ohrner G.Ohrner at post.rwth-aachen.de
Wed Jan 6 10:39:55 UTC 2010


Package: acpid
Version: 1:2.0.0-1
Severity: normal
Tags: patch

Specifying MODULES="all" in /etc/defaults/acpid does not work on my system.

I'm running a Debian-packaged 2.6.32-trunk-686 kernel.

All lines in my modules.dep file start with "kernel/drivers/", ie. use relative
directory names instead of absolute names.

However, the RegExp used by /etc/init.d/acpid to process this file assumes all
directory names to be absolute, which loads to an empty list of modules on my
system.

Changing the mentioned regular expression from

  ^/lib/modules/[^/]+/kernel/(drivers|ubuntu)/acpi/([^/]+/)*(.*)\.ko:.

to

  ^(/lib/modules/[^/]+/)?kernel/(drivers|ubuntu)/acpi/([^/]+/)*(.*)\.ko:.*

(and adjusting the group number in the sed expression from \3 to \4)

fixes the bug for me.

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

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpid depends on:
ii  libc6                         2.10.2-3   Embedded GNU C Library: Shared lib
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  module-init-tools             3.11-1     tools for managing Linux kernel mo

Versions of packages acpid recommends:
ii  acpi-support-base             0.131-5    scripts for handling base ACPI eve

acpid suggests no packages.

-- debconf information:
  acpid/noacpi:
* acpid/modules: all





More information about the Pkg-acpi-devel mailing list