Commit Graph

977 Commits

Author SHA1 Message Date
David Abdurachmanov bafbe7491b
Fix riscv seccomp patch
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-06-10 16:33:26 +03:00
David Abdurachmanov a056577af6
Rebase riscv seccomp patch
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-06-10 16:01:09 +03:00
David Abdurachmanov 4b1c1c812f
Enable seccomp
This was originally disabled because one of our boards in Koji infra
didn't support seccomp. The board is removed from the infra.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-06-10 14:35:32 +03:00
David Abdurachmanov fd93247403
Merge remote-tracking branch 'up/f33' into f33-riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2022-06-10 14:33:23 +03:00
Zbigniew Jędrzejewski-Szmek 1bcc94fae9 Version 246.15 2021-07-20 18:41:32 +02:00
Zbigniew Jędrzejewski-Szmek 823c295af0 Version 246.14 2021-05-15 22:28:21 +02:00
Zbigniew Jędrzejewski-Szmek f5c76bb664 Make sure not to lose systemd-networkd enablement when upgrading from F32 2021-05-15 21:34:00 +02:00
Zbigniew Jędrzejewski-Szmek 2299ee202a Version 246.13 2021-03-24 12:05:22 +01:00
Zbigniew Jędrzejewski-Szmek 6aa7553053 Add forgotten entry in changelog 2021-03-24 08:51:01 +01:00
Zbigniew Jędrzejewski-Szmek 90382542b5 Version 246.12 2021-03-23 10:19:26 +01:00
Zbigniew Jędrzejewski-Szmek e6a21d2052 Upload sources 2021-03-12 19:46:39 +01:00
Zbigniew Jędrzejewski-Szmek c546bbbc2d Version 246.11 2021-03-12 18:42:39 +01:00
Zbigniew Jędrzejewski-Szmek 30c6162c54 Version 246.10 2021-02-02 18:37:21 +01:00
Owen W. Taylor 779685bf4b Fix nss-resolve to properly fallback in a Flatpak sandbox
For unknown reasons, sd-bus has trouble connecting to the filtered
D-Bus system proxy exported by Flatpak and the connection to the
bus is closed during authentication. Don't mistake this for a remote
error - that was causing a hard failure rather than a fallback.
2021-01-05 00:24:40 -05:00
Zbigniew Jędrzejewski-Szmek b24ba6cad7 Fix bfq patch again
https://bugzilla.redhat.com/show_bug.cgi?id=1813219#c3
2021-01-02 15:10:58 +01:00
Zbigniew Jędrzejewski-Szmek b0eed6b094 Version 246.8 2020-12-16 16:30:12 +01:00
Zbigniew Jędrzejewski-Szmek 8d0eb549df Revert the fallback hostname revert
Sadly, this does not work.

It seems NM queries resolved for the local IP address and gets "linux"
and sets that as the transient hostname. Resolved has a "fallback hostname"
(that will now again be "fedora"), but it also has a fallback fallback hostname
that is "linux" that it used in reverse dns queries and such. NM gets
the "linux" name and tells hostnamed to use that as the transient hostname.
I don't think this is an improvement, since "linux" is a problematic
as "fedora". So let's revert this for now to avoid pointless churn,
until we figure out a real solution.
2020-12-08 20:13:08 +01:00
Zbigniew Jędrzejewski-Szmek 0734f6bacd Restore "localhost" as the fallback hostname 2020-12-08 18:54:58 +01:00
Zbigniew Jędrzejewski-Szmek 0c781e3fb3 Version 246.7 2020-12-08 18:47:55 +01:00
Zbigniew Jędrzejewski-Szmek bb07b579b9 Move container networkd config to -networkd subpackage
-container subpackage is for container *management*. Those files are
used *in* the container.

(cherry picked from commit 9bf9a317b6)
2020-12-08 18:30:19 +01:00
Zbigniew Jędrzejewski-Szmek 22dd111420 Pull in perl for tests
(cherry picked from commit 39bdda8d19)
2020-12-08 18:30:05 +01:00
Zbigniew Jędrzejewski-Szmek 0e4b90f113 Stop creating resolv.conf symlink in more circumstances
(cherry picked from commit 5bf2aac8b4)
2020-12-08 18:29:58 +01:00
Zbigniew Jędrzejewski-Szmek ede219f77b Use normal scriptlets for systemd-networkd
(cherry picked from commit b6a8363c43)
2020-12-08 18:29:24 +01:00
Robert Scheck 3dbcab83bf Harmonize networkd description/summary with other sub-packages
(cherry picked from commit 5acb5c4c08)
2020-12-08 18:29:14 +01:00
Zbigniew Jędrzejewski-Szmek 12233f3769 Do not touch resolv.conf if it is a mountpoint
https://bugzilla.redhat.com/show_bug.cgi?id=1885101
(cherry picked from commit 96b7895b99)
2020-12-08 18:29:08 +01:00
Zbigniew Jędrzejewski-Szmek ed795fb1fc resolve: remove the fallback dns server list
DNS questions (which necessarilly include IP addresses) are personally
indentifying information in the sense of GDPR
(https://gdpr.eu/eu-gdpr-personal-data/ explicitly lists IP address as
PII). Sending those packets to Google or Cloudflare is "forwarding"
this PII to them. GDPR says that information which is not enough to
identify individuals still needs to be protected because it may be
combined with other information or processed with improved technology
later. So even though the information in DNS alone it not very big, it
may be interpreted as protected information in various scenarios.

When Fedora is installed by an end-user, they must have the reasonable
expectation that Fedora will contant Fedora servers for updates and
status checks and such. But the case of DNS packets is different,
because the dns servers are not under our control. While most of the
time the information leak through DNS is negligible, we can't rule out
scenarios where it could be considered more important.

Another thing to consider is that ISP and other local internet access
mechanisms are probably worse overall for privacy compared to google and
cloudflare dns servers. Nevertheless, they are more obvious to users and
fit better in the regulatory framework, because there are local laws
that govern them and implicitic or explicit agreements for their use.
Whereas US-based servers are foreign and are covered by different rules.

The fallback DNS servers don't matter most of the time because
NetworkManager will include the servers from a DHCP lease. So
hopefully users will not see any effect from the change done in this
patch. Right now I think it is better to avoid the legal and privacy
risk. If it turns out this change causes noticable problems, we might
want to reconsider. In particular we could use the fallback servers
only in containers and such which are not "personal" machines and there
is no particular person attached to them.

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3C4KESHIMZDB6XCFO4EOBEDV4Q2AVVQ5/

I think we could provide a default dns server list more reasonably if
there was some kind of privacy policy published by Fedora and users
could at least learn about those defaults. Sadly, we don't have any
relevant privacy policy (https://pagure.io/Fedora-Council/tickets/issue/53).

(cherry picked from commit 14b2fafb36)
2020-12-08 18:29:01 +01:00
David Abdurachmanov c50883d629
Add support for riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-12-04 14:00:35 +02:00
Zbigniew Jędrzejewski-Szmek 6168715468 Merge branch 'master' into f33 2020-10-01 16:19:42 +02:00
Dusty Mabe 283a994776 split-files: break out more files into networkd subpackage
There were some things left in the main package that should have
been in the sub package (including networkd.conf). This is an attempt
to make the list of files in the networkd package more correct.

It explicitly tries to leave sytemd-network-generator and the network
targets in the main package.
2020-10-01 09:14:06 +02:00
Zbigniew Jędrzejewski-Szmek d3d43af8ad Only create resolv.conf symlink if sd-resolved.service is enabled
This way, if one wants to opt-out of resolved, installing a preset
that disables the service is enough. Previously that would only disable
the service, but a dangling symlink would be created.
2020-09-30 23:12:54 +02:00
Zbigniew Jędrzejewski-Szmek 7d7120d566 Only create resolv.conf symlink if sd-resolved.service is enabled
This way, if one wants to opt-out of resolved, installing a preset
that disables the service is enough. Previously that would only disable
the service, but a dangling symlink would be created.
2020-09-30 23:12:12 +02:00
Zbigniew Jędrzejewski-Szmek f3f602da25 Upgrades: only replace NM /etc/resolv.conf if NM is enabled 2020-09-29 18:32:09 +02:00
Zbigniew Jędrzejewski-Szmek 3905512117 Upgrades: only replace NM /etc/resolv.conf if NM is enabled 2020-09-29 18:30:47 +02:00
Zbigniew Jędrzejewski-Szmek ce6da66f61 Pull in libfido2-devel
fido2 support in homed was actually unavailable.
2020-09-27 14:03:41 +02:00
Zbigniew Jędrzejewski-Szmek 147b753f29 Fix permissions on libsystemd-shared.abignore 2020-09-27 14:03:41 +02:00
Zbigniew Jędrzejewski-Szmek f10da8ae84 Add option to disable lto
This makes the build noticably faster.
2020-09-27 14:03:41 +02:00
Zbigniew Jędrzejewski-Szmek b36512ad8f Make main package Conflicts+Obsoletes with -standalone- subpackages
I'm not entirely sure if this is the right form...
Is Conflicts? useful when we have Obsoletes?

Seem to work OK. I tested:
dnf --installroot=... install x86_64/systemd-standalone-sysusers-246.6-2.fc34.x86_64.rpm  x86_64/systemd-standalone-tmpfiles-246.6-2.fc34.x86_64.rpm
→ succeeds with a new installation
→ fails if the installroot already had systemd installed
dnf --installroot=... install x86_64/systemd{,-libs,-pam}-246.6-2.fc34.x86_64.rpm noarch/systemd-noarch-246.6-2.fc34.noarch.rpm
→ uninstalls the two standalone packages
2020-09-27 14:01:34 +02:00
Filipe Brandenburger b50e9d7f29 Create separate standalone packages for tmpfiles and sysusers
These packages include binaries that link to a static version of
libsystemd-shared, so they don't depend on the systemd-libs package at
runtime.

These packages are intended to expose systemd-tmpfiles and systemd-sysusers
to non-systemd systems, such as container images.

Note that static linking only pulls in the small subset of functions from
libsystemd-shared that are actually used by the binaries, so the total size of
a statically linked binary is much smaller than the sum of the shared binary
with the shared library. The resulting binaries on an x86_64 build have 272KB
(tmpfiles) and 180KB (sysusers).

This commit relies on the -Dstandalone-binaries=true build configuration that
was pushed upstream in PR 16061 and released in systemd v246.
2020-09-26 21:00:25 +02:00
Christian Glombek f455b2249a Split out networkd sub-package
And add it to main package as recommended dependency.
2020-09-26 20:43:40 +02:00
Zbigniew Jędrzejewski-Szmek 043ff2e2f0 Add patch for kernel bug 2020-09-20 13:11:35 +02:00
Zbigniew Jędrzejewski-Szmek f74b957328 Version 246.6 2020-09-20 13:10:31 +02:00
Zbigniew Jędrzejewski-Szmek 3417440344 New version of patch 2020-09-14 21:16:32 +02:00
Zbigniew Jędrzejewski-Szmek a896a747c3 Apply patches to make test-path pass 2020-09-14 17:59:27 +02:00
Zbigniew Jędrzejewski-Szmek de06d8e22c Rework patches for test-path 2020-09-14 10:03:26 +02:00
Zbigniew Jędrzejewski-Szmek 81cd8d4bcf Fix patch numbering 2020-09-14 09:26:12 +02:00
Zbigniew Jędrzejewski-Szmek 269358bd5e One more debugging patch 2020-09-14 09:19:02 +02:00
Zbigniew Jędrzejewski-Szmek b98737cec4 Force creation of /etc/resolv.conf symlink during installation
https://bugzilla.redhat.com/show_bug.cgi?id=1873856#c14
2020-09-13 11:04:30 +02:00
Zbigniew Jędrzejewski-Szmek 04b6e059f7 Force creation of /etc/resolv.conf symlink during installation
https://bugzilla.redhat.com/show_bug.cgi?id=1873856#c14
2020-09-13 11:03:33 +02:00
Zbigniew Jędrzejewski-Szmek 0345c83b50 Version 246.5 2020-09-13 11:02:40 +02:00
Zbigniew Jędrzejewski-Szmek 764adb18da Don't complain if /dev/urandom is unavailable 2020-09-02 12:35:56 +02:00