runspec-linux-root 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/CHANGELOG.md +7 -0
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/PKG-INFO +9 -7
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/README.md +8 -6
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/pyproject.toml +1 -1
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/runspec_linux_root/runspec.toml +1 -1
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/.gitignore +0 -0
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/runspec_linux_root/__init__.py +0 -0
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/runspec_linux_root/packages.py +0 -0
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/runspec_linux_root/perf.py +0 -0
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/runspec_linux_root/power.py +0 -0
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/runspec_linux_root/sudoers.py +0 -0
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/tests/__init__.py +0 -0
- {runspec_linux_root-0.1.0 → runspec_linux_root-0.1.1}/tests/test_spec.py +0 -0
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `runspec-linux-root` are documented here.
|
|
4
4
|
|
|
5
|
+
## [0.1.1] — 2026-10-01
|
|
6
|
+
|
|
7
|
+
- `enable-passwordless-sudo --scope scoped`: the help text and README now say
|
|
8
|
+
the scoped grant also covers runspec-console and MCP-gateway runs, from
|
|
9
|
+
runspec 0.70.0 (their env prelude runs on the venv's `bin/python`).
|
|
10
|
+
`--scope all` is no longer needed for those. No code change.
|
|
11
|
+
|
|
5
12
|
## [0.1.0] — 2026-09-30
|
|
6
13
|
|
|
7
14
|
First release. The Linux tools that need root, split out of `runspec-linux`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: runspec-linux-root
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Linux admin runnables that need root (packages, reboot, sysctl) for runspec
|
|
5
5
|
Project-URL: Documentation, https://runspec.app/
|
|
6
6
|
Project-URL: Source, https://github.com/jasonfinestone/runspec/tree/main/packages/python/runspec-linux-root
|
|
@@ -62,9 +62,11 @@ otherwise, naming the account to `sudo -u` to.
|
|
|
62
62
|
which never prompts for a password, so the admin needs a passwordless sudo rule.
|
|
63
63
|
`enable-passwordless-sudo` installs one:
|
|
64
64
|
|
|
65
|
-
- `--scope scoped` allows only this venv's
|
|
66
|
-
(`sudo /opt/venvs/admin/bin/<tool>` from a shell or cron)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
- `--scope scoped` allows only the programs in this venv's `bin/`. That covers
|
|
66
|
+
direct runs (`sudo /opt/venvs/admin/bin/<tool>` from a shell or cron) and,
|
|
67
|
+
with runspec-console / runspec-mcp built on runspec ≥ 0.70.0, console and
|
|
68
|
+
gateway runs too. Those pass variables to the tool on stdin through a small
|
|
69
|
+
prelude that runs on the venv's own `bin/python`, which the scoped rule covers.
|
|
70
|
+
(Before runspec 0.70.0 the prelude ran on `sh`, which the scoped rule doesn't
|
|
71
|
+
cover, so console runs that carried variables needed `--scope all`.)
|
|
72
|
+
- `--scope all` grants `NOPASSWD: ALL`.
|
|
@@ -44,9 +44,11 @@ otherwise, naming the account to `sudo -u` to.
|
|
|
44
44
|
which never prompts for a password, so the admin needs a passwordless sudo rule.
|
|
45
45
|
`enable-passwordless-sudo` installs one:
|
|
46
46
|
|
|
47
|
-
- `--scope scoped` allows only this venv's
|
|
48
|
-
(`sudo /opt/venvs/admin/bin/<tool>` from a shell or cron)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
- `--scope scoped` allows only the programs in this venv's `bin/`. That covers
|
|
48
|
+
direct runs (`sudo /opt/venvs/admin/bin/<tool>` from a shell or cron) and,
|
|
49
|
+
with runspec-console / runspec-mcp built on runspec ≥ 0.70.0, console and
|
|
50
|
+
gateway runs too. Those pass variables to the tool on stdin through a small
|
|
51
|
+
prelude that runs on the venv's own `bin/python`, which the scoped rule covers.
|
|
52
|
+
(Before runspec 0.70.0 the prelude ran on `sh`, which the scoped rule doesn't
|
|
53
|
+
cover, so console runs that carried variables needed `--scope all`.)
|
|
54
|
+
- `--scope all` grants `NOPASSWD: ALL`.
|
|
@@ -142,4 +142,4 @@ required = false
|
|
|
142
142
|
type = "choice"
|
|
143
143
|
options = ["scoped", "all"]
|
|
144
144
|
default = "scoped"
|
|
145
|
-
description = "scoped = NOPASSWD only for this venv's
|
|
145
|
+
description = "scoped = NOPASSWD only for the programs in this venv's bin/ (direct runs, and runspec-console / MCP gateway runs built on runspec >= 0.70.0); all = NOPASSWD: ALL"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|