aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc/openrc/udev8
1 files changed, 5 insertions, 3 deletions
diff --git a/rc/openrc/udev b/rc/openrc/udev
index 88a4a42..699030c 100644
--- a/rc/openrc/udev
+++ b/rc/openrc/udev
@@ -84,9 +84,11 @@ check_openrc_net()
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}"