From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Tue, 03 Aug 2004 01:52:25 +0000 Subject: Re: Bug#263079: udev: missing mknod on ppp Message-Id: <410EEFD9.2020902@ums.usu.ru> List-Id: References: <20040802231148.GA19178@wonderland.linux.it> In-Reply-To: <20040802231148.GA19178@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Marco d'Itri wrote: > On Aug 03, Luke Kenneth Casson Leighton wrote: > > > thank you for pointing me at the README.Debian because it makes > > clear that for SE/Linux there are certain /dev entries that may not > > get fired up by udev, and consequently won't have se/linux > > permissions set! > > On debian, *all* devices are supposed to be created by udev if udev > is installed (because /dev is a tmpfs). I don't know why /dev/ppp is > not being created on your system. > Bedause the ppp-generic module is not autoloaded (put it into /etc/modules or see below). The same problem exists for all "non-hardware" modules. It can be solved by explicitly loading all these non-hardware modules at system startup. The following bootscriptlet loads all modules that potentially create devices and don't need hardware (i.e. exactly those drivers that are autoloaded on demand due to "char-major" aliases without udev): KVERSION=`uname -r` for module in `egrep '^alias (char|block)-major' \ /lib/modules/$KVERSION/modules.alias /etc/modprobe.conf | \ grep -v 1394 | awk '{print $3;}'` do modprobe $module done I think it should be a part of Debian udev package (add some blacklist facility if you wish). "grep -v 1394" is because of the kernel bug mentioned here: http://lkml.org/lkml/2004/5/30/143 -- Alexander E. Patrakov ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel