[Bug 925364] Re: rpc.gssd exits immediately
David Ambrose-Griffith
925364 at bugs.launchpad.net
Thu Feb 2 16:33:51 UTC 2012
I've run debsums, and nothing comes to light there.
I've also downloaded the bzr branch and compiled a new copy, which
exhibits the same symptoms.
Adding in some debugging lines, there seems to be something odd going on
around line 216 on gssd_main_loop.c where it tests for something and
exits with status code 1 if it is true
Changing that to..
printerr(1, "beginning poll\n");
while (1) {
while (dir_changed) {
dir_changed = 0;
if (update_client_list()) {
/* Error msg is already printed */
printerr(1, "DAG Test exit\n");
exit(1);
}
causes DAG Test exit to be printed.
Looking back at the update_client_list() routine around line 588 in gssd_proc.c and adding in a debug line like so
/* Used to read (and re-read) list of clients, set up poll array. */
int
update_client_list(void)
{
int retval = -1;
struct topdirs_info *tdi;
TAILQ_FOREACH(tdi, &topdirs_list, list) {
retval = process_pipedir(tdi->dirname);
if (retval)
printerr(1, "WARNING: error processing %s\n",
tdi->dirname);
}
printerr(1, "DAG WARNING: retval=%d\n", retval);
return retval;
}
root at cisadl-tst:~/nfs-utils/utils/gssd# ./gssd -fvvv
beginning poll
DAG WARNING: retval=-1
DAG Test exit
Any further ideas?
causes the following when run.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/925364
Title:
rpc.gssd exits immediately
Status in “nfs-utils” package in Ubuntu:
Incomplete
Bug description:
Release: Precise Pangolin 12.04 Alpha
Version: 1.2.5-3ubuntu1 (nfs-common)
Starting rpc.gssd initially appears to launch ok
root at cisadl-tst:~# status gssd
gssd stop/waiting
root at cisadl-tst:~# start gssd
gssd start/pre-start, process 3624
root at cisadl-tst:~# status gssd
gssd stop/waiting
root at cisadl-tst:~#
Running rpc.gssd in the foreground manually also seems to exit immediately with status code 1
root at cisadl-tst:~# rpc.gssd -fvvv ; echo $?
beginning poll
1
Expected behaviour: rpc.gssd starts and allows Kerberized NFS to work
Observed behaviour: rpc.gssd exits immediately and Kerberized NFS fails.
I have attached the output of strace -f against rpc.gssd if it is of
any help.
Best regards,
David Ambrose-Griffith
Technical Specialist (Unix/Linux/Storage)
Computing and Information Services
Durham University
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/925364/+subscriptions
More information about the foundations-bugs
mailing list