Stacked on #89 (feature/host-logins, 0.21.0). Merge #89 first.
The kernel facts carry the kernel's live patches through napalm-device-types 4.52.0 (NAPALM/napalm-device-types feature/live-kernel-patches). Where Canonical Livepatch's status does not read without root, _run_livepatch_status_command reads it again through the driver's sudo (_run_privileged). It is one fixed, read-only command that reads no stdin. It rides along in _readings.py, so linux.py does not grow. OpenMediaVault and QNAP get it through LinuxDriver.
Depends on napalm-device-types>=4.52.0. Tests: TestCanonicalLivepatchAsRoot in tests/test_linux.py; the whole of tests/test_linux.py is green (212).
Version: 0.22.0, the next after this stack's 0.21.0. NAPALM/napalm-linux#88 still claims 0.20.0 and is to be renumbered by whoever merges it.
**Stacked on #89** (`feature/host-logins`, 0.21.0). Merge #89 first.
The kernel facts carry the kernel's live patches through napalm-device-types 4.52.0 (NAPALM/napalm-device-types `feature/live-kernel-patches`). Where Canonical Livepatch's status does not read without root, `_run_livepatch_status_command` reads it again through the driver's sudo (`_run_privileged`). It is one fixed, read-only command that reads no stdin. It rides along in `_readings.py`, so `linux.py` does not grow. OpenMediaVault and QNAP get it through `LinuxDriver`.
Depends on `napalm-device-types>=4.52.0`. Tests: `TestCanonicalLivepatchAsRoot` in `tests/test_linux.py`; the whole of `tests/test_linux.py` is green (212).
Version: 0.22.0, the next after this stack's 0.21.0. NAPALM/napalm-linux#88 still claims 0.20.0 and is to be renumbered by whoever merges it.
The transport runs the shared, read-only command on an exec channel, as root
first for the lock, the expiry and the failed logins, and as the login user
where root is refused.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Stacked on #89 (
feature/host-logins, 0.21.0). Merge #89 first.The kernel facts carry the kernel's live patches through napalm-device-types 4.52.0 (NAPALM/napalm-device-types
feature/live-kernel-patches). Where Canonical Livepatch's status does not read without root,_run_livepatch_status_commandreads it again through the driver's sudo (_run_privileged). It is one fixed, read-only command that reads no stdin. It rides along in_readings.py, solinux.pydoes not grow. OpenMediaVault and QNAP get it throughLinuxDriver.Depends on
napalm-device-types>=4.52.0. Tests:TestCanonicalLivepatchAsRootintests/test_linux.py; the whole oftests/test_linux.pyis green (212).Version: 0.22.0, the next after this stack's 0.21.0. NAPALM/napalm-linux#88 still claims 0.20.0 and is to be renumbered by whoever merges it.