Changes between Initial Version and Version 1 of Ticket #838


Ignore:
Timestamp:
03/08/11 21:59:31 (13 years ago)
Author:
jdreed
Comment:

We should possibly also convince OpenAFS that "function not implemented" and "invalid argument" should have different return values, but that's a different ticket.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #838

    • Property Summary changed from libpam_debathena_home_type's pants are on fire when AFS isn't running to libpam_debathena_home_type should not rely on return value of fs whichcell
  • Ticket #838 – Description

    initial v1  
    1 When AFS isn't running (like, because the module vanished, for example), libpam_debathena_home_type sets DEBATHENA_HOME_TYPE to local, which is all kinds of wrong, and results in check_afs not running, among other things.  It should be more robust to complete loss of AFS and resort to parsing $HOME.  Frankly, I'd be in favor of assuming that HOME=/mit/username means AFS, and that if you have your own debathena-standard machine, and create /mit/username locally, you deserve what you get, but I bet someone will disagree with me. 
     1When AFS isn't running (like, because the module vanished, for example), fs whichcell will return -1, but will say "Function not implemented" instead of "Invalid argument".   This results in DEBATHENA_HOME_TYPE getting set to "local", which is all kinds of wrong, and screws up our Xsession.d scripts.  It should be more robust to complete loss of AFS and resort to parsing $HOME.  Frankly, I'd be in favor of assuming that HOME=/mit/username means AFS, and that if you have your own debathena-standard machine, and create /mit/username locally, you deserve what you get, but I bet someone will disagree with me.