Commit Graph

9880 Commits

Author SHA1 Message Date
Flatcar Buildbot
7832ee4f95 sys-kernel: Upgrade Kernel 5.15.24 to 5.15.25 2022-02-24 07:22:10 +00:00
Mathieu Tortuyaux
abef07f31a changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-02-23 18:38:40 +01:00
Mathieu Tortuyaux
74ed89937c dev-libs/libmspack: apply flatcar changes
* remove useless ebuild
* set the prefix to the OEM partition since this is vmware-only

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-02-23 18:30:09 +01:00
Mathieu Tortuyaux
8deb1b043a dev-libs/libmspack: sync with ::gentoo
Commit-Ref: f4b02380c6eb5d4829d3909694a93566b789e5d6

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-02-23 18:28:07 +01:00
Mathieu Tortuyaux
5982f75c88 profiles/base: stabilize duktape
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-02-23 16:41:01 +01:00
Dongsu Park
fe7a6c904b profiles: enable su USE flag for shadow
Enable su USE flag for shadow, because shadow >= 4.11 does not have it
by default.
Ideally util-linux should have the su binary, but that is currently not
possible, because of a bunch of additional dependencies in SDK like
pam_sssd in baselayout.
2022-02-22 11:54:21 +01:00
Dongsu Park
2037f0a173 changelog: add changelog for shadow 4.11.1 2022-02-21 15:51:16 +01:00
Dongsu Park
a44f3b8fbd sys-apps/shadow: Apply Flatcar modifications
- Carry over our custom tmpfiles and securetty files
  - Remove /etc files and install them to /usr, use tmpfiles
  - Switch /etc/login.defs edits to /usr/share/shadow/login.defs
  - Drop moving passwd out of /usr since we don't have split-usr
  - Drop pkg_postinst
2022-02-21 15:51:16 +01:00
Dongsu Park
2b733fd76a sys-apps/shadow: update to 4.11.1
Sync with Gentoo to update sys-apps/shadow to 4.11.1, mainly to address
CVE-2013-4235.

Gentoo ref: defe2a377e43a756441b183b66e2c4aae2be27b5
2022-02-21 15:51:16 +01:00
Kai Lüke
2b41a770d5 Merge pull request #1640 from flatcar-linux/kai/udev-race
sys-apps/ignition: prevent races with udev
2022-02-21 11:24:33 +01:00
Kai Lueke
3d5309794a sys-apps/ignition: prevent races with udev
This pulls in
https://github.com/flatcar-linux/ignition/pull/35
to prevent boot failures such as fsck running while udev was still
processing the disk changes, and thus failing when the /dev/disk/
symlink is shortly gone.
2022-02-21 11:12:24 +01:00
Thilo Fromm
3219bd9035 Merge pull request #1661 from flatcar-linux/t-lo/bootengine-fix-container-build
sys-kernel/bootengine: fix containerised builds
2022-02-21 10:42:39 +01:00
Kai Lüke
a8c00f42d3 Merge pull request #1652 from flatcar-linux/kai/use-package-users
sys-apps/baselayout: remove duplicates of acct-user|group
2022-02-18 18:16:29 +01:00
Thilo Fromm
8adf98c2c8 sys-kernel/bootengine: fix containerised builds
Bump CROS_WORKON to include
https://github.com/flatcar-linux/bootengine/pull/36
to fix an issue with dracut in containerised builds.

Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
2022-02-18 18:00:50 +01:00
Mathieu Tortuyaux
e7923114db Merge pull request #1659 from flatcar-linux/tormath1/sqlite
dev-db/sqlite: skip `sqlite3` installation
2022-02-18 17:51:09 +01:00
Mathieu Tortuyaux
121cc4e28f profiles/coreos/make: add sqlite3 to INSTALL_MASK
this prevents the installation of `/usr/bin/sqlite3` cli provided by
`dev-db/sqlite`.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-02-18 17:48:18 +01:00
Dongsu Park
a6b7fcb76d Merge pull request #1658 from flatcar-linux/dongsu/bpftool
profiles,coreos-base: changes needed by bpftool
2022-02-18 11:53:45 +01:00
Kai Lueke
14bf508412 sys-apps/baselayout: remove duplicates of acct-user|group
This pulls in
https://github.com/flatcar-linux/baselayout/pull/23
to remove user entries which get safely created through
https://github.com/flatcar-linux/scripts/pull/227
using the acct-user ID allocations for systemd-sysusers.
2022-02-18 10:21:11 +01:00
Dongsu Park
a85e311aca coreos-base/hard-host-depends: add docutils, patchutils
Add dev-python/docutils, dev-util/patchutils to hard-host-depends.
Without adding those in the SDK, the new package dev-util/bpftool would
end up pulling in the new dependencies into the production images, which
should not happen.
2022-02-17 13:52:47 +01:00
Dongsu Park
0fc96039a9 profiles: force enable bpftool for arm64
As dev-util/bpftool does not have a keyword arm64, we need to force
enable arm64 keyword for bpftool.
2022-02-17 13:49:22 +01:00
Dongsu Park
9b9ac5ea39 coreos-base/coreos: add dev-util/bpftool
Get dev-util/bpftool included in the production images by default.
2022-02-17 13:48:42 +01:00
Krzesimir Nowak
6d0d5625f1 Merge pull request #1657 from flatcar-linux/linux-5.15.24-main
Upgrade Linux Kernel in main from 5.15.23 to 5.15.24
2022-02-17 10:23:18 +01:00
Kai Lüke
81fd6a88a2 Merge pull request #1651 from flatcar-linux/kai/use-networkd-conf-drop-in
Replace systemd patch by a drop-in file
2022-02-17 10:09:32 +01:00
Kai Lueke
584693874b Replace systemd patch by a drop-in file
This pulls in
https://github.com/flatcar-linux/init/pull/61
and
https://github.com/flatcar-linux/baselayout/pull/22
to use a drop-in file instead of the systemd patch.
2022-02-17 10:08:43 +01:00
Dongsu Park
5b1acafa48 Merge pull request #1650 from flatcar-linux/containerd-1.6.0-main
Upgrade Containerd in main from 1.5.9 to 1.6.0
2022-02-17 09:12:03 +01:00
Flatcar Buildbot
52e8cfc8f2 sys-kernel: Upgrade Kernel 5.15.23 to 5.15.24 2022-02-17 07:22:23 +00:00
Jeremi Piotrowski
fbe4fbe3b6 Merge pull request #1649 from flatcar-linux/jepio/systemd-gnuefi-target-only
profiles/coreos: move gnuefi systemd USE flag to target
2022-02-16 12:58:06 +01:00
Flatcar Buildbot
16e00441cb app-emulation: Upgrade Containerd 1.5.9 to 1.6.0 2022-02-16 11:20:20 +00:00
Jeremi Piotrowski
5228888a5c profiles/coreos: move gnuefi systemd USE flag to target
SDK bootstrap is failing with:

  Message: sbat-distro (from ID):

  ../systemd-stable-250.3/src/boot/efi/meson.build:189:24: ERROR: Problem encountered: Required sbat-distro option not set and autodetection failed

The gnuefi USE flag controls whether bootctl and systemd-boot are built, but we
only need those on the target. Currently the USE flag is set for SDK as well,
so move it to coreos/targets/generic.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2022-02-16 07:57:38 +01:00
Kai Lüke
330a7461fb Merge pull request #1636 from JAORMX/enable-auditd
Add auditd package and systemd unit
2022-02-15 20:38:49 +01:00
Kai Lüke
270806ad24 Update changelog/changes/2022-02-15-auditd.md 2022-02-15 20:33:33 +01:00
Krzesimir Nowak
26f624cb8d Merge pull request #1579 from flatcar-linux/krnowak/systemd-250
sys-apps/systemd: Update to 250.3
2022-02-15 17:46:03 +01:00
Krzesimir Nowak
b8505e5d89 profiles: Override UIDs and GIDs where we differ grom Gentoo
These mostly are UIDs and GIDs that we have allocated before we picked
up changes from Gentoo.
2022-02-15 17:35:28 +01:00
Krzesimir Nowak
f186c4720d sys-apps/baselayout: Bump
Add missing entries to passwd and group.

Updated netperf needs netperf user and group. Updated systemd needs
various systemd users and groups. Dnsmasq also seems to require its
own user/group.

All this is added to prevent systemd-sysusers adding these to
/etc/passwd. And systemd-sysusers adds these, because the updated
user/group eclass in portage-stable now drops configuration files into
/usr/lib/sysusers.d. Maybe at some point we will switch over to
(patched?) systemd-sysusers, so this catch-up game won't be necessary,
but we are not there yet.
2022-02-15 17:35:28 +01:00
Juan Antonio Osorio
8f1612bac2 Add changelog entry for auditd
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2022-02-15 17:44:00 +02:00
Juan Antonio Osorio
de263591ff Add auditd package and systemd unit
This includes the `auditd` binary and systemd unit as part of the
distro. While journald is also able to handle logs from the linux audit
subsystem, auditd provides audit-specific capabilities that are
necessary in deployments subject to regulatory compliance.

For one, an administrator is able to configure audit log writing policy
to ensure that logs land on disk and nothing is missed (`flush`). We
wouldn't want such policy through journald as it woudl sync and ensure
all logs which might be undesirable and too resource intensive. In
short, this allows us to configure different management policies for
audit logs compared to general logs.

It allows us to explicitly configure the node's reaction to errors such
as the disk beign full, the disk having other issues or space constraints.

While Flatcar is not Common Criteria certified which would require the
system to shut down if audit logs present issues (not written or
collected), some FedRAMP environments do require actions such as
notifications (which could be achieved via syslog). This can be
explicitly done with auditd as well.

Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2022-02-15 17:43:54 +02:00
Krzesimir Nowak
d3ccff1f01 changelog: Add entries 2022-02-14 16:35:33 +01:00
Krzesimir Nowak
e349d36ba6 profiles: Update systemd use flags
- Consolidate them (so enabling selinux and disabling hybrid cgroups
  was moved).

- Remove outdated masks (arm64 does not mask any use flags any more)
  and use flags (ssl was replaced in favor of +openssl and gnutls,
  introspection is gone).

- Add gnuefi (for bootctl, earlier it was built if we requested
  general efi support, now it's built when support also for gnu-efi is
  requested).
2022-02-14 16:35:33 +01:00
Krzesimir Nowak
ca71cd3a3f sys-apps/systemd: Apply Flatcar modifications 2022-02-14 16:35:33 +01:00
Krzesimir Nowak
4ff26d05db sys-apps/systemd: Sync with gentoo
It's from gentoo commit 909ff1217e19ce803fefbd16a67869426232f432.
2022-02-14 16:35:33 +01:00
Dongsu Park
fdc395e8de Merge pull request #1647 from flatcar-linux/go-1.17.7-main
Upgrade Go in main from 1.17.6 to 1.17.7
2022-02-14 15:59:37 +01:00
Krzesimir Nowak
2810b51a68 Merge pull request #1645 from flatcar-linux/linux-5.15.23-main
Upgrade Linux Kernel in main from 5.15.22 to 5.15.23
2022-02-14 15:48:34 +01:00
Dongsu Park
9ceb73704f changelog: add security changelog for Go 1.17.7 2022-02-14 14:36:22 +01:00
Flatcar Buildbot
188f067dd5 dev-lang: Upgrade Go 1.17.6 to 1.17.7 2022-02-14 07:30:02 +00:00
Flatcar Buildbot
3b0af8e48a sys-kernel: Upgrade Kernel 5.15.22 to 5.15.23 2022-02-12 07:21:24 +00:00
Dongsu Park
dc408cf2fc Merge pull request #1637 from flatcar-linux/firmware-20220209-main
Upgrade Linux Firmware in main from 20211216 to 20220209
2022-02-11 16:03:31 +01:00
Jeremi Piotrowski
bdcac570b1 Merge pull request #1628 from flatcar-linux/jepio/aws-arm64-fix-console
coreos-base/oem-ec2-compat: set correct console on arm64
2022-02-11 15:44:52 +01:00
Mathieu Tortuyaux
5a53c343fa Merge pull request #1639 from flatcar-linux/tormath1/polkit
sys-auth/polkit: remove `-Dwith-duktape`
2022-02-11 15:39:50 +01:00
Jeremi Piotrowski
08e53ca3b4 Merge pull request #1629 from flatcar-linux/jepio/walinuxagent-update
update WALinuxAgent to v2.6.0.2
2022-02-11 15:36:41 +01:00
Dongsu Park
f3b79484d8 Merge pull request #1611 from flatcar-linux/dongsu/gcc-10
Preparation for gcc 10
2022-02-11 13:56:31 +01:00