375 Commits

Author SHA1 Message Date
John Estabrook
394ec80f49 T6718: vyconfd.service is started by vyos-router 2024-10-25 10:04:09 -05:00
Daniil Baturin
bf2e6afc49 build: T6776: use the official Zabbix repo for zabbix-agent2 2024-10-17 11:13:35 +01:00
Christian Breunig
d235b31a09 T861: sign all Kernel modules with an ephemeral key
The shim review board (which is the secure boot base loader) recommends using
ephemeral keys when signing the Linux Kernel. This commit enables the Kernel
build system to generate a one-time ephemeral key that is used to:

* sign all build-in Kernel modules
* sign all other out-of-tree Kernel modules

The key lives in /tmp and is destroyed after the build container exits and is
named: "VyOS build time autogenerated kernel key".

In addition the Kernel now uses CONFIG_MODULE_SIG_FORCE. This now makes it
unable to load any Kernel Module to the image that is NOT signed by the
ephemeral key.
2024-09-25 20:24:21 +02:00
Christian Breunig
53bd06d17b T861: stripping Kernel modules would also remove module signatures
As the VyOS Linux Kernel will be compiled with CONFIG_MODULE_SIG_FORCE all
driver modules need to be cryptographically signed. This happens during build
of the Kernel and it's 3rd party modules.

Stripping the objects would remove said signature and the system will be unable
to boot b/c of CONFIG_MODULE_SIG_FORCE.
2024-09-22 09:31:31 +02:00
Christian Breunig
fd737172f1 T861: add UEFI Secure Boot support
This adds support for UEFI Secure Boot. It adds the missing pieces to the Linux
Kernel and enforces module signing. This results in an additional security
layer where untrusted (unsigned) Kernel modules can no longer be loaded into
the live system.

NOTE: This commit will not work unless signing keys are present. Arbitrary
keys can be generated using instructions found in:

  data/live-build-config/includes.chroot/var/lib/shim-signed/mok/README.md
2024-09-14 23:05:23 +02:00
Christian Breunig
d50707bb29 T1416: remove deprecated default-union-grub-entry 2024-09-05 07:13:08 +02:00
Christian Breunig
a9baaaba16 podman: T6598: add custom podman build for version 4.9.5 2024-07-23 08:03:07 +02:00
Christian Breunig
0094dc2ecc container: T5867: pin specific podman version
As of Debian version 4.9.5+ds1-1 podman increased the dependency on
libc6 and libgpgme11t64.

  podman : Depends: libc6 (>= 2.38) but 2.36-9+deb12u7 is to be installed
           Depends: libgpgme11t64 (>= 1.4.1) but it is not going to be installed

Pin the version to a prior one that requires the old libc.
2024-07-08 10:13:08 +02:00
Christian Breunig
ff75b07681 T6527: remove legacy packages 2024-06-30 07:33:00 +02:00
Christian Breunig
6e0f62a0ca T6507: remove references to vyos-world package
As we got rid of most of the old vyatta packages we can now also discontinue
vyos-world. It only served the purpose of keeping the package list during ISO
build small.
2024-06-22 09:07:05 +02:00
John Estabrook
3f42cf0865 migration: T6006: move config.boot.default to vyos-1x 2024-06-05 20:00:59 -05:00
John Estabrook
04948aa983 T6356: normalize '.., ntp, server' path syntax in config.boot.default 2024-05-16 13:19:02 -05:00
Christian Breunig
1f59787ff6
Merge pull request #624 from c-po/target
hooks: T6346: set default boot target to multi-user.target
2024-05-16 07:31:27 +02:00
Christian Breunig
ca31af2cc3 hooks: T6346: set default boot target to multi-user.target 2024-05-16 07:19:59 +02:00
Christian Breunig
a33e9cfe0b
Merge pull request #614 from aidan-gibson/current
T6333 non-free-firmware to trixie
2024-05-16 07:19:17 +02:00
Aidan Gibson
7f82191abe T6333: drop reference to non-free of trixie as it's not used 2024-05-16 07:18:33 +02:00
Christian Breunig
fabf5326b8
Merge pull request #582 from 0xThiebaut/suricata
suricata: T751: Disable suricata.service by default
2024-05-14 19:27:46 +02:00
Viacheslav Hletenko
618b1379b7 T3420: Remove service upnp 2024-05-14 16:59:59 +00:00
Christian Breunig
884de8dc76 container: T5867: podman depends on libgpgme11t64 from trixie 2024-05-03 14:13:35 +02:00
Maxime THIEBAUT
845846108e suricata: T751: Disable suricata.service by default 2024-05-03 00:31:38 +02:00
Daniil Baturin
1edab4ef0b iso: T6262: update the boot splash for 1.5/Circinus
Picture courtesy of Oleg Gorobets
2024-04-23 11:31:22 +01:00
Ginko
d2d083ac57
Enhance config.boot.default NTP allow-clients for T5694 and T6123
Adds ipv4/ipv6 localhost, link-local and private address as allowed-clients to NTP service.
2024-04-11 11:29:14 -04:00
Christian Breunig
1a7a54730d
Merge pull request #556 from sever-sever/T6228
T6228: Cleanup of not existing systemd units
2024-04-11 16:05:48 +02:00
Viacheslav Hletenko
0622fa1ee5 T6228: Cleanup of not existing systemd units
Delete not existing units:
```
06:12:51  Failed to disable unit, unit logd.service does not exist.
06:12:51  Failed to disable unit, unit heartbeat.service does not exist.
```
2024-04-11 12:06:46 +00:00
Viacheslav Hletenko
daf8d44060 T1797: Delete not exist disable vpp service
The builder log:
```
06:12:53  Failed to disable unit, unit vpp.service does not exist.
```
2024-04-11 11:32:39 +00:00
Daniil Baturin
ff3645d4c3
Update the rolling release signing key 2024-04-02 14:19:31 +01:00
Christian Breunig
311963f379 ixgbe: T6155: remove modprobe.d option file 2024-03-22 09:02:21 +01:00
Christian Breunig
4110c7359d banner: T6077: implement ASCII contest winner default logo 2024-02-28 20:49:46 +01:00
greenpsi
80fdd62c73 T5945: add minisign public key for rolling release 2024-01-14 23:55:48 +01:00
Christian Breunig
cc04a75932 Kernel: T5887: update Linux Kernel to v6.6.9 2024-01-04 21:47:59 +01:00
Christian Breunig
197feda601 container: T5867: upgrade podman to 4.7.2 (Debian Trixie) 2023-12-28 16:13:24 +01:00
Indrajit Raychaudhuri
10b5c5bc93 ssh: T5841: Remove ssh-session-cleanup.service
With libpam-systemd >= 230-2, ssh-session-cleanup.service is no longer
necessary because when `UsePAM yes` in `/etc/ssh/sshd_config` (which is
the default), SSH sessions are cleaned up automatically when ssh-server
is shutdown or the system is rebooted.
2023-12-20 01:33:34 -06:00
zsdc
5765d67009 initramfs: T5824: Added openssl.cnf to initramfs
Without `openssl.cnf` software that uses `libssl` (for example busybox) has
issues with connections to some HTTPS servers.
2023-12-14 14:20:52 +02:00
Christian Breunig
8ce1ae8594
Merge pull request #336 from sarthurdev/kea
dhcp: T3316: Disable Kea services
2023-12-09 21:36:00 +01:00
Mathew McBride
ff6d215240 T5809: live-build-config: insmod gzio for vmlinuz kernels on arm64
Without this, GRUB will report a 'invalid magic' or 'missing UEFI
stub' error when loading kernels on arm64.

This change has no effect on x86-64 systems.
2023-12-08 16:48:30 +11:00
Christian Breunig
a3d29d9110 T4426: disable arpwatch.service by default 2023-12-03 19:25:28 +01:00
John Estabrook
e891c1e160 image: T4516: enable vyos-grub-update service 2023-11-15 08:15:01 -06:00
sarthurdev
ab4b3ee64f dhcp: T3316: Disable Kea services 2023-10-05 13:53:52 +02:00
Apachez
d47424822d T5589: Nonstripped binaries exists in VyOS 2023-10-04 16:26:09 +02:00
Daniil Baturin
3639462b57
Merge pull request #426 from Apachez-/T5589
T5589: Nonstripped binaries exists in VyOS
2023-10-03 10:15:55 +01:00
Apachez
baac90e4de T5624: Remove /etc/debian_version from the image 2023-09-30 04:35:49 +02:00
Apachez
51cf19f135 T5589: Nonstripped binaries exists in VyOS 2023-09-26 23:11:04 +02:00
Apachez
b6d5529ceb T5589: Nonstripped binaries exists in VyOS 2023-09-26 22:43:29 +02:00
Apachez
e433bd4f43 T5511: Cleanup of unused directories (and files) in order to shrink image-size 2023-09-16 10:18:52 +02:00
Christian Breunig
2ca594db0d T5511: drop empty hooks
This is a roundup commit to 0be277647 ("T5511: Cleanup of unused directories
(and files) in order to shrink image-size") that dropy empty/commented out
live-build hook scripts.
2023-09-16 08:04:26 +02:00
Apachez
0be277647d T5511: Cleanup of unused directories (and files) in order to shrink image-size 2023-09-16 05:09:56 +02:00
sarthurdev
d9e93d7353 live: T5568: Add serial boot option to live ISO 2023-09-14 22:04:26 +02:00
Apachez
fcee06ba7f T5511: Cleanup of unused directories (and files) in order to shrink image-size 2023-09-14 13:53:09 +02:00
Apachez
82de210a58 T5511: Cleanup of unused directories (and files) in order to shrink image-size 2023-09-13 22:53:31 +02:00
Christian Breunig
a9a1ca3cbb frr: T5239: remove daemons.conf generated by chroot hook
Daemon configuration is now generated during boot via vyos-1x repo.

See https://github.com/vyos/vyos-1x/pull/2245
2023-09-11 22:04:20 +02:00