Verify managed agents across logout and reboot

Aperta
#4 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
39/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
linux, python, ubuntu
Ambito
devops, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
0
Fork
0
Merge medio
8h 15m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di j2-ms/buzz-server

Tutte le issue di j2-ms/buzz-server

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.