Package: module-init-tools
Version: 3.10-2
Severity: normal

After upgrading to 3.10-1, I started noticing warnings on modprobe, and
thus also at boot time:

WARNING: All config files need .conf: /etc/modprobe.d/arch, it will be ignored 
in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/arch-aliases, it will be 
ignored in a future release.

Sure enough, I do have /etc/modprobe.d/arch/x86_64 and
/etc/modprobe.d/arch-aliases; they don't seem to have gotten removed.

I looked at the code in the preinst that removes these:

>  for file in i386 x86_64 mips s390 parisc sparc powerpc.apus \
>       powerpc.generic powerpc.pmac m68k.amiga m68k.atari m68k.generic; do
>    [ -e "/etc/modprobe.d/arch/$file" ] || break
>    rm_conffile /etc/modprobe.d/arch/$file
>  done
>  rmdir /etc/modprobe.d/arch/ 2> /dev/null || true
>  if [ -L /etc/modprobe.d/arch-aliases \
>      -a ! -e /etc/modprobe.d/arch-aliases ]; then
>    rm /etc/modprobe.d/arch-aliases
>  fi

It looks like the first for loop won't work correctly on any non-i386 platform,
such as x86_64.  In the very first iteration, it will break out of the loop
because /etc/modprobe.d/arch/i386 doesn't exist.  Did you perhaps want
s/break/continue/, or alternatively "&& rm_conffile ..."?

Thanks,
Josh Triplett

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

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages module-init-tools depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip

module-init-tools recommends no packages.

module-init-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to