mkinitrd unification across distributions
 help / color / mirror / Atom feed
* [PATCH 4/7] add nobody group for rpc.idmapd
@ 2012-02-02  7:59 Dave Young
       [not found] ` <20120202075959.GA12416-4/PLUo9XfK+sDdueE5tM26fLeoKvNuZc@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Young @ 2012-02-02  7:59 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA
  Cc: xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w,
	harald-H+wXaHxf7aLQT0dZR+AlfA

Add nobody group due to rpc.idmapd will fail to startup without nobody group

Signed-off-by: Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
 modules.d/95nfs/module-setup.sh |    1 +
 1 file changed, 1 insertion(+)

--- dracut.orig/modules.d/95nfs/module-setup.sh	2012-02-02 15:40:25.000000000 +0800
+++ dracut/modules.d/95nfs/module-setup.sh	2012-02-02 15:41:01.214407426 +0800
@@ -69,6 +69,7 @@ install() {
     egrep '^rpc:' /etc/passwd >> "$initdir/etc/passwd"
     egrep '^rpcuser:' /etc/passwd >> "$initdir/etc/passwd"
     #type -P nologin >/dev/null && dracut_install nologin
+    egrep '^nobody:' /etc/group >> "$initdir/etc/group"
     egrep '^rpc:' /etc/group >> "$initdir/etc/group"
 
     # rpc user needs to be able to write to this directory to save the warmstart

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-07 11:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-02  7:59 [PATCH 4/7] add nobody group for rpc.idmapd Dave Young
     [not found] ` <20120202075959.GA12416-4/PLUo9XfK+sDdueE5tM26fLeoKvNuZc@public.gmane.org>
2012-02-07 11:15   ` Harald Hoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox