Antonio Feijoo changed bug 1204929
What Removed Added
Flags   needinfo?

Comment # 12 on bug 1204929 from
(In reply to Thomas Blume from comment #11)
> So, most probably the chown shouldn't be necessary.
> 
> I case of:
> 
> https://bugzilla.suse.com/show_bug.cgi?id=1177461#c39
> 
> it seems that /run/rpcbind was already present with wrong permissions.
> So, I guess an "rm -rf /run/rpcbind" instead of a chown in the initrd would
> do.

Thanks Thomas. The /run/rpcbind directory is created by root in the initrd (see
comment #6 -
https://github.com/dracutdevs/dracut/blob/master/modules.d/95nfs/nfs-start-rpc.sh#L10-L14),
that's why the chown is done after.
Then, IIUC we can avoid the mkdir and the chown, because rpcbind will create
/run/rpcbind if it does not exist, right?

And, does the same apply to the /var/lib/rpcbind directory (see
https://github.com/dracutdevs/dracut/blob/master/modules.d/95nfs/parse-nfsroot.sh#L126-L128),
could we skip that mkdir & chown?


You are receiving this mail because: