fix: the root CA is created by the server, an offline CA or a Simple CA service, chosen at setup; the shell can stay open in a tab of its own, the Docker page is offered only with Docker, and the test scripts are in bin/.
Release / release (push) Failing after 14m20s
Release / release (push) Failing after 14m20s
This commit is contained in:
1 parent
ff0c93ed73
commit
a649331aa2
49 files changed
+1597
-637
No files matched your search
@@ -1,3 +1,49 @@
|
||||
linux-manager (0.41.1-1) unstable; urgency=medium
|
||||
|
||||
fix: the root CA is created by the server, an offline CA or a Simple CA
|
||||
service, chosen at setup; the shell can stay open in a tab of its own, the
|
||||
Docker page is offered only with Docker, and the test scripts are in bin/.
|
||||
|
||||
* The Manager's browser settings have Open the shell in a new tab, off by
|
||||
default; with it the shell button opens the shell in a tab of its own.
|
||||
* The page menu leaves the Docker page out while Docker is not installed;
|
||||
/config has docker.installed.
|
||||
* The test scripts are bin/lm-dev-run.py, lm-dev-vm.py,
|
||||
lm-dev-lxd-project.py and lm-dev-build.py, their data stays in
|
||||
tests/remote; bin/otp.py is a command-line authenticator app, and
|
||||
bin/lm-dev-otp-register.py enrols a token for a user of a test VM.
|
||||
* The lm-dev scripts default to the project lm-dev, read from LXD_PROJECT,
|
||||
and name the VM with --vm; lm-dev-run.py reads its project from
|
||||
LXD_TEST_PROJECT; lm-dev-vm.py takes create and remove.
|
||||
* lm-dev-build.py keeps the serial of the last dev build in
|
||||
.dev-build.serial, which release.py writes as 0 when it releases.
|
||||
* pki.root, local by default, offline or simple-ca, says where the root CA
|
||||
comes from, and is fixed once the root exists; the debconf question
|
||||
linux-manager/pki_root sets it.
|
||||
* With pki.root offline, setup makes the CSRs of the issuing CAs and waits;
|
||||
linux-manager-ca ca import root, and Import root certificate on the Root
|
||||
tab, take the root certificate before the issuing CAs.
|
||||
* With pki.root simple-ca, setup exchanges a setup code, debconf
|
||||
linux-manager/pki_setup_code or linux-manager-ca root setup-code, for a
|
||||
sign-ca token of a Simple CA issuing CA at pki.simple_ca_url, has the
|
||||
issuing CAs signed by it, and fetches the CRLs of the root and that CA,
|
||||
which joins every chain the server gives; the CA of the service's HTTPS
|
||||
certificate is installed in the system's trust store before setup.
|
||||
* The root key is no longer exported, removed or imported:
|
||||
linux-manager-ca root export-key, remove-key and import-key,
|
||||
pki.root_key_warning, and a root placed in /etc/linux-manager/pki/root
|
||||
are gone.
|
||||
* The Root tab shows the source of the root, and with Simple CA its
|
||||
issuing CA and the expiry of the token, with Enter setup code.
|
||||
* examples/cloud-init-with-pki.yaml.tpl and the Azure and GCP examples
|
||||
give the router a Simple CA root with simple_ca_url and
|
||||
simple_ca_setup_code, and both cloud-init examples add the CAs of
|
||||
trusted_ca_files to the trust store.
|
||||
* The name server settings describe TTL as the default TTL of the records,
|
||||
used where neither the record nor its domain has one.
|
||||
|
||||
-- Slawomir Koszewski <slawek@koszewscy.waw.pl> Sun, 22 Nov 2026 20:13:38 +0100
|
||||
|
||||
linux-manager (0.41.0-1) unstable; urgency=medium
|
||||
|
||||
feature: the package is linux-manager, the Ubuntu Linux Manager, whose
|
||||
|
||||
@@ -77,13 +77,22 @@ if [ "$ROUTER" = "true" ]; then
|
||||
db_input high linux-manager/remote_cidrs || true
|
||||
db_input high linux-manager/psk || true
|
||||
fi
|
||||
db_input high linux-manager/pki_root_name || true
|
||||
db_input high linux-manager/pki_root || true
|
||||
if [ "$VPN" = "true" ]; then
|
||||
db_input high linux-manager/p2s_enabled || true
|
||||
db_input high linux-manager/wg_enabled || true
|
||||
fi
|
||||
db_go || true
|
||||
|
||||
db_get linux-manager/pki_root
|
||||
if [ "$RET" = "local" ]; then
|
||||
db_input high linux-manager/pki_root_name || true
|
||||
elif [ "$RET" = "simple-ca" ]; then
|
||||
db_input high linux-manager/pki_simple_ca_url || true
|
||||
db_input high linux-manager/pki_setup_code || true
|
||||
fi
|
||||
db_go || true
|
||||
|
||||
if [ "$VPN" = "true" ]; then
|
||||
db_get linux-manager/p2s_enabled
|
||||
if [ "$RET" = "true" ]; then
|
||||
|
||||
@@ -33,7 +33,9 @@ case "$1" in
|
||||
answer linux-manager/psk; LINUX_MANAGER_PSK="$ANSWER"
|
||||
answer linux-manager/p2s_enabled; LINUX_MANAGER_P2S_ENABLED="$ANSWER"
|
||||
answer linux-manager/p2s_address_pool; LINUX_MANAGER_P2S_ADDRESS_POOL="$ANSWER"
|
||||
answer linux-manager/pki_root; LINUX_MANAGER_PKI_ROOT="$ANSWER"
|
||||
answer linux-manager/pki_root_name; LINUX_MANAGER_PKI_ROOT_NAME="$ANSWER"
|
||||
answer linux-manager/pki_simple_ca_url; LINUX_MANAGER_PKI_SIMPLE_CA_URL="$ANSWER"
|
||||
answer linux-manager/wg_enabled; LINUX_MANAGER_WG_ENABLED="$ANSWER"
|
||||
answer linux-manager/wg_address; LINUX_MANAGER_WG_ADDRESS="$ANSWER"
|
||||
answer linux-manager/wg_listen_port; LINUX_MANAGER_WG_LISTEN_PORT="$ANSWER"
|
||||
@@ -47,7 +49,8 @@ case "$1" in
|
||||
LINUX_MANAGER_REMOTE_ADDRS LINUX_MANAGER_REMOTE_ID \
|
||||
LINUX_MANAGER_REMOTE_CIDRS LINUX_MANAGER_PSK \
|
||||
LINUX_MANAGER_P2S_ENABLED LINUX_MANAGER_P2S_ADDRESS_POOL \
|
||||
LINUX_MANAGER_PKI_ROOT_NAME LINUX_MANAGER_WG_ENABLED \
|
||||
LINUX_MANAGER_PKI_ROOT LINUX_MANAGER_PKI_ROOT_NAME \
|
||||
LINUX_MANAGER_PKI_SIMPLE_CA_URL LINUX_MANAGER_WG_ENABLED \
|
||||
LINUX_MANAGER_WG_ADDRESS LINUX_MANAGER_WG_LISTEN_PORT
|
||||
|
||||
# --- Hand a candidate configuration to ucf ---
|
||||
@@ -82,6 +85,14 @@ case "$1" in
|
||||
db_set linux-manager/admin_username ""
|
||||
db_set linux-manager/admin_password ""
|
||||
|
||||
# The Simple CA setup code for linux-manager-setup to exchange for the token; the answer is cleared, as
|
||||
# the code works once.
|
||||
db_get linux-manager/pki_setup_code
|
||||
if [ -n "$RET" ]; then
|
||||
(umask 077; printf '%s\n' "$RET" > /etc/linux-manager/pki-setup-code)
|
||||
fi
|
||||
db_set linux-manager/pki_setup_code ""
|
||||
|
||||
# The firewall is not touched here. Enabling it, allowing SSH and
|
||||
# setting the forward policy all belong to linux-manager-setup, which does
|
||||
# them only once the configuration says this host is a router.
|
||||
|
||||
@@ -59,6 +59,7 @@ case "$1" in
|
||||
/etc/linux-manager/metrics.secret \
|
||||
/etc/linux-manager/manager.json \
|
||||
/etc/linux-manager/manager-admin.json \
|
||||
/etc/linux-manager/pki-setup-code \
|
||||
/var/lib/linux-manager/upgrade.json \
|
||||
/var/lib/linux-manager/upgrade.log \
|
||||
/var/lib/linux-manager/system-upgrade.json \
|
||||
|
||||
@@ -166,12 +166,46 @@ Default:
|
||||
Description: IKEv2 address pool:
|
||||
CIDR block assigned to IKEv2 clients (for example 172.16.0.0/24).
|
||||
|
||||
Template: linux-manager/pki_root
|
||||
Type: select
|
||||
Choices: local, offline, simple-ca
|
||||
Default: local
|
||||
Description: Root CA:
|
||||
Where the root certificate authority of the server's PKI comes from. It is
|
||||
fixed once the root exists.
|
||||
.
|
||||
local - the server creates the root and keeps its key.
|
||||
.
|
||||
offline - the root is a CA kept elsewhere. The server makes the CSRs of its
|
||||
issuing CAs and waits; the root certificate and the signed issuing CA
|
||||
certificates are imported with linux-manager-ca ca import.
|
||||
.
|
||||
simple-ca - an issuing CA of a Simple CA service signs the server's issuing
|
||||
CAs, with a token the server gets for a one-time setup code.
|
||||
|
||||
Template: linux-manager/pki_root_name
|
||||
Type: string
|
||||
Default: Linux Manager Root CA
|
||||
Description: Root CA name:
|
||||
Common name of the root certificate authority the server creates in
|
||||
/etc/linux-manager/pki/root. Ignored when a root certificate is placed there.
|
||||
Common name of the root certificate authority the server creates.
|
||||
|
||||
Template: linux-manager/pki_simple_ca_url
|
||||
Type: string
|
||||
Default:
|
||||
Description: Simple CA URL:
|
||||
The https:// URL of the Simple CA service, for example
|
||||
https://pki.example.com. The CA that issued its HTTPS certificate must be in
|
||||
the system's trust store (/usr/local/share/ca-certificates, then
|
||||
update-ca-certificates) before setup runs.
|
||||
|
||||
Template: linux-manager/pki_setup_code
|
||||
Type: password
|
||||
Description: Simple CA setup code:
|
||||
The one-time setup code of a sign-ca token of a Simple CA issuing CA, such as
|
||||
K7QF-M2XA-JP4D-W5ZR. It is passed to linux-manager-setup in a file readable by
|
||||
root only, which is removed once the code is exchanged, and not kept by
|
||||
debconf. Leave it empty to give it later with linux-manager-ca root
|
||||
setup-code.
|
||||
|
||||
Template: linux-manager/wg_enabled
|
||||
Type: boolean
|
||||
|
||||
Reference in new issue
Block a user