[699] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

re: znol off kills incorrect subscriptions (zephyr 2.0.1)

daemon@ATHENA.MIT.EDU (Derek Atkins)
Fri Sep 8 00:06:30 1995

Date: Fri, 8 Sep 1995 00:06:22 -0400
From: Derek Atkins <warlord@MIT.EDU>
To: John T Kohl <jtkohl@MIT.EDU>
Cc: bug-zephyr@MIT.EDU, ejb@ERA.COM, lanham@ERA.COM
In-Reply-To: "[698] in Zephyr_Bugs"

> I vaguely recalled that this is close to the intended behavior--when you
> turn off zephyr (set exposure level to none), it should remove subscriptions
> for the well-known classes/instances/recipients, at least.

znol off is not, and should not, be the same as "zctl set exposure
none".  You use znol off to turn off login notices, not to stop
zephyrs.  For example, if I want to change the people for whom I am
listening for logins, I should be able to run znol off on the old
list, and znol on on the new list.  As a result, just executing znol
off should not remove the default subs.

> I don't recall if this is library-enforced or server-enforced, and/or whether
> znol is calling the code which does this (look at what happens when you set
> your exposure level with zctl?)

I forget where, too.  It is easy to see from Jay's example that znol
off is removing some subs that it clearly should not.  In particular,
it should not be removing these:

- Class message Instance personal Recipient ejb@ERA.COM
- Class message Instance urgent Recipient ejb@ERA.COM
- Class operations Instance message Recipient *

In a cursory examination of the code, this looks to be a bug in the
server when it handles unsubs.

-derek

home help back first fref pref prev next nref lref last post