]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
add nobody group for rpc.idmapd
authorDave Young <dyoung@redhat.com>
Thu, 2 Feb 2012 07:59:59 +0000 (15:59 +0800)
committerHarald Hoyer <harald@redhat.com>
Tue, 7 Feb 2012 11:14:21 +0000 (12:14 +0100)
Add nobody group due to rpc.idmapd will fail to startup without nobody group

Signed-off-by: Dave Young <dyoung@redhat.com>
modules.d/95nfs/module-setup.sh

index 3ccdafc8289e7e7d284e0efad699459f3691196c..72d3b42b0156bd97591c7f786cf964e968ae9f44 100755 (executable)
@@ -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