CIFS VS: Send error in SessSetup = -128
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm trying to use autofs 5.0.7-3ubuntu3.1. When using automount with kerberized CIFS I get these in the logs and intermittent failures:
syslog.1:Dec 2 08:16:09 some-host kernel: [67564.309126] CIFS VFS: Send error in SessSetup = -128
syslog.1:Dec 2 08:16:09 some-host automount[3909]: >> mount error(128): Key has been revoked
syslog.1:Dec 2 08:16:09 some-host kernel: [67564.313116] CIFS VFS: cifs_mount failed w/return code = -128
I was able to fix it by changing the following line to use keyctl:
38c38
< start-stop-daemon "$@" --pidfile $PIDFILE --exec $DAEMON -- \
---
> start-stop-daemon "$@" --pidfile $PIDFILE --exec /bin/keyctl session $DAEMON $DAEMON -- \
Not quite sure to handle it with upstart which seems to be the more correct thing to do.
Will