diff options
Diffstat (limited to 'main/udev/udev.initd')
-rw-r--r-- | main/udev/udev.initd | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/main/udev/udev.initd b/main/udev/udev.initd index e48ea9b675..1a9869d80e 100644 --- a/main/udev/udev.initd +++ b/main/udev/udev.initd @@ -19,7 +19,7 @@ depend() before checkfs fsck # udev does not work inside vservers - keyword novserver nolxc noopenvz + keyword novserver nolxc } cleanup() @@ -58,9 +58,11 @@ rules_disable_switch() start_udevd() { - # load unix domain sockets if built as module, Bug #221253 - if [ -e /proc/modules ] ; then - modprobe -q unix 2>/dev/null + # load unix domain sockets if built as module, Bug #221253 and not yet loaded, Bug #363549 + if [ ! -e /proc/net/unix ]; then + if ! modprobe unix; then + eerror "Cannot load the unix domain socket module" + fi fi local opts="${udev_opts}" |