Commit Graph

15 Commits

Author SHA1 Message Date
Peter Müller
cad2ce78dd Core Update 167: Replace /etc/mtab by symlink to /proc/self/mounts
mount, as updated via util-linux, no longer writes /etc/mtab, causing
programs to rely on this file's content (such as the check_disk Nagios
plugin) to stop working.

/proc/self/mounts contains all the necessary information, so it is fine
to replace /etc/mtab by a symlink to it.

Fixes: #12843

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-12 14:10:08 +00:00
Peter Müller
2506def0a6 Core Update 167: Export the location database again and reload the firewall
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-12 14:05:04 +00:00
Peter Müller
1e0314afdf Merge branch 'next' of ssh://people.ipfire.org/pub/git/ipfire-2.x into next 2022-04-12 11:56:18 +00:00
Peter Müller
c8d047f562 Core Update 167: Do not delete a file that should not have been deleted
My fault, again.

Fixes: #12841

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-12 11:54:27 +00:00
Arne Fitzenreiter
95229400b3 core167: add code needed for kernel update
remove the old kernel and reconfigure bootscripts for arm boards
and run user scripts to switch to a new kernel.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-04-12 11:35:20 +02:00
Peter Müller
6238a7098d Core Update 167: Apply local SSH changes to configuration file
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-08 16:01:03 +00:00
Peter Müller
490e86f403 Core Update 167: Update linker config before calling GPG
This avoids log messages like:
ldconfig: /lib/ld-linux-x86-64.so.2 is not a symbolic link

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-08 15:59:25 +00:00
Peter Müller
c9b5a4756f Core Update 167: Ship and apply sysctl changes
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-08 15:58:41 +00:00
Peter Müller
c60f6b3847 Core Update 166: Drop orphaned convert-ovpn script
This script only appeared in conjunction with Core Update 75, released
January 2014. Although it is still being executed while restoring a
backup, it would only be effective if anyone tried to restore a backup
created before C75.

I don't think there is a realistic need to carry this script along any
further. In doubt, it might be better to start from scratch again rather
than trying to restore an 8 year old backup, expecting everything to be
peachy and vanilla with it.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-03-31 09:50:59 +00:00
Peter Müller
ca4822a145 Core Update 167: Hardlink any identical firmware files on existing installations as well
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-03-31 09:27:12 +00:00
Peter Müller
7827c5fb9a Core Update 167: Delete dropped firmware files as well
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-03-31 09:22:40 +00:00
Peter Müller
1091a629ea Core Update 167: Add new Pakfire key after extracting the files
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-03-31 09:20:50 +00:00
Michael Tremer
13eaaa5657 core167: Ship util-linux
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-03-30 14:01:16 +00:00
Michael Tremer
12cb09eb5e core167: Increment release version in update.sh
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-03-30 13:53:23 +00:00
Michael Tremer
916ca6d476 Rename Core Update 166 into 167
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-03-30 13:48:09 +00:00