session and seat management daemon
0

Configure Feed

Select the types of activity you want to include in your feed.

fix(tests): pass numeric uid/gid for seat-user/seat-group in CI

nixery containers have no /etc/passwd, so users::get_user_by_name("root")
returns None. resolve_user/resolve_group already handle numeric strings,
so pass the current uid/gid directly to avoid the name lookup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

parzivale (Jul 12, 2026, 8:52 PM +0200) 1fbd9ec7 eef66e72

+5
+5
daemon/src/tests/integration.rs
··· 60 60 61 61 fn start_daemon(socket_path: path::PathBuf) -> DaemonGuard { 62 62 let uid = rustix::process::getuid().as_raw().to_string(); 63 + let gid = rustix::process::getgid().as_raw().to_string(); 63 64 let child = process::Command::new(daemon_binary()) 64 65 .arg("--socket-path") 65 66 .arg(&socket_path) 66 67 .arg("--management-user") 67 68 .arg(&uid) 69 + .arg("--seat-user") 70 + .arg(&uid) 71 + .arg("--seat-group") 72 + .arg(&gid) 68 73 .env("LOG_LEVEL", "off") 69 74 .spawn() 70 75 .expect("failed to spawn daemon");