Hi Guys,

I reproduced the issue using Steve Atwell's modification in
/etc/init/rpc_pipefs.conf and I am able to reproduce the same issue in a
stock Lucid install.

It looks like /etc/init/idmapd.conf needs also another if statement that
checks whether the client is using nfsv4 or not. I made a small change
to the upstart script and now I don't see the issue anymore. Idmapd
start successfully and I am able to mount using krb5.

Here is what I did:
I've changed the last statement (script/end script) in /etc/init/idmapd.conf to 
the following:

script
        if [ -f "$DEFAULTFILE" ]; then
                . "$DEFAULTFILE"
                #
                # We also need to check in /etc/default/nfs-common if the 
client wants to use nfs4
                #
                if  grep -q "NEED_IDMAPD=yes" $DEFAULTFILE ; then
                        mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs
                fi

        fi
                exec rpc.idmapd
end script

Can you guys check on your side as well?

Leonardo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/643289

Title:
  idmapd does not starts to work after system reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/643289/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to