Commit Graph

8696 Commits

Author SHA1 Message Date
Krzesimir Nowak
0103249bcb coreos-base/coreos-init: Pull in fixed sshd_config
According to sshd_config manual, only lines starting with a hash and
empty lines are treated as comments. Which means that comments coming
after the key value pairs are not really comments and sshd complains
about them like:

/etc/ssh/sshd_config line 6: keyword PrintLastLog extra arguments at end of line
/etc/ssh/sshd_config line 7: keyword PrintMotd extra arguments at end of line
/etc/ssh/sshd_config: terminating, 2 bad configuration options
2023-01-11 08:52:38 +01:00
Kai Lüke
32d8a64206 Merge pull request #2371 from flatcar/kai/backport-initrd-setup-root
sys-kernel/bootengine: Always run initrd-setup-root
2023-01-10 11:12:52 +01:00
Kai Lueke
abfaba8374 sys-kernel/bootengine: Always run initrd-setup-root
This pulls in
c8399e42bb9651c3c108f916f6645557ab41884b which is a backport of the
relevant parts of https://github.com/flatcar/bootengine/pull/50 to fix
https://github.com/flatcar/Flatcar/issues/944
2023-01-10 11:12:19 +01:00
Dongsu Park
285051316b Merge pull request #2370 from flatcar/cacerts-3.87-main
Upgrade ca-certificates in main from 3.86 to 3.87
2023-01-09 16:12:54 +01:00
Krzesimir Nowak
ba0743743d changelog: Add entries 2023-01-09 10:51:03 +01:00
Krzesimir Nowak
3b29f965e2 profiles: Cleanups for systemd
Sort the use flags, drop obsolete ones and nonexistent packages, drop
unnecessary accept keywords file (as it would potentially introduce a
version mismatch between amd64 and arm64).
2023-01-09 08:31:16 +01:00
Krzesimir Nowak
490ec0dc59 sys-apps/systemd: Apply Flatcar modifications 2023-01-09 08:31:16 +01:00
Krzesimir Nowak
45cc76db62 sys-apps/systemd: Sync with Gentoo
It's from Gentoo commit ef3b51926ede813b240e807911eef302ac0c4fdb.
2023-01-09 08:31:16 +01:00
Flatcar Buildbot
f2abbf09fe app-misc: Upgrade ca-certificates 3.86 to 3.87 2023-01-09 07:15:31 +00:00
Mathieu Tortuyaux
e9ec604f42 Merge pull request #2351 from flatcar/tormath1/ignition-vagrant
sys-apps/ignition: bring back noop OEM
2023-01-09 07:09:00 +01:00
Flatcar Buildbot
9ccfcc3c55 app-emulation: Upgrade Containerd 1.6.14 to 1.6.15 2023-01-06 08:22:37 +00:00
Mathieu Tortuyaux
43479cf6ae changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2023-01-03 09:12:58 +01:00
Flatcar Buildbot
2d2c3e61cc app-emulation: Upgrade Containerd 1.6.13 to 1.6.14 2022-12-23 08:21:45 +00:00
Mathieu Tortuyaux
8a6cbb8880 sys-apps/ignition: bring back noop OEM
it mainly brings back Vagrant which was failing with Ignition 2.14.0
even if no Ignition is provided.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-12-21 17:28:38 +01:00
Dongsu Park
0b3beed6fe Merge pull request #2350 from flatcar/docker-20.10.22-main
Upgrade Docker in main from 20.10.21 to 20.10.22
2022-12-21 16:56:14 +01:00
Flatcar Buildbot
7f1d5313e7 app-emulation: Upgrade Docker 20.10.21 to 20.10.22 2022-12-21 07:45:33 +00:00
Dongsu Park
5c8d650a98 dev-lang/rust: bump version from 1.65 to 1.66 to fix build
As the Gentoo ebuild of dev-lang/rust >= 1.65 keeps workaround that
explicitly checks for a version like 1.65, that ebuild would obviously
make the build fail with 1.66.
Update the version from 1.65 to 1.66 to fix the build.
2022-12-20 12:10:33 +01:00
Flatcar Buildbot
f87210ba5c dev-lang: Upgrade dev-lang/rust 1.65.0 to 1.66.0 2022-12-20 07:33:57 +00:00
Krzesimir Nowak
1e5bd7893f changelog: Add an entry 2022-12-19 10:22:48 +01:00
Krzesimir Nowak
5c4757654f profiles: Update USE name for sys-apps/systemd 2022-12-19 10:22:48 +01:00
Krzesimir Nowak
d313a77d29 sys-apps/systemd: Apply Flatcar modifications 2022-12-19 10:22:48 +01:00
Krzesimir Nowak
c0b3c67e51 sys-apps/systemd: Sync with Gentoo
It's from Gentoo commit 5ee96ebd12ec053d626f2e717bb4ba9f38991b4f.
2022-12-19 10:22:48 +01:00
Flatcar Buildbot
0a55fafbb7 app-emulation: Upgrade Containerd 1.6.12 to 1.6.13 2022-12-16 08:21:10 +00:00
Dongsu Park
27311821b3 Merge pull request #2336 from flatcar/firmware-20221214-main
Upgrade Linux Firmware in main from 20221109 to 20221214
2022-12-15 15:28:24 +01:00
Mathieu Tortuyaux
fa4fac2e51 Merge pull request #2318 from flatcar/tormath1/update-engine
coreos-base/update_engine: pull new update-engine
2022-12-15 12:32:35 +01:00
Krzesimir Nowak
17dfbf3365 Merge pull request #2335 from flatcar/krnowak/user-patches
coreos/user-patches: New directory for user-patches
2022-12-15 11:06:22 +01:00
Krzesimir Nowak
68c56b0c11 coreos/user-patches: New directory for user-patches 2022-12-15 11:05:56 +01:00
Flatcar Buildbot
252d052d22 sys-kernel: Upgrade Linux Firmware 20221109 to 20221214 2022-12-15 07:11:08 +00:00
Krzesimir Nowak
bc70d8bb4e Merge pull request #2333 from flatcar/krnowak/weekly
Changes for weekly updates (update glibc to 2.36)
2022-12-14 14:50:21 +01:00
Dongsu Park
f7564880d7 .github: run apt-get update before installing native Ubuntu packages
We should run apt-get update before installing native Ubuntu packages
like qemu-user-static. Otherwise apt-get install could fail like:

```
Err:1 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe
amd64 qemu-user-static amd64 1:6.2+dfsg-2ubuntu6.5
  404  Not Found [IP: 52.252.75.106 80]
```

That happens because meanwhile the qemu-user-static deb package in the
Azure mirror was updated from 6.5 to 6.6, without keeping the old
version. Its index of the Azure mirror was updated, but
setup-flatcra-sdk.sh did not sync that, as apt-get update did not run.
2022-12-14 09:50:07 +01:00
Dongsu Park
d147ba2b79 Merge pull request #2332 from flatcar/go-1.18.9-and-1.19.4-main
Upgrade Go from 1.19.3 and 1.18.8 to 1.19.4 and 1.18.9
2022-12-13 10:02:04 +01:00
Krzesimir Nowak
d5244cd84b changelog: Add an entry 2022-12-12 14:52:54 +01:00
Krzesimir Nowak
1c7d3ad34d sys-libs/glibc: Apply Flatcar modifications
- take care of nscd.conf via tmpfiles, add files/nscd-conf.tmpfiles.
  - comment out 'dostrip -x' to force the OS image binaries to be stripped
  - remove everything glibc wants to put under /etc since we use
    baselayout to provide that
2022-12-12 14:25:09 +01:00
Dongsu Park
ec387e32fa changelog: add security changelog for Go 1.19.4, 1.18.9 2022-12-12 10:00:14 +01:00
Krzesimir Nowak
20a7d491a1 sys-libs/glibc: Sync with Gentoo
It's from Gentoo commit aebe34585bd927ece8a8984ff9a27a4032378a6c.
2022-12-12 09:07:16 +01:00
Flatcar Buildbot
c481e616b8 dev-lang: Upgrade Go 1.18.8 to 1.18.9 2022-12-12 07:28:28 +00:00
Flatcar Buildbot
31c8095542 dev-lang: Upgrade Go 1.19.3 to 1.19.4 2022-12-12 07:28:28 +00:00
Flatcar Buildbot
8c8f3f97ef app-misc: Upgrade ca-certificates 3.85 to 3.86 2022-12-12 07:15:27 +00:00
Dongsu Park
94ee295e6e changelog: add security changelog for containerd 1.6.12 2022-12-09 13:13:56 +01:00
Flatcar Buildbot
4f0dd682f9 app-emulation: Upgrade Containerd 1.6.10 to 1.6.12 2022-12-09 08:22:42 +00:00
Krzesimir Nowak
ec5f6ca252 Merge pull request #2317 from flatcar/krnowak/libarchive-update
profiles: Drop accept keywords for app-arch/libarchive
2022-12-08 12:50:24 +01:00
Mathieu Tortuyaux
1fab9ca500 coreos-base/coreos: add libsodium
update_engine needs to access context from SHA256 to store it and
restore it for further computations on it.
With OpenSSL SHA256 v3 implementation is not possible, let's use the
libsodium implementation.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-12-08 11:18:52 +01:00
Mathieu Tortuyaux
018198129a coreos-base/update_engine: bump commit ID
this pulls the OpenSSL 3 upgrade.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-12-08 11:18:52 +01:00
Krzesimir Nowak
246bc58053 Merge pull request #2316 from flatcar/krnowak/weekly
Updates for weekly update 2022-12-05
2022-12-08 09:43:33 +01:00
Mathieu Tortuyaux
c40db9d10f Revert "coreos-base/update_engine: remove -Werror flag"
This reverts commit 5f720f7b9987bf8b7d15a9569b4a340bdf253260.
2022-12-07 13:33:48 +01:00
Krzesimir Nowak
5cae1e12de profiles: Drop accept keywords for app-arch/libarchive
The updated package is stable for both amd64 and arm64.
2022-12-07 11:37:28 +01:00
Flatcar Buildbot
b134ce0bb9 sys-kernel: Upgrade Kernel 5.15.79 to 5.15.81 2022-12-07 00:22:20 +05:30
Sayan Chowdhury
bcf2bb0b77 sys-libs/pam: Apply Flatcar patches
-  sys-libs/pam: Make /sbin/unix_chkpwd suid

This is to avoid importing fcaps eclass which adds a dependency on
sys-libs/libcap, which in turn depends on sys-libs/pam. To get out of
this conundrum, we could specify a "-filecaps" use flag for
sys-libs/pam. Problem with this solution would be no capability
override for the binary making it unable to read /etc/shadow. Thus we
make the binary suid. This is strictly less secure than overriding its
capabilities, but I have no idea how to solve it in a less hacky way.

-  sys-libs/pam: Install configuration into /usr

Also provide a tmpfiles fragment to bring it back.

- sys-libs/pam: Locked accounts functionality

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-12-06 15:06:47 +01:00
Krzesimir Nowak
ef09c88d70 sys-libs/pam: Reset to vanilla ebuild 2022-12-06 15:03:29 +01:00
Dongsu Park
eec5d85328 sys-devel/gdb: Apply Flatcar modifications
- Fix cross build issues with configuring gmp libs

  As gdb 11 or newer requires gmp libs as dependency, a cross build of
  gdb 11.2 started to fail when its configure scripts try to detect if
  gmp exists.  The failure occurs mainly because the build still
  passes '-L/usr/lib64` to LDFLAGS. Let's say, for example, host
  toolchains outside of sysroot have amd64 libs, while the target
  inside of sysroot should have arm64 libs. However, configure scripts
  of gdb 11.2 still try to find its libs outside of sysroot,
  /usr/lib64, although it should find its libs inside of sysroot,
  e.g. /build/arm64/usr/lib64.

  To fix the cross build issues, pass --with-sysroot as well as
  --libdir, correctly with ${ESYSROOT}.

  As a side note, for some reason, upstream gdb configure scripts are
  not able to correctly make use of its gmp-specific options like
  --with-gmp or --with-gmp-lib. Passing those options does not bring
  anything.  Also configure must have both --with-sysroot and
  --libdir, to make the build work.

- Replace dependency on virtual/yacc with app-alternatives/yacc

  The former is gone in favor of the latter in Gentoo. This change
  will be dropped when we sync the package with Gentoo again.
2022-12-06 14:53:36 +01:00