397 Commits

Author SHA1 Message Date
John Estabrook
c1adab0c13 T7321: enable vyos-commitd.service for intial testing 2025-05-22 12:57:21 -05:00
Christian Breunig
0dd3b4e329 systemd: T7356: use short service names to avoid truncation
The issue ONLY appears on small terminals where systemd automatically truncates
the lines to match the terminal width - so far so good. The BUG is, if
truncation happens in the service name which is BOLD you're pretty much
screwed, as truncation will not reset the color.

We can set StatusUnitFormat=description in /etc/systemd/system.conf which will
not print the service long description to avoid truncation making the boot a
little less verbose.

This actually restores the behavior of VyOS 1.3
2025-05-04 23:51:14 +02:00
Christian Breunig
818e89fe7f
Merge pull request #951 from c-po/syslog-T7367
T7367: syslog.service links to rsyslog.service - thus disable it, too
2025-04-23 20:25:24 +02:00
Christian Breunig
6f9bcdb054 T7367: syslog.service links to rsyslog.service - thus disable it, too
The default syslog implementation should make syslog.service a symlink to
itself, so that this socket activates the right actual syslog service. As
rsyslog service is already disabled - also take care of the linked service.
2025-04-20 21:28:30 +02:00
Daniil Baturin
0efde86ea6 build: T7241: remove fastnetmon from the list of services
to be disabled by default
2025-04-18 12:42:25 +01:00
Daniil Baturin
7487f6354b
Merge pull request #944 from c-po/netplug-T7353
T7353: netplug.service is started by vyos-router
2025-04-15 15:42:08 +01:00
Christian Breunig
4ce28b3f8c T7353: netplug.service is started by vyos-router
Netplug daemon is started last after all interfaces got initialized to
properly monitor them for up/down events.
2025-04-13 07:22:10 +02:00
Daniil Baturin
6dab4426c6 build: T7345: do not use Debian Buster repos in image builds 2025-04-10 11:53:34 +01:00
Daniil Baturin
56497dd47d build: T7301: do not include the GPG image signing key in images 2025-04-01 11:01:43 +01:00
oniko94
0646013a7c
T7278: Fix missing cracklib database files on image update 2025-03-25 14:15:45 +02:00
Christian Breunig
d5db3bf117 T861: use custom Kernel certificate over the root shim signing certificate 2025-03-18 16:24:43 +01:00
Christian Breunig
a02b10b2ba T861: use secure-boot certificates from data/certificates 2025-03-18 16:19:39 +01:00
Daniil Baturin
b35cbd8363
Merge pull request #931 from jestabro/commitd
T7121: Set up communication vyconfd to vyos-commitd
2025-03-18 15:09:02 +00:00
Daniil Baturin
452b17eaca hooks: T7217: remove Dropbear SSH host keys
that may be generated by postinstall scripts
to prevent accidental use of non-unique keys
baked into images
2025-03-17 17:58:33 +00:00
John Estabrook
2c90ce3fd2 T7121: disable vyos-commitd.service until replacement of vyos-configd 2025-03-16 23:59:49 -05:00
Christian Breunig
3d24c1077e
Merge pull request #898 from c-po/syslog-T6989
T6989: disable rsyslog service
2025-02-04 18:24:45 +01:00
Daniil Baturin
591f550246 build: T7132: new boot splash for rolling release images
The pseudo-constellation can be nicknamed "Operarius" ("The Worker")
(genitive singular: "Operarii")

Image by Oleg Gorobets
2025-02-03 19:15:19 +00:00
Christian Breunig
a0ef45b19d T6989: disable rsyslog service 2025-02-02 21:42:47 +01:00
Viacheslav Hletenko
631934dbea T7105: Disable by default vpp service until it is configured 2025-01-30 10:04:33 +00:00
Daniil Baturin
15c0bd7578
Merge pull request #824 from jestabro/vyconf-minimal
T6718: use the vyconf daemon for validation of set commands
2024-12-06 21:37:58 +00:00
John Estabrook
2416f963ad image-tools: T6864: keep file necessary for compat add image
Revert "T1416: remove deprecated default-union-grub-entry"
This reverts commit d50707bb295dbd4bc50e3d0301fc8be605448429.
The file grub/default-union-grub-entry and its companion
install-image/postinst are needed for 'compatibility-mode' upgrades:
when upgrading from a system with legacy image-tools, those two files
are expected to exist in the mounted image of the target iso.
2024-11-13 15:08:04 -06:00
John Estabrook
394ec80f49 T6718: vyconfd.service is started by vyos-router 2024-10-25 10:04:09 -05:00
sarthurdev
61d3585f19 live: T5568: Fix live grub menu entries 2024-10-25 00:07:11 +02: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