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

Bug#829280: initramfs-tools: "cannot stat '/etc/modprobe.d/*'" warning from empty /etc/modprobe.d/



* Christoph Biedl [Sat Jul 02, 2016 at 12:17:11AM +0200]:

> when /etc/modprobe.d/ exists but is empty, update-initramfs issues
> a warning:

> | # update-initramfs  -k all -u
> | update-initramfs: Generating /boot/initrd.img-4.6.0-1-amd64
> | cp: cannot stat '/etc/modprobe.d/*': No such file or directory

> Besides cosmetical issues I wonder what happens if there are files that
> just are a reminder of dpkg conffile handling, like e.g.

> /etc/modprobe.d/pptpd.conf.dpkg-remove

> since appearently update-initramfs happily processes them. Which is
> probably not the right thing to do.

Right (while kmod ignores the non *.conf files - so no harm done -
it might still be confusing for the user).

Could you please give the package build from
http://jenkins.grml.org/job/initramfs-tools-binaries/architecture=amd64/154/
a try
(or if you prefer to test a patch see
http://anonscm.debian.org/cgit/kernel/initramfs-tools.git/commit/?h=mika/829280)
and let us know whether this works for you?

regards,
-mika-

Attachment: signature.asc
Description: Digital signature


Reply to: