gardesk/garcard / 74f7ad1

Browse files

Record forced NetworkManager callback

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
74f7ad1669358629f0fb5aec08938c274836f0a7
Parents
1b4a165
Tree
6643473

1 changed file

StatusFile+-
M examples/sprint-03-validation-report-2026-02-18.md 16 7
examples/sprint-03-validation-report-2026-02-18.mdmodified
@@ -36,18 +36,27 @@
36
      - `subject.isInGroup("networkmanager")` + `org.freedesktop.NetworkManager.*` -> `polkit.Result.YES`
36
      - `subject.isInGroup("networkmanager")` + `org.freedesktop.NetworkManager.*` -> `polkit.Result.YES`
37
    - session user groups include `networkmanager` (`id` output), so NetworkManager probes bypass challenge by design.
37
    - session user groups include `networkmanager` (`id` output), so NetworkManager probes bypass challenge by design.
38
 
38
 
39
-## Deferred Caveat Closure Plan
39
+## Deferred Caveat Closure Execution (2026-02-19)
40
-1. Use `examples/force-networkmanager-auth-admin.rules` as temporary override.
40
+1. Temporary override installed and polkit restarted:
41
-2. Install and reload policy:
42
    - `sudo install -m644 examples/force-networkmanager-auth-admin.rules /etc/polkit-1/rules.d/00-garcard-networkmanager-auth.rules`
41
    - `sudo install -m644 examples/force-networkmanager-auth-admin.rules /etc/polkit-1/rules.d/00-garcard-networkmanager-auth.rules`
43
    - `sudo systemctl restart polkit`
42
    - `sudo systemctl restart polkit`
44
-3. Re-run probe while daemon is active:
43
+2. First post-restart probe hit:
44
+   - `Authorization requires authentication but no agent is available.`
45
+   - Cause: daemon socket was no longer present after restart and daemon was relaunched.
46
+3. After daemon relaunch, forced NetworkManager probe:
45
    - `pkcheck --allow-user-interaction --process $$ --action-id org.freedesktop.NetworkManager.settings.modify.system`
47
    - `pkcheck --allow-user-interaction --process $$ --action-id org.freedesktop.NetworkManager.settings.modify.system`
46
-4. Expect callback logs from `garcard` auth request processing path.
48
+   - Result: exit `1` (`Not authorized.`) with auth challenge metadata:
47
-5. Remove override and restart polkit after validation.
49
+     - `polkit.result=auth_admin_keep`
50
+4. Daemon logs confirmed live callback path for NetworkManager action:
51
+   - `Started active polkit auth request action_id=org.freedesktop.NetworkManager.settings.modify.system ...`
52
+   - `Processing polkit auth request action_id=org.freedesktop.NetworkManager.settings.modify.system ...`
53
+   - `Starting helper authentication dialog context=System policy prevents modification of network settings for all users`
54
+5. Cleanup commands after validation:
55
+   - `sudo rm -f /etc/polkit-1/rules.d/00-garcard-networkmanager-auth.rules`
56
+   - `sudo systemctl restart polkit`
48
 
57
 
49
 ## Conclusion
58
 ## Conclusion
50
 1. Sprint 03 static integration wiring is in place.
59
 1. Sprint 03 static integration wiring is in place.
51
 2. logind-side runtime challenge callback is verified with live daemon.
60
 2. logind-side runtime challenge callback is verified with live daemon.
52
 3. NetworkManager challenge suppression cause is identified and reproducible.
61
 3. NetworkManager challenge suppression cause is identified and reproducible.
53
-4. A deterministic override path is documented to force and validate the callback path on this host.
62
+4. Forced NetworkManager callback validation is executed successfully via temporary policy override.