Re: devfs unable to handle permission: 2.4.17-pre[4,5]

Roman Zippel (zippel@linux-m68k.org)
Sun, 09 Dec 2001 23:26:50 +0100


Hi,

Richard Gooch wrote:

> There are some broken boot scripts (modelled after the long obsolete
> rc.devfs script)

Which is still included in the kernel tree and at least Mandrake is
currently using it.
There were no signs of deprecation, so people are legally using it.

> This is not actually a problem for leaf nodes, since the user-space
> created device nodes will still work. It just results in a warning
> message.

Wrong, these are not just warning messages, the driver API has changed.

> So, in this case, the device nodes that the user wants to use will
> still be there (created by the boot script) and will work fine.

Except the dynamic update of device nodes won't happen anymore, so it
affects also all leaf nodes in the directories (e.g. partition entries
won't be created/removed anymore). Events won't be created for these
nodes as well, so configurations depending on this are broken as well.

> The second issue was due to a broken devfsd configuration file which
> caused the wrong permissions to be set on a directory. This led to
> Roman thinking that the new devfs core was breaking stuff. As I've
> shown above, the breakage is a rare corner case involving an obsolete
> script.

"rare corner case"??? Richard, this isn't funny anymore. :-(
BTW restoring backward compatibility is probably just a couple of lines
code, but first you had to admit that it's broken.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/