Mailinglist Archive: opensuse-bugs (11198 mails)
| < Previous | Next > |
[Bug 457032] nfs mounts fail because rpc. statd is not started for non-root users
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 8 Dec 2008 12:30:12 -0700 (MST)
- Message-id: <20081208193012.86E2FCC7D2@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=457032
User markus.webmail@xxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=457032#c5
--- Comment #5 from Dr. Markus Ammer <markus.webmail@xxxxxx> 2008-12-08
12:30:12 MST ---
rpcbind is running:
vmw-sl-111-cl2:~ # chkconfig rpcbind
rpcbind on
vmw-sl-111-cl2:~ # ps aux | grep rpc
root 2578 0.0 0.1 2316 780 ? Ss 19:34 0:00 /sbin/rpcbind
root 4585 0.0 0.1 2200 600 tty1 S+ 19:39 0:00 grep rpc
But what I have found:
/var/log/messages (when trying a nfs mount as regular user)
Dec 8 19:36:30 vmw-sl-111-cl2 rpc.statd[3771]: Version 1.1.3 Starting
Dec 8 19:36:30 vmw-sl-111-cl2 rpc.statd[3771]: Flags:
Dec 8 19:36:30 vmw-sl-111-cl2 rpc.statd[3771]: Opening /var/run/rpc.statd.pid
failed: Permission denied <<<<<<<<<<<<<< ?
/var/log/messages (nfs mount as root)
Dec 8 19:40:05 vmw-sl-111-cl2 rpc.statd[4595]: Version 1.1.3 Starting
Dec 8 19:40:05 vmw-sl-111-cl2 rpc.statd[4595]: Flags:
Dec 8 19:40:06 vmw-sl-111-cl2 rpc.statd[4595]: statd running as root. chown
/var/lib/nfs/sm to choose different user
Dec 8 19:40:06 vmw-sl-111-cl2 kernel: RPC: Registered udp transport module.
Dec 8 19:40:06 vmw-sl-111-cl2 kernel: RPC: Registered tcp transport module.
vmw-sl-111-cl2:~ # la -d /var/run/
drwxr-xr-x 23 root root 4096 Dec 8 19:40 /var/run/
vmw-sl-111-cl2:~ # la /var/run/rpc.statd.pid
-rw-r--r-- 1 root root 5 Dec 8 19:40 /var/run/rpc.statd.pid
Just to test I've tried (after reboot, no rpc.statd running)
chmod 777 /var/run
nfs mount as regular user fails again, but now there is a empty pid file
owned by me.
vmw-sl-111-cl2:~ # la -d /var/run/rpc.statd.pid
-rw-r--r-- 1 markus users 0 Dec 8 20:16 /var/run/rpc.statd.pid
/var/log/messages:
Dec 8 20:16:05 vmw-sl-111-cl2 rpc.statd[4801]: Version 1.1.3 Starting
Dec 8 20:16:05 vmw-sl-111-cl2 rpc.statd[4801]: Flags:
Dec 8 20:16:05 vmw-sl-111-cl2 rpc.statd[4801]: unable to register (statd, 1,
udp)
Seems mount.nfs is not switching to root.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
User markus.webmail@xxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=457032#c5
--- Comment #5 from Dr. Markus Ammer <markus.webmail@xxxxxx> 2008-12-08
12:30:12 MST ---
rpcbind is running:
vmw-sl-111-cl2:~ # chkconfig rpcbind
rpcbind on
vmw-sl-111-cl2:~ # ps aux | grep rpc
root 2578 0.0 0.1 2316 780 ? Ss 19:34 0:00 /sbin/rpcbind
root 4585 0.0 0.1 2200 600 tty1 S+ 19:39 0:00 grep rpc
But what I have found:
/var/log/messages (when trying a nfs mount as regular user)
Dec 8 19:36:30 vmw-sl-111-cl2 rpc.statd[3771]: Version 1.1.3 Starting
Dec 8 19:36:30 vmw-sl-111-cl2 rpc.statd[3771]: Flags:
Dec 8 19:36:30 vmw-sl-111-cl2 rpc.statd[3771]: Opening /var/run/rpc.statd.pid
failed: Permission denied <<<<<<<<<<<<<< ?
/var/log/messages (nfs mount as root)
Dec 8 19:40:05 vmw-sl-111-cl2 rpc.statd[4595]: Version 1.1.3 Starting
Dec 8 19:40:05 vmw-sl-111-cl2 rpc.statd[4595]: Flags:
Dec 8 19:40:06 vmw-sl-111-cl2 rpc.statd[4595]: statd running as root. chown
/var/lib/nfs/sm to choose different user
Dec 8 19:40:06 vmw-sl-111-cl2 kernel: RPC: Registered udp transport module.
Dec 8 19:40:06 vmw-sl-111-cl2 kernel: RPC: Registered tcp transport module.
vmw-sl-111-cl2:~ # la -d /var/run/
drwxr-xr-x 23 root root 4096 Dec 8 19:40 /var/run/
vmw-sl-111-cl2:~ # la /var/run/rpc.statd.pid
-rw-r--r-- 1 root root 5 Dec 8 19:40 /var/run/rpc.statd.pid
Just to test I've tried (after reboot, no rpc.statd running)
chmod 777 /var/run
nfs mount as regular user fails again, but now there is a empty pid file
owned by me.
vmw-sl-111-cl2:~ # la -d /var/run/rpc.statd.pid
-rw-r--r-- 1 markus users 0 Dec 8 20:16 /var/run/rpc.statd.pid
/var/log/messages:
Dec 8 20:16:05 vmw-sl-111-cl2 rpc.statd[4801]: Version 1.1.3 Starting
Dec 8 20:16:05 vmw-sl-111-cl2 rpc.statd[4801]: Flags:
Dec 8 20:16:05 vmw-sl-111-cl2 rpc.statd[4801]: unable to register (statd, 1,
udp)
Seems mount.nfs is not switching to root.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |