Verify managed agents across logout and reboot

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
39/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
linux, python, ubuntu
Domain
devops, testing

Research direction

Start with the service-account and testing guides linked in the issue, then inspect the agent’s systemd unit and existing lifecycle tests. Verify the v0.4 dedicated-account system unit in a real Ubuntu 24.04 amd64 VM, recording logout, reboot-before-login, stopped-agent, and identity results; keep the optional linger path separate. Done means the required checks are documented, with Ubuntu 26.04 results required before claiming support there.

Written by the indexing model from the issue text.

Description

help wanted

Current behavior

The service-account guide documents administrator-enabled loginctl linger. The v0.1.0 tests cover a user-manager restart, not an actual last logout or host reboot. This is a verification gap, not a reproduced service failure.

Acceptance criteria

  • In a disposable VM with real systemd/logind and an unprivileged service account, confirm that an enabled agent keeps running after the last login session closes when linger is enabled. Verify from outside the service account so the check does not keep its session alive.
  • After a real reboot, confirm the enabled agent starts before anyone logs into that account, retains the same Buzz identity, and that an intentionally stopped agent stays stopped. A container or private user-manager restart alone does not count as reboot evidence.
  • Record results for Ubuntu 24.04 amd64; repeat on Ubuntu 26.04 amd64 before claiming its lifecycle support. Document the no-linger behavior, the read-only loginctl show-user ACCOUNT --property=Linger check, and that enabling linger remains an explicit administrator action, not an installer side effect.

v0.4 scope: prioritize the recommended dedicated-account system unit, which does not require linger. In a real VM, verify it survives operator logout, an enabled agent starts before either account logs in, a stopped agent stays off, and the identity is retained. Keep the original linger check separate for the optional same-account user-service path.

Dominant language
Python
Stars
0
Forks
0
Avg merge
8h 15m
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from j2-ms/buzz-server

All issues in j2-ms/buzz-server

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.