cereal should check for enabled sessions other than by looking for links in /var/service
|Reported by:||jrollins||Owned by:||jrollins|
as is, cereal determines running sessions by looking for /var/service/cereal.*. however, this is not an accurate representation of active sessions, since a session could have been stopped with sv stop /var/service/cereal.host, one would not be able to attach to it, and it would still show up in cereal as active.
This issue actually points to the fact that there are actually more session states than we're indicating (with the SFLAG):
right now a session starting a session links and starts it, but testing for running only looks to see if it's linked.