Commit Graph

19202 Commits

Author SHA1 Message Date
Peter Müller
3f6238f7c1 Merge branch 'next' into temp-c169-development 2022-05-30 19:09:46 +00:00
Michael Tremer
71d53192d3 core168: Add script to automatically repair MDRAID arrays
Please see the header of the script for more details.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-05-30 18:59:34 +00:00
Michael Tremer
69aac83da9 core168: Add rd.auto to kernel command line
This parameter will enable dracut to automatically launch any MDRAID
arrays at boot time.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-05-30 18:59:33 +00:00
Peter Müller
8077bacb82 strongSwan: Bring back firewall rules for permitting IP-in-IP, ESP and AH traffic
Fixes: #12866
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-05-20 05:44:06 +00:00
Peter Müller
b630a9a8a8 Core Update 168: fcrontab != crontab
Silly me.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-18 17:42:24 +00:00
Peter Müller
690d420840 Start Core 169
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-18 14:32:32 +00:00
Michael Tremer
1c1d9fd7bf dracut: Enable automatic assembly of any RAID/LVM devices
This has changed in dracut 24 and we have used various hacks to enable
this behaviour again when it would have been so easy to just enable this
parameter.

Fixes: #12862 - Upgrade from Core 166 to 167 does not use RAID anymore
Reported-by: Dirk Sihling <dsihling@web.de>
Reported-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-16 18:31:12 +00:00
Peter Müller
bbd4767fcf Core Update 168: Ship liburcu
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-16 07:12:23 +00:00
Stefan Schantl
4eb6ba2bd5 poppler: Fix rootfile.
libpoppler.so.120.0.0 contains all the functions and symbols which
are required by the tools linked against it.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2022-05-16 07:12:00 +00:00
Stefan Schantl
691a83f237 libinih: Fix rootfile.
Some tools of the xfsprogs are linked against libinih and therefore
we need to ship those libs.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2022-05-16 07:11:45 +00:00
Stefan Schantl
0f3b6da86d liburcu: Fix rootfile.
At least the xfsprogs is linked agains the urcu libraries and therefore
requires them to run and deal with xfs filesystems.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
2022-05-16 07:11:35 +00:00
Stefan Schantl
b7273366c4 Core 168: Remove pakfire metadata for krb5 and libtiff.
Both packages have become part of the core system, so these files
are not longer needed.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-05-15 18:08:41 +02:00
Stefan Schantl
9c5f467dcf libtiff: Move into core system.
pango and the PDF tools as core parts are linked against
libtiff, therefore this library has to become a part of the
core distribution too.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-05-15 18:00:34 +02:00
Stefan Schantl
d7a292cbea krb5: Move package into core system.
On one hand, the key.dns_resolver binary is linked against libkrb5, so this
library at least is required by the base system.

On the other hand this easily allows different services on the firewall
to use kerberos for authentication (ssh etc).

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-05-15 17:54:12 +02:00
Stefan Schantl
8533f1b1d3 poppler: Fix rootfile.
libpoppler.so.120.0.0 contains all the functions and symbols which
are required by the tools linked against it.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-05-13 23:24:43 +02:00
Stefan Schantl
30199da115 libinih: Fix rootfile.
Some tools of the xfsprogs are linked against libinih and therefore
we need to ship those libs.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-05-13 23:19:45 +02:00
Stefan Schantl
4131a0a1ad liburcu: Fix rootfile.
At least the xfsprogs is linked agains the urcu libraries and therefore
requires them to run and deal with xfs filesystems.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-05-13 23:15:02 +02:00
Stefan Schantl
88b248400a Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next 2022-05-13 23:13:52 +02:00
Stefan Schantl
e2f4f99e49 update-ids-ruleset: Silent script if no providers settings file exists.
Only try to read-in the providers settings file, in case it exists.
Otherwise the script produces an error message, about the missing file,
each time it gets executed.

Because of the fcron job this would be twice a day in most cases.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-05-13 20:38:45 +00:00
Stefan Schantl
ceb8b07b2c pango: Fix rootfile.
The main libraries libpangocairo and libpangosoft2 accidently have been
marked to be not shipped or part of the system.

They are required by collecty and various other libraries or binaries.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-05-13 20:38:43 +00:00
Stefan Schantl
89c7320bcf update-ids-ruleset: Silent script if no providers settings file exists.
Only try to read-in the providers settings file, in case it exists.
Otherwise the script produces an error message, about the missing file,
each time it gets executed.

Because of the fcron job this would be twice a day in most cases.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-05-13 19:06:31 +02:00
Stefan Schantl
e9e2a282c3 pango: Fix rootfile.
The main libraries libpangocairo and libpangosoft2 accidently have been
marked to be not shipped or part of the system.

They are required by collecty and various other libraries or binaries.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-05-13 18:51:15 +02:00
Stefan Schantl
4d18d19c98 Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next 2022-05-13 18:49:28 +02:00
Peter Müller
9f42266a59 strongswan: Update rootfile
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-13 09:22:35 +00:00
Stefan Schantl
8615d42ce7 expat: Fix rootfile.
The libexpat.so.1 file is just a symlink to libexpat.so.1.8.8 which
contains all the functions and symbols required by the binaries, linked
against it. Therefore this file needs to be present on the systems.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-13 09:18:20 +00:00
Stefan Schantl
60790fd6e0 expat: Fix rootfile.
The libexpat.so.1 file is just a symlink to libexpat.so.1.8.8 which
contains all the functions and symbols required by the binaries, linked
against it. Therefore this file needs to be present on the systems.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2022-05-13 06:28:32 +02:00
Peter Müller
27d1dc083e Core Update 168: Ship and restart strongSwan
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-12 18:06:59 +00:00
Peter Müller
b074ebd6ad strongSwan: Update to 5.9.6
See: https://github.com/strongswan/strongswan/releases/tag/5.9.6

Since this addresses security issues, and also with regards to reports
such as https://community.ipfire.org/t/core-update-167-ipsec-issue/7893,
I take the liberty to push this straight into Core Update 168.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-12 18:04:52 +00:00
Peter Müller
1ad192722a intel-microcode: Update to 20220510
Please refer to https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20220510
for further details.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-12 17:53:50 +00:00
Peter Müller
6758499749 Core Update 168: Ship core-files
https://community.ipfire.org/t/core-168-testing-working/7901/7

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-12 17:27:34 +00:00
Peter Müller
91f1aaaa86 nagios-plugins: Bump package version for OpenLDAP update
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-10 14:12:53 +00:00
Peter Müller
64fb91fedf Core Update 168: Ship necessary dependencies
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-10 14:12:21 +00:00
Peter Müller
7dc85dec94 Core Update 168: Ship coreutils
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-10 13:56:59 +00:00
Peter Müller
672582488b Core Update 168: Ship GnuPG
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-10 13:54:25 +00:00
Stefan Schantl
0e48c84c42 suricata: Perform ruleset update every 12 hours.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-08 14:24:44 +00:00
Peter Müller
3b92642427 Update rootfiles
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-08 14:16:10 +00:00
Peter Müller
dc871930f6 Core Update 168: Ship pakfire.cgi
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-08 13:14:16 +00:00
Leo-Andres Hofmann
2b5253bbbb pakfire.cgi: Cosmetic fixes
Add formatting to improve readability of dependencies list header.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Acked-by: Peter Müller <peter.muelle@ipfire.org>
2022-05-08 13:13:21 +00:00
Leo-Andres Hofmann
3706e0a5b3 pakfire.cgi: Discard tac stderr output
Prevents meaningless "broken pipe" messages in the httpd error log.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Acked-by: Peter Müller <peter.muelle@ipfire.org>
2022-05-08 13:13:21 +00:00
Leo-Andres Hofmann
85d570843e pakfire.cgi: Implement Post/Redirect/Get pattern
Refreshing the Pakfire page may cause a command to be
executed multiple times and induce odd errors.

This patch implements a HTTP 303 redirect after form processing,
which causes the browser to discard the POST form data.
Navigating backward or reloading the page now does not trigger
multiple executions anymore.

Fixes: #12781

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Acked-by: Peter Müller <peter.muelle@ipfire.org>
2022-05-08 13:13:21 +00:00
Leo-Andres Hofmann
3cdb83939b pakfire.cgi: Notify user if Pakfire is already performing a task
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Acked-by: Peter Müller <peter.muelle@ipfire.org>
2022-05-08 13:13:21 +00:00
Leo-Andres Hofmann
4b5d1f3001 pakfire.cgi: Show error and log messages earlier
The main page cannot be used while an installation is running.
Therefore it makes more sense to generate the log output first.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Acked-by: Peter Müller <peter.muelle@ipfire.org>
2022-05-08 13:13:20 +00:00
Leo-Andres Hofmann
0f506a130c pakfire.cgi: Fix indentation
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Acked-by: Peter Müller <peter.muelle@ipfire.org>
2022-05-08 13:13:20 +00:00
Leo-Andres Hofmann
cd521e78b8 pakfire.cgi: Separate command processing and HTML generation
Move most of the command execution away from the HTML output.
This makes it easier to modify or extend individual commands.

Also load Pakfire settings earlier to ensure that they are
available during command execution.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Acked-by: Peter Müller <peter.muelle@ipfire.org>
2022-05-08 13:13:20 +00:00
Peter Müller
c7105c6e66 spectre-meltdown-checker: Update to 0.45
Please refer to https://github.com/speed47/spectre-meltdown-checker/releases/tag/v0.45
for the release announcements of this version.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-08 12:05:53 +00:00
Peter Müller
d79814485f Core Update 168: Delete orphaned symlinks to Suricata ruleset updater
Reported-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-08 12:03:18 +00:00
Peter Müller
fd1e3e3c74 Core Update 168: Stop services before extracting files
https://lists.ipfire.org/pipermail/development/2022-May/013398.html

On a general note, we should do so for every Core Update, as it is more
sane to stop services before deleting or overwriting any files.

Reported-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-08 12:00:10 +00:00
Peter Müller
0ab31dfdb1 make.sh: Sigh, bump core update version
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-08 11:42:19 +00:00
Peter Müller
3e2e9c1593 Core Update 168: Ship intel-microcodes and rebuild initrds
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-08 11:41:09 +00:00
Peter Müller
822076e0c2 intel-microcode: Update to 20220419
Please refer to https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20220419
for the release announcement.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-08 11:24:06 +00:00