daniel
daniel
CDCloudflare Developers
Created by daniel on 6/11/2024 in #general-help
Posture checks for full disk encryption on Linux fails when running as a systemd service
When I run warp-svc manually as a root user, the posture check succeeds. However, when running as a systemd service, the posture check fails with the following log statements:
juni 11 09:36:48 p15v warp-svc[92330]: 2024-06-11T07:36:48.252Z WARN device_posture::scheduler: Check didn't run: PostureCheck { name: Some("Linux_FDE"), description: Some(""), id: 0c170903-1531-43cf-b307-032fb5b387cb, schedule: Some(Duration { seconds: 300, nanoseconds: 0 }), conditions: Some([PostureMatch { platform: Some("linux") }]), ty: DiskEncryption }
juni 11 09:36:48 p15v warp-svc[92330]: 2024-06-11T07:36:48.252Z DEBUG warp::warp_service::api_handlers: Sending posture check results
juni 11 09:36:48 p15v warp-svc[92330]: 2024-06-11T07:36:48.252Z DEBUG warp::warp_api::registration: patch_posture_rules: {}
juni 11 09:36:48 p15v warp-svc[92330]: 2024-06-11T07:36:48.252Z DEBUG warp::warp_api: Sending API request PATCH zero-trust-client.cloudflareclient.com./v0/accounts/.../reg/.../check
juni 11 09:36:48 p15v warp-svc[92330]: 2024-06-11T07:36:48.252Z WARN device_posture::scheduler: Check didn't run: PostureCheck { name: Some("Linux_FDE"), description: Some(""), id: 0c170903-1531-43cf-b307-032fb5b387cb, schedule: Some(Duration { seconds: 300, nanoseconds: 0 }), conditions: Some([PostureMatch { platform: Some("linux") }]), ty: DiskEncryption }
juni 11 09:36:48 p15v warp-svc[92330]: 2024-06-11T07:36:48.252Z DEBUG warp::warp_service::api_handlers: Sending posture check results
juni 11 09:36:48 p15v warp-svc[92330]: 2024-06-11T07:36:48.252Z DEBUG warp::warp_api::registration: patch_posture_rules: {}
juni 11 09:36:48 p15v warp-svc[92330]: 2024-06-11T07:36:48.252Z DEBUG warp::warp_api: Sending API request PATCH zero-trust-client.cloudflareclient.com./v0/accounts/.../reg/.../check
1 replies