Re: [PATCH] Force UNIX domain sockets to be built in



when i had that module modular and added to the initrd, udev didn`t work, though.
same error message:

udevd[1226]: init_udev_socket: error getting socket: Address family not supported by protocol

not sure if i did a mistake here....

anyway, this message is not obvious to the end user.

i like the kernel being modular, but i also like it if things "just work" - and with "allmodconfig", modular UNIX domain sockets seem to create hassle.
(see http://forums.gentoo.org/viewtopic-t-476363-highlight-.html or http://forums.gentoo.org/viewtopic-t-463793-highlight-.html )


so, if this patch is being rejected, maybe it would be useful if udev would give a proper hint, if it`s missing this kernel feature.

btw, udev documentation telling this:

- The kernel must have sysfs, unix domain sockets and networking enabled.
(unix domain sockets (CONFIG_UNIX) as a loadable kernel module may work,
but it is completely silly - don't complain if anything goes wrong.)

furthermore, if this needs to be modular, then i`d please have tcp/ip networking modular, too. :)

regards
roland

ps:
not being a skilled programmer, so this is mostly an admins/users perspective.



From: Bodo Eggert <7eggert@xxxxxx>
Date: Mon, 31 Dec 2007 13:09:43 +0100 (CET)

As suggested by Adrian Bunk, UNIX domain sockets should always be built in
on normal systems. This is especially true since udev needs these sockets
and fails to run if UNIX=m.

Signed-Off-By: Bodo Eggert <7eggert@xxxxxx>

People who use udev can make sure they have it built into their kernel
if they have such a dependency.

Not everyone uses udev, and therefore needs AF_UNIX non-modular.

I keep seeing this crap patch get submitted and I'm going to keep
dropping it because it's bogus.

It seems to stem from some filesystem interface or whatever that the
VFS folks don't want to export or one they want to now stop exporting.

But that is a really cruddy reason to want to force AF_UNIX to not
be allowed to be modular, and the udev thing just makes it more of a
joke rather than a good technical reason.



_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

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



Relevant Pages

  • Re: devfs vs udev, thoughts from a devfs user
    ... into sysfs, what about a little thought experiment. ... contest is basically the same thing for the kernel. ... devfs is just one more filesystem of many. ... But again, you're talking about udev and devfs, when you ...
    (Linux-Kernel)
  • Re: Problem with the serial port in Fedora Core 6
    ... kernel or that LVM isn't compiled into the kernel but rather is a ... especially with regard to the serial ports. ... bugzilla the missing ttyS's, but bugzilla didn't like my password. ... But, I'll repeat myself AGAIN, I don't think udev has anything to do ...
    (Fedora)
  • Re: Documentation for sysfs, hotplug, and firmware loading.
    ... I want to document a stable API, including the subset of sysfs that will ... and udev should be in the kernel source tarball. ... If you recurse down under /sys/class following symlinks, ...
    (Linux-Kernel)
  • Re: /etc/udev/rules.d and permissions in /dev/usb
    ... The udevsynthesize/uevent approach actually found a bug in the kernel ... >> It was there from the start of udev. ... Well, it's not a problem for you, but I've got SCSI disks... ...
    (uk.comp.os.linux)
  • Re: Problem with the serial port in Fedora Core 6 -xen kernel
    ... put an entry into 'udev' rules was the suggested recommendation for the ... Since xen is a category on the installer if you choose to install virtualization, many other people have installed the xen kernel and were caught with real hardware problems. ... I don't agree with you a bit that it wasn't a udev problem ...
    (Fedora)