Subject: Bug#3781: "depmod -a" runs out of fd's, complains about configuration file

From: [email-masked] (Bruce Perens)
Date: Sun, 14 Jul 96 19:39 PDT

Package: modules
Version: 2.0.0-4

The command "depmod -a" fails on my system, complaining that it
can't open /lib/modules/current . It's run out of file descriptors.
Strace shows the problem clearly, a trace is appended to this
message. To repair it:

	In depmod/depmod.c, change the "Can't open" message to print
	strerror(errno) as well as the file name.

	In depmod/load_obj.c, add the missing fclose() calls to match
	the fopen().

Please communicate these changes back to the upstream maintainer if
this has not yet been repaired upstream.

	Thanks

	Bruce

--
The "Toy Story Animated Storybook" CD was the best selling software product
during the month of May, outselling the Windows '95 upgrade, Quicken, etc.
Bruce Perens AB6YM          [email-masked]            http://www.hams.com/

---

From: Michael Meskes <[email-masked]>
Date: Mon, 29 Jul 1996 10:31:10 +0200 (MET DST)

> 	In depmod/load_obj.c, add the missing fclose() calls to match

Done. I'll upload 2.0.0-6 as soon as I'm back in the office, i.e. in the
next two days.

> this has not yet been repaired upstream.

Did that, too.

Michael
-- 
Michael Meskes                   |    _____ ________ __  ____
[email-masked] |   / ___// ____/ // / / __ \___  __________
[email-masked]                  |   \__ \/ /_  / // /_/ /_/ / _ \/ ___/ ___/
[email-masked]                |  ___/ / __/ /__  __/\__, /  __/ /  (__  )
Use Debian Linux!		 | /____/_/      /_/  /____/\___/_/  /____/