mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: WANG Cong <xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: dracut: automatically add "unix" kernel module
Date: Fri, 12 Aug 2011 08:47:43 +0200	[thread overview]
Message-ID: <4E44CC8F.9090202@redhat.com> (raw)
In-Reply-To: <j22hvk$i9s$1@dough.gmane.org>

On 12.08.2011 08:41, WANG Cong wrote:
> On Fri, 12 Aug 2011 08:01:20 +0200, Harald Hoyer wrote:
> 
>> On 12.08.2011 01:01, Dennis Schridde wrote:
>>> Hello!
>>>
>>> Dracut currently does not seem to automatically include the "unix"
>>> kernel module in the initramfs, which causes udev to be unable to start
>>> ("address family not supported by protocol").
>>>
>>> It should be adjusted to include it if possible.
>>>
>>> I am using dracut-011 and had to set add_drivers+="unix" in dracut.conf
>>> to be able to boot my system.
>>>
>>> Kind regards,
>>> Dennis
>>
>> Just add a file /etc/modprobe.d/myaliases.conf to your system,
>> containing: alias net-pf-1 unix
> 
> The kernel already does the same thing:
> 
> MODULE_ALIAS_NETPROTO(PF_UNIX);
> 
> don't know why udev can't load it automatically...

Not udev... it should be kernel itsself via:

$ cat /proc/sys/kernel/modprobe
/sbin/modprobe

  reply	other threads:[~2011-08-12  6:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-11 23:01 dracut: automatically add "unix" kernel module Dennis Schridde
2011-08-12  6:01 ` Harald Hoyer
2011-08-12  6:41   ` WANG Cong
2011-08-12  6:47     ` Harald Hoyer [this message]
     [not found]   ` <4E44C1B0.7050605-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-08-12  7:58     ` Dennis Schridde
2011-08-12  8:09       ` Harald Hoyer
2011-08-15  6:21         ` WANG Cong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E44CC8F.9090202@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox