Commit Graph

8114 Commits

Author SHA1 Message Date
Kai Lueke
aab279e546 sys-apps/systemd: add update checklist file for other repos
The "init" repo has a systemd unit with lines that should be kept in
sync with upstream. Normally changes are not expected but in case there
are some, it may be good to be aware.
2022-04-13 20:42:45 +09:00
Kai Lueke
b72f6270ae coreos-base/coreos-init: skip ensure-sysext unit
This pulls in https://github.com/flatcar-linux/init/pull/68 to skip
the ensure-sysext unit when systemd-sysext is skipped to prevent a
dependency failure being reported.

Closes: https://github.com/flatcar-linux/Flatcar/issues/710
2022-04-13 20:42:45 +09:00
Krzesimir Nowak
004eb51116 Merge pull request #1806 from flatcar-linux/linux-5.15.33-main
Upgrade Linux Kernel in main from 5.15.32 to 5.15.33
2022-04-13 13:14:04 +02:00
Flatcar Buildbot
1b0798a8cf dev-lang: Upgrade Go 1.17.8 to 1.17.9 2022-04-13 08:49:29 +00:00
Dongsu Park
3f9e8fe33d profiles: accept keywords ~arm64 for app-arch/libarchive 3.6.1
Accept keywords ~arm64 for app-arch/libarchive 3.6.1.
2022-04-13 10:24:47 +02:00
Jeremi Piotrowski
8127e67ec7 coreos-base/oem-gce: allow container to mess with /sys and /proc/irq
The container performs multi-queue optimizations for ssd and network devices
which requires touching /proc and /sys/ mounts which systemd-nspawn usually
mounts readonly. Allow the container to modify those by setting the appropriate
environment variable (found via https://systemd.io/ENVIRONMENT/).
2022-04-12 15:38:23 +02:00
Jeremi Piotrowski
2a3c23cd62 app-emulation/google-compute-engine: update to 20190124
and add missing dependencies on dev-python/distro and sys-apps/coreutils. We
need to bump the version to 20190124 because:

* 20180611 is not compatible with python 3.9 because of missing distro module and
  trying to access os.errno (instead of importing the errno module). Also why we
  need the dependency on dev-python/distro

* 20190124 is the last version before the repo was split and reorganized which
  would require more work to the ebuilds

The coreutils dependency is necessary because the scripts call basename/nproc/cat
but previously coreutils was pulled in by the following dependency chain:

(dependency required by "app-admin/eselect-1.4.16::portage-stable" [binary])
(dependency required by "app-eselect/eselect-python-20160516::portage-stable" [binary])
(dependency required by "dev-lang/python-2.7.15::portage-stable" [binary])
(dependency required by "dev-python/boto-2.48.0::portage-stable" [binary])
(dependency required by "app-emulation/google-compute-engine-20180611::coreos" [binary])
(dependency required by "coreos-base/coreos-oem-gce-0.0.1-r5::coreos" [binary])
(dependency required by "coreos-base/coreos-oem-gce" [argument])

This chain seems to not hold any longer and we should be explicit about
dependencies.
2022-04-12 15:34:32 +02:00
Jeremi Piotrowski
5a5e01afff profiles/.../oem-aci: allow python3 in oem-aci images
The oem-aci profile previously removed python3 from the produced oem
images by having an entry saying dev-lang/python-3.X is provided and
removing all python3 files. This only worked as long as python2 was
available and installed instead, but since python2 was removed from the
tree these entries in the profile resulted in oem-aci having no python
at all. This prevents the oem-gce service from working, since a lot of
what it does is python.

Remove the INSTALL_MASK and package.provided entries for python3 to
allow python3 into oem-aci images.
2022-04-12 15:32:57 +02:00
Flatcar Buildbot
cadfeeaa21 dev-lang: Upgrade dev-lang/rust 1.59.0 to 1.60.0 2022-04-11 08:32:12 +00:00
Flatcar Buildbot
d036d79ec9 sys-kernel: Upgrade Kernel 5.15.32 to 5.15.33 2022-04-09 07:22:27 +00:00
Mathieu Tortuyaux
8d414910a4 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-08 15:28:07 +02:00
Mathieu Tortuyaux
78aaf24880 sys-kernel/coreos-modules: build RAPL module
This enables support for the Intel Running Average Power Limit (RAPL)
technology via MSR interface, which allows power limits to be enforced
and monitored on modern Intel processors.

It can be useful for energy consumption monitoring tools.

src: https://github.com/torvalds/linux/blob/master/drivers/powercap/Kconfig

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-08 15:27:46 +02:00
Mathieu Tortuyaux
3dcf25a213 changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-08 11:22:44 +02:00
Mathieu Tortuyaux
fc0098caf4 coreos-base/afterburn: apply flatcar changes
* partially revert cl-legacy feature (without update-ssh-keys dependency)
  to bring back `vagrant_virtualbox` provider and ec2, gce
  cmdline support
* backport kernel parameters patch
* backport systemd-networkd-wait-online patch
* add Alias= to services
* sed AFTERBURN -> COREOS, AWS -> EC2, GCP -> GCE
* use update-ssh-keys to generate .ssh/authorized_keys

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-08 11:22:41 +02:00
Mathieu Tortuyaux
60441ac4ea coreos-base/afterburn: sync with the upstream
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-04-06 16:58:15 +02:00
Krzesimir Nowak
80a6408ba5 Merge pull request #1178 from flatcar-linux/krnowak/update-go
Update golang update job to update multiple golang versions
2022-04-06 16:21:47 +02:00
Flatcar Buildbot
5a78721f2c app-emulation: Upgrade Runc 1.1.0 to 1.1.1 2022-04-05 12:49:16 +02:00
Kai Lüke
fbcc7639e8 Merge pull request #1794 from flatcar-linux/kai/update-ssh-keys-after-ignition
coreos-base/coreos-init: run update-ssh-keys once after Ignition
2022-04-04 20:35:25 +02:00
Kai Lueke
5bc2d57025 coreos-base/coreos-init: run update-ssh-keys once after Ignition
This pulls in
https://github.com/flatcar-linux/init/pull/66
to fix the problem that Ignition keys would be lost as soon as
update-ssh-keys runs. This is done by placing Ignition's keys in as
files in the authorized_keys.d folder and calling update-ssh-keys after
Ignition ran.
2022-04-04 20:35:07 +02:00
Krzesimir Nowak
f0240c5530 Merge pull request #1799 from flatcar-linux/cacerts-3.77-main
Upgrade ca-certificates in main from 3.76 to 3.77
2022-04-04 17:56:08 +02:00
Krzesimir Nowak
809e511e67 Merge pull request #1783 from flatcar-linux/krnowak/pkg-updates-2020
Profile cleanups for package updates, 2020 edition
2022-04-04 17:31:13 +02:00
Flatcar Buildbot
da81edf384 app-misc: Upgrade ca-certificates 3.76 to 3.77 2022-04-04 07:23:34 +00:00
Krzesimir Nowak
69ef222c6f .github: Update multiple golang versions
Usually last two versions are supported, so make sure we keep them
both updated, not only just the latest. But try to also update the
newest unsupported version in case there was a window where the update
happened and then new major version was released.
2022-04-01 22:25:06 +02:00
Krzesimir Nowak
5daf5eb1ca .github: Allow specifying a start number for generated patches
When an action generates a couple of patches separately, then it might
be a good idea to specify a numbering, so applying the patches is done
in the desired order. Without that, all the generated patches would
start with "0001-" prefix.
2022-04-01 22:15:59 +02:00
Krzesimir Nowak
caf091343a dev-lang/go: Drop the patch for go 1.12
The patch dropped some security changes related to URL parsing in
go-1.12 to avoid breaking rkt. Since rkt is gone, the patch could be
dropped too.
2022-04-01 21:21:35 +02:00
Flatcar Buildbot
002ea4c50e Update mantle commit to latest HEAD 2022-04-01 14:28:37 +00:00
Dongsu Park
3b9a531252 Merge pull request #1793 from flatcar-linux/dongsu/open-vmdk-remove-patch
app-emulation/open-vmdk: remove Flatcar patch for builds with gcc 10
2022-04-01 16:28:13 +02:00
Flatcar Buildbot
633fa3f7e3 app-emulation: Upgrade Docker 20.10.13 to 20.10.14 2022-04-01 09:17:21 +02:00
Dongsu Park
7ea2183789 Merge pull request #1758 from flatcar-linux/containerd-1.6.2-main
Upgrade Containerd in main from 1.6.1 to 1.6.2
2022-04-01 09:11:22 +02:00
Dongsu Park
b5be30abe4 changelog/security: add changelog for containerd 1.6.2 2022-04-01 09:08:41 +02:00
Dongsu Park
588457c6a7 app-emulation/open-vmdk: remove Flatcar patch for builds with gcc 10
Now that the PR https://github.com/vmware/open-vmdk/pull/13 was merged,
we do not have to keep the Flatcar patch for fixing build issues with
gcc 10. Remove the patch.
2022-04-01 08:45:20 +02:00
Sayan Chowdhury
1e84a29c4a Merge pull request #1782 from flatcar-linux/sayan/update-zlib-1.2.12
sys-libs/zlib: Add arches to package.accept_keywords
2022-04-01 08:08:31 +05:30
Krzesimir Nowak
2d6ebc7478 coreos/config: Workaround flaky checks in net-dns/bind-tools
The reasoning is written in the config file. But at the same time drop
the outdated stuff - there is no such flag like --without-ecdsa any
more.
2022-03-31 16:06:58 +02:00
Dongsu Park
dd612f8059 changelog: add changelog for mdadm 4.2 2022-03-31 12:22:59 +02:00
Aniruddha Basak
667fb34b8a mdadm: migrate cron.weekly to systemd.timer (#1244)
Add mdadm timer and service files and remove the unused weekly cron
2022-03-31 12:22:59 +02:00
Dongsu Park
465aad46fe sys-fs/mdadm: update keywords amd64 and arm64 for mdadm 4.2-r1
Update keywords for amd64 and arm64 to be able to build mdadm 4.2-r1.
Update description in README as well.
2022-03-31 12:22:48 +02:00
Dongsu Park
7f7061c829 sys-fs/mdadm: update to 4.2-r1
Update sys-fs/mdadm to 4.2-r1, mainly to remove unnecessary third-party
Flatcar patches that are already included in the latest release 4.2.
2022-03-31 12:14:44 +02:00
Krzesimir Nowak
1dc58fe441 Merge pull request #1761 from flatcar-linux/krnowak/move-rust
Import virtual/rust to from portage-stable and update the rust workflow
2022-03-31 11:28:24 +02:00
Sayan Chowdhury
e8f1e16677 sys-libs/zlib: Add arches to package.accept_keywords
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-03-31 10:43:27 +05:30
Krzesimir Nowak
9eba5de9ae profiles: Disable smi, ssl and samba in net-analyzer/tcpdump
They became enabled by default after an update. We didn't need them
before, we don't need them now. Also, enabling smi pulls in
net-libs/libsmi that does not have a keyword for arm64 even.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
bc7bfe7d01 profiles: Disable pcre16 in dev-libs/libpcre2
It became enabled by default after an update, so revert that change in
our profiles. It was enabled upstream, because it was needed by
dev-qt/qtcore, which we don't have.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
edcdfb51ea profiles: Drop net-libs/libnetfilter_conntrack from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
84673e50f0 profiles: Drop outdated use flag for net-dns/bind-tools 2022-03-30 20:03:18 +02:00
Krzesimir Nowak
fb869eb7a3 profiles: Drop sys-fs/multipath-tools from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
86cb489943 profiles: Drop outdated use flag for net-analyzer/tcpdump 2022-03-30 20:03:18 +02:00
Krzesimir Nowak
770e86a737 profiles: Update accept_keywords for net-firewall/conntrack-tools 2022-03-30 20:03:18 +02:00
Krzesimir Nowak
8b22921049 profiles: Drop net-libs/libnetfilter_queue from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
23e9e04eeb profiles: Drop dev-libs/elfutils from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-03-30 20:03:18 +02:00
Krzesimir Nowak
54180d667b Merge pull request #1724 from flatcar-linux/krnowak/drop-intltool
coreos-base/hard-host-depends: Stop pulling in intltool
2022-03-30 18:50:21 +02:00
Krzesimir Nowak
17936f64ed .github: Fix base branch of the work branch
We want to base the work branch (like rust-1.59-main) on top of the
base branch from our remote, not from remote that came with SDK. This
will make the work branch creation fork-friendly.
2022-03-30 18:44:02 +02:00
Krzesimir Nowak
482651582d .github: Checkout our base branch in SDK coreos-overlay too 2022-03-30 18:07:06 +02:00
Dongsu Park
74dd64cce9 Merge pull request #1775 from flatcar-linux/dongsu/gnutls-3.7.3
profiles: delete keywords for gnutls
2022-03-30 15:53:45 +02:00
Jeremi Piotrowski
163effa73b Merge pull request #1777 from flatcar-linux/jepio/coreos-sources-hyperv-backport
coreos-sources: backport hyperv coherence fixes
2022-03-30 15:29:52 +02:00
Jeremi Piotrowski
f49c0cfe73 Merge pull request #1765 from flatcar-linux/linux-5.15.32-main
Upgrade Linux Kernel in main from 5.15.31 to 5.15.32
2022-03-30 15:29:20 +02:00
Jeremi Piotrowski
e498f55aaf sys-kernel/coreos-sources: backport kernel patches that fix memory coherence on Hyper-V
This is v3 of the patchset from here:
https://lore.kernel.org/lkml/1648138492-2191-1-git-send-email-mikelley@microsoft.com/T/#u

There was a slight merge conflict because hv_map_memory/hv_unmap_memory don't
exist in 5.15.
2022-03-30 13:13:11 +02:00
Dongsu Park
1aa0a5b4a7 profiles: delete keywords for gnutls
As we update gnutls to 3.7.3-r1 which is already stable, there is
no need to accept keywords for gnutls. Delete.
2022-03-30 10:20:37 +02:00
Flatcar Buildbot
9847794b4f sys-kernel: Upgrade Kernel 5.15.31 to 5.15.32 2022-03-30 08:24:53 +02:00
Flatcar Buildbot
35ecf3f62c Update mantle commit to latest HEAD 2022-03-30 05:42:24 +00:00
Jeremi Piotrowski
cb4c868253 Merge pull request #1768 from flatcar-linux/jepio/mantle-update-action
github/workflows: add mantle update action
2022-03-30 07:42:07 +02:00
Jeremi Piotrowski
f33072ddfb github/workflows: add mantle update action
This action runs over main and the release branches and creates a PR that
updates mantle reference to the latest one. By using a fixed branch name,
rerunning the action will update/close an existing PR if new mantle commits
happen or if the PR becomes obsolete.
2022-03-29 15:59:12 +02:00
Mathieu Tortuyaux
0cbc562928 Merge pull request #1767 from flatcar-linux/tormath1/unconfined
sec-policy/selinux-unconfined: move to ::portage-stable
2022-03-29 15:55:39 +02:00
Krzesimir Nowak
3f07ae6f09 Merge pull request #1708 from flatcar-linux/krnowak/pkg-updates-2019
Profile cleanups for updated packages from 2019
2022-03-29 15:45:09 +02:00
Krzesimir Nowak
44c82bb8c5 coreos-base/hard-host-depends: Stop pulling in intltool
The tool is deprecated, nothing pulls that in any more and it has a
dependency on dev-perl/XML-Parser, an updated version of which would
want to pull a bunch of new packages through dev-perl/libwww-perl.
Avoid the hassle and drop the tool.
2022-03-29 13:21:53 +02:00
Krzesimir Nowak
11917036f8 coreos-base/hard-host-depends: Sort the deps
Otherwise no changes done here.
2022-03-29 13:15:59 +02:00
Krzesimir Nowak
2ed433c6cc sys-auth/realmd: Add new patches, update deps
Realmd didn't have dev-util/intltool listed as a dependency, but it
actually required it during build. Apply a patch from upstream that
converts the project from intltool to gettext in order to get rid of
the dependency on the obsolete tool. To apply the patch without
conflicts, apply also another patch from upstream that modernizes the
configure.ac file.

We also disable the i18n through the --disable-nls flag. The disabling
is not complete though, so we still need to point gettext to the ITS
rules we have installed in ROOT.
2022-03-29 13:14:27 +02:00
Mathieu Tortuyaux
65107a9d0f sec-policy/selinux-unconfined: move to ::portage-stable
There is no Flatcar patches for this package.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-03-29 10:11:23 +02:00
Krzesimir Nowak
167c1e5ebf Merge pull request #1756 from flatcar-linux/linux-5.15.31-main
Upgrade Linux Kernel in main from 5.15.30 to 5.15.31
2022-03-24 19:34:55 +01:00
Mathieu Tortuyaux
743f7c470f changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2022-03-24 17:00:10 +01:00
Mathieu Tortuyaux
c608794004 sys-kernel/bootengine: add cryptsetup in initramfs
this is required to run luks encryption with ignition

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-03-24 17:00:10 +01:00
Krzesimir Nowak
afe689a3e3 .github: Update rust workflow to handle virtual/rust too 2022-03-24 16:56:44 +01:00
Krzesimir Nowak
778ed62f39 virtual/rust: Move from portage-stable
This file is modified by some automation, so move it out from
portage-stable - there shouldn't be any modified stuff there.
2022-03-24 16:44:21 +01:00
Flatcar Buildbot
60b5b921ad sys-kernel: Upgrade Kernel 5.15.30 to 5.15.31 2022-03-24 15:14:13 +01:00
Flatcar Buildbot
70038a7667 app-emulation: Upgrade Containerd 1.6.1 to 1.6.2 2022-03-24 11:18:36 +01:00
Dongsu Park
87ed710ec2 Merge pull request #1745 from flatcar-linux/sayan/update-util-linux-2.37.4
profiles: disable su USE flag for util-linux
2022-03-24 10:27:32 +01:00
Jeremi Piotrowski
f5b92b623f Merge pull request #1757 from flatcar-linux/jepio/workflows-lbzip2
.github/workflows: install lbzip2 to speed up sdk creation
2022-03-24 10:10:54 +01:00
Jeremi Piotrowski
cdd948d1c6 .github/workflows: install lbzip2 to speed up sdk creation
Our github actions use cork to create an sdk chroot, which pulls down bzipped
archives. The runners have 2 CPUs, so this unpacking could be faster if we
installed lbzip2. Cork transparently uses lbzip2.
2022-03-24 09:46:25 +01:00
Kai Lüke
9fdc34e13c Merge pull request #1750 from flatcar-linux/kai/go-binary-size
eclass/coreos-go.eclass: strip Go binaries by default
2022-03-23 21:39:26 +01:00
Krzesimir Nowak
d4850a6c86 coreos-devel/mantle: Bump to latest commit 2022-03-23 14:01:09 +01:00
Krzesimir Nowak
4a64240099 fixup! eclass/coreos-cargo: Ensure the modified config is valid TOML 2022-03-23 13:48:52 +01:00
Kai Lueke
e73121db37 eclass/coreos-go.eclass: strip Go binaries by default
The size contains not only of the /usr partition but also the /boot
partition require that we reduce the size of binaries as much as
possible.
Strip all Go binaries by default.
2022-03-23 13:11:15 +01:00
Krzesimir Nowak
090680dc6d Merge pull request #1746 from flatcar-linux/krnowak/emerge-gitclone-pr-fix
coreos-base/emerge-gitclone: Pull PRs properly
2022-03-22 19:47:43 +01:00
Krzesimir Nowak
97e608f538 coreos-base/emerge-gitclone: Pull PRs properly
This usually doesn't happen for releases, but for development
dev-containers it might be the case that portage-stable or
coreos-overlay commit is specified as some pull request reference -
these need to be fetched differently, as refs from refs/pull usually
are not fetched by default.
2022-03-22 16:21:07 +01:00
Mathieu Tortuyaux
21ef6d148d changelog: add entry
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-03-22 13:54:19 +01:00
Mathieu Tortuyaux
4f200d79ea profiles/coreos/base: enable fips across the OS
only support by OpenSSL and Cryptsetup for now.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-03-22 13:43:14 +01:00
Krzesimir Nowak
7acca26ab6 coreos-base/afterburn: Add dependency on dev-libs/openssl
The package depends on it through the openssl crate. Without openssl,
the package would fail to build because of missing header files.
2022-03-22 10:26:03 +01:00
Krzesimir Nowak
14ec0b2456 eclass/coreos-cargo: Ensure the modified config is valid TOML
We were appending the [build] section, and the updated cargo eclass
already added that to the config, so we ended up with having two
[build] sections in the config file. Try to amend the section instead
of appending it to the file. While at it, do the same with the
target.${RUST_TARGET} section too to be a bit more futureproof.
2022-03-22 10:26:03 +01:00
Krzesimir Nowak
f302e69455 coreos-base/update-ssh-keys: Bump EAPI to 8
EAPI 6 is too old for cargo eclass that gets inherited through
coreos-cargo.
2022-03-22 10:26:03 +01:00
Krzesimir Nowak
ab735a5df4 coreos-base/afterburn: Bump EAPI to 8
EAPI 6 is too old for cargo eclass that gets inherited through
coreos-cargo.
2022-03-22 10:26:03 +01:00
Krzesimir Nowak
5eccaeb306 profiles: Update accept_keywords for dev-lang/nasm
It is available for arm64 now, but still as unstable.
2022-03-22 10:26:03 +01:00
Krzesimir Nowak
9dec83eaa9 profiles: Drop app-misc/jq from accept_keywords
The updated package is stable for both amd64 and arm64.
2022-03-22 10:26:03 +01:00
Mathieu Tortuyaux
00cbb4bb25 profiles/base: accept tested version of cryptsetup
it's required to pull fips support

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2022-03-22 09:55:19 +01:00
Krzesimir Nowak
32941dc278 Merge pull request #1712 from JAORMX/sssd-selinux-module
Add sssd to list of SELinux modules enabled
2022-03-21 18:20:08 +01:00
Dongsu Park
1385747481 Merge pull request #1742 from flatcar-linux/linux-5.15.30-main
Upgrade Linux Kernel in main from 5.15.28 to 5.15.30
2022-03-21 17:34:25 +01:00
Dongsu Park
62298daf6b Merge pull request #1743 from flatcar-linux/sayan/update-intel-microcode-20220207_p20220207
sys-firmware/intel-microcode: update to 20220207_p20220207
2022-03-21 13:57:22 +01:00
Dongsu Park
cf81bdd8ef sys-kernel/coreos-sources: delete patch for Reverting xfrm state
The patch z0005-Revert-xfrm-state-... is already included in the
upstream v5.15.30. Delete the patch to fix build failures.
2022-03-21 13:52:33 +01:00
Dongsu Park
ac8fcf7ea7 Merge pull request #1744 from flatcar-linux/sayan/update-pambase-20220214
sys-auth/pambase: update stub version to 20220214
2022-03-21 13:24:34 +01:00
Sayan Chowdhury
7e12481655 sys-auth/pambase: update stub version to 20220214
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2022-03-21 13:23:01 +01:00
Dongsu Park
1749d86e40 Merge pull request #1735 from flatcar-linux/sayan/update-pam-1.5.1_p20210622-r1
sys-libs/pam: Update to 1.5.1_p20210622
2022-03-21 13:21:37 +01:00
Dongsu Park
4e2bcfb9a6 changelog: add changelog for pam 1.5.1_p20210622 2022-03-21 13:19:33 +01:00
Sayan Chowdhury
8d4ee0f2d6 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-03-21 13:19:33 +01:00