public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] index.cgi: Add warning about reiserfs deprecation and removal if reiserfs used
Date: Sun, 20 Aug 2023 16:11:02 +0200	[thread overview]
Message-ID: <20230820141102.3418126-2-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20230820141102.3418126-1-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 12728 bytes --]

- Reiserfs was stopped in IPFire in Core Update 167. It has been announced that reiserfs
   will be removed from the kernel in 2025.
- This patch gives a warning about this deprecation and removal if reiserfs is used. The
   warning also requests that the user does a re-installation using either ext4 or xfs
   filesystems.
- Tested out on a vm installation with reiserfs, ext4 and xfs. Messgae shown on system
   with reiserfs filesystem but nopt on the other two.
- Warning message added into the English language file and ./make.sh lang run.

Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
 doc/language_issues.de |  2 ++
 doc/language_issues.en |  2 ++
 doc/language_issues.es |  2 ++
 doc/language_issues.fr |  2 ++
 doc/language_issues.it |  2 ++
 doc/language_issues.nl |  2 ++
 doc/language_issues.pl |  2 ++
 doc/language_issues.ru |  2 ++
 doc/language_issues.tr |  2 ++
 doc/language_missings  | 16 ++++++++++++++++
 html/cgi-bin/index.cgi |  9 ++++++++-
 langs/en/cgi-bin/en.pl |  2 ++
 12 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/doc/language_issues.de b/doc/language_issues.de
index 53e81a5d5..4fd5a0819 100644
--- a/doc/language_issues.de
+++ b/doc/language_issues.de
@@ -933,6 +933,8 @@ WARNING: untranslated string: netbios nameserver daemon = NetBIOS Nameserver Dae
 WARNING: untranslated string: no entries = No entries at the moment.
 WARNING: untranslated string: optional = Optional
 WARNING: untranslated string: pakfire invalid tree = Invalid repository selected
+WARNING: untranslated string: reiserfs warning1 = Reiserfs is deprecated and scheduled to be removed from the kernel in 2025.
+WARNING: untranslated string: reiserfs warning2 = Ensure a fresh installation is made using either ext4 or xfs filesystems before that date.
 WARNING: untranslated string: required = Required
 WARNING: untranslated string: route config changed = unknown string
 WARNING: untranslated string: routing config added = unknown string
diff --git a/doc/language_issues.en b/doc/language_issues.en
index 97166df4f..70eb9fbe8 100644
--- a/doc/language_issues.en
+++ b/doc/language_issues.en
@@ -1577,6 +1577,8 @@ WARNING: untranslated string: red1 = RED
 WARNING: untranslated string: references = References
 WARNING: untranslated string: refresh = Refresh
 WARNING: untranslated string: refresh index page while connected = Refresh index.cgi page while connected
+WARNING: untranslated string: reiserfs warning1 = Reiserfs is deprecated and scheduled to be removed from the kernel in 2025.
+WARNING: untranslated string: reiserfs warning2 = Ensure a fresh installation is made using either ext4 or xfs filesystems before that date.
 WARNING: untranslated string: release = Release
 WARNING: untranslated string: remark = Remark
 WARNING: untranslated string: remark title = Remark:
diff --git a/doc/language_issues.es b/doc/language_issues.es
index d755bea3e..45ffdf5d7 100644
--- a/doc/language_issues.es
+++ b/doc/language_issues.es
@@ -995,6 +995,8 @@ WARNING: untranslated string: no data = unknown string
 WARNING: untranslated string: openvpn cert expires soon = Expires Soon
 WARNING: untranslated string: openvpn cert has expired = Expired
 WARNING: untranslated string: pakfire ago = ago.
+WARNING: untranslated string: reiserfs warning1 = Reiserfs is deprecated and scheduled to be removed from the kernel in 2025.
+WARNING: untranslated string: reiserfs warning2 = Ensure a fresh installation is made using either ext4 or xfs filesystems before that date.
 WARNING: untranslated string: route config changed = unknown string
 WARNING: untranslated string: routing config added = unknown string
 WARNING: untranslated string: routing config changed = unknown string
diff --git a/doc/language_issues.fr b/doc/language_issues.fr
index 0d664336a..cacfb1ec6 100644
--- a/doc/language_issues.fr
+++ b/doc/language_issues.fr
@@ -948,6 +948,8 @@ WARNING: untranslated string: guardian logtarget_syslog = unknown string
 WARNING: untranslated string: guardian no entries = unknown string
 WARNING: untranslated string: guardian service = unknown string
 WARNING: untranslated string: pakfire ago = ago.
+WARNING: untranslated string: reiserfs warning1 = Reiserfs is deprecated and scheduled to be removed from the kernel in 2025.
+WARNING: untranslated string: reiserfs warning2 = Ensure a fresh installation is made using either ext4 or xfs filesystems before that date.
 WARNING: untranslated string: route config changed = unknown string
 WARNING: untranslated string: routing config added = unknown string
 WARNING: untranslated string: routing config changed = unknown string
diff --git a/doc/language_issues.it b/doc/language_issues.it
index 447b71af0..68ff12c86 100644
--- a/doc/language_issues.it
+++ b/doc/language_issues.it
@@ -1215,6 +1215,8 @@ WARNING: untranslated string: rdns = rDNS
 WARNING: untranslated string: reboot fsck = Reboot & run &lsquo;fsck&rsquo;
 WARNING: untranslated string: rebooting ipfire fsck = Rebooting IPFire, forcing filesystem check
 WARNING: untranslated string: received = Received
+WARNING: untranslated string: reiserfs warning1 = Reiserfs is deprecated and scheduled to be removed from the kernel in 2025.
+WARNING: untranslated string: reiserfs warning2 = Ensure a fresh installation is made using either ext4 or xfs filesystems before that date.
 WARNING: untranslated string: release = Release
 WARNING: untranslated string: required = Required
 WARNING: untranslated string: required field = Required field
diff --git a/doc/language_issues.nl b/doc/language_issues.nl
index dcfb8f67f..ea0abc74c 100644
--- a/doc/language_issues.nl
+++ b/doc/language_issues.nl
@@ -1238,6 +1238,8 @@ WARNING: untranslated string: ptr = PTR
 WARNING: untranslated string: rdns = rDNS
 WARNING: untranslated string: rebooting ipfire fsck = Rebooting IPFire, forcing filesystem check
 WARNING: untranslated string: received = Received
+WARNING: untranslated string: reiserfs warning1 = Reiserfs is deprecated and scheduled to be removed from the kernel in 2025.
+WARNING: untranslated string: reiserfs warning2 = Ensure a fresh installation is made using either ext4 or xfs filesystems before that date.
 WARNING: untranslated string: required = Required
 WARNING: untranslated string: required field = Required field
 WARNING: untranslated string: retbleed = Retbleed
diff --git a/doc/language_issues.pl b/doc/language_issues.pl
index faf686b86..893f73211 100644
--- a/doc/language_issues.pl
+++ b/doc/language_issues.pl
@@ -1418,6 +1418,8 @@ WARNING: untranslated string: reboot fsck = Reboot & run &lsquo;fsck&rsquo;
 WARNING: untranslated string: rebooting ipfire fsck = Rebooting IPFire, forcing filesystem check
 WARNING: untranslated string: received = Received
 WARNING: untranslated string: red1 = RED
+WARNING: untranslated string: reiserfs warning1 = Reiserfs is deprecated and scheduled to be removed from the kernel in 2025.
+WARNING: untranslated string: reiserfs warning2 = Ensure a fresh installation is made using either ext4 or xfs filesystems before that date.
 WARNING: untranslated string: release = Release
 WARNING: untranslated string: required = Required
 WARNING: untranslated string: required field = Required field
diff --git a/doc/language_issues.ru b/doc/language_issues.ru
index 6db59db59..64c9b5095 100644
--- a/doc/language_issues.ru
+++ b/doc/language_issues.ru
@@ -1413,6 +1413,8 @@ WARNING: untranslated string: reboot fsck = Reboot & run &lsquo;fsck&rsquo;
 WARNING: untranslated string: rebooting ipfire fsck = Rebooting IPFire, forcing filesystem check
 WARNING: untranslated string: received = Received
 WARNING: untranslated string: red1 = RED
+WARNING: untranslated string: reiserfs warning1 = Reiserfs is deprecated and scheduled to be removed from the kernel in 2025.
+WARNING: untranslated string: reiserfs warning2 = Ensure a fresh installation is made using either ext4 or xfs filesystems before that date.
 WARNING: untranslated string: release = Release
 WARNING: untranslated string: required = Required
 WARNING: untranslated string: required field = Required field
diff --git a/doc/language_issues.tr b/doc/language_issues.tr
index 7dfd3267d..eadbd33c7 100644
--- a/doc/language_issues.tr
+++ b/doc/language_issues.tr
@@ -1125,6 +1125,8 @@ WARNING: untranslated string: ptr = PTR
 WARNING: untranslated string: reboot fsck = Reboot & run &lsquo;fsck&rsquo;
 WARNING: untranslated string: rebooting ipfire fsck = Rebooting IPFire, forcing filesystem check
 WARNING: untranslated string: received = Received
+WARNING: untranslated string: reiserfs warning1 = Reiserfs is deprecated and scheduled to be removed from the kernel in 2025.
+WARNING: untranslated string: reiserfs warning2 = Ensure a fresh installation is made using either ext4 or xfs filesystems before that date.
 WARNING: untranslated string: release = Release
 WARNING: untranslated string: required = Required
 WARNING: untranslated string: retbleed = Retbleed
diff --git a/doc/language_missings b/doc/language_missings
index aa554c6e7..6eb960f62 100644
--- a/doc/language_missings
+++ b/doc/language_missings
@@ -73,6 +73,8 @@
 < optional
 < quick control
 < random number generator daemon
+< reiserfs warning1
+< reiserfs warning2
 < required
 < samba server role member
 < samba server role standalone
@@ -115,6 +117,8 @@
 < invalid ip or hostname
 < openvpn cert expires soon
 < openvpn cert has expired
+< reiserfs warning1
+< reiserfs warning2
 < service boot setting unavailable
 < spec rstack overflow
 < transport mode does not support vti
@@ -134,6 +138,8 @@
 < extrahd not mounted
 < g.dtm
 < g.lite
+< reiserfs warning1
+< reiserfs warning2
 < spec rstack overflow
 < upload fcdsl.o
 ############################################################################
@@ -517,6 +523,8 @@
 < reboot fsck
 < rebooting ipfire fsck
 < received
+< reiserfs warning1
+< reiserfs warning2
 < release
 < required
 < required field
@@ -1056,6 +1064,8 @@
 < rdns
 < rebooting ipfire fsck
 < received
+< reiserfs warning1
+< reiserfs warning2
 < required
 < required field
 < retbleed
@@ -1934,6 +1944,8 @@
 < rebooting ipfire fsck
 < received
 < red1
+< reiserfs warning1
+< reiserfs warning2
 < release
 < required
 < required field
@@ -2923,6 +2935,8 @@
 < rebooting ipfire fsck
 < received
 < red1
+< reiserfs warning1
+< reiserfs warning2
 < release
 < required
 < required field
@@ -3392,6 +3406,8 @@
 < reboot fsck
 < rebooting ipfire fsck
 < received
+< reiserfs warning1
+< reiserfs warning2
 < release
 < required
 < retbleed
diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi
index 5c384fd49..c2c0962dc 100644
--- a/html/cgi-bin/index.cgi
+++ b/html/cgi-bin/index.cgi
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2014  IPFire Team  <info(a)ipfire.org>                     #
+# Copyright (C) 2007-2023  IPFire Team  <info(a)ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -615,6 +615,13 @@ if ( -e "/var/run/need_reboot" ) {
 	print "</div>";
 }
 
+if ( `/bin/grep -c "reiserfs" /proc/self/mounts`  > 0 ) {
+        print "<div style='text-align:center; color:blue;'>";
+        print "<br/><br/>$Lang::tr{'reiserfs warning1'}";
+        print "<br/>$Lang::tr{'reiserfs warning2'}";
+        print "</div>";
+}
+
 &Header::closebigbox();
 &Header::closepage();
 
diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl
index 426c019b4..90d6f7739 100644
--- a/langs/en/cgi-bin/en.pl
+++ b/langs/en/cgi-bin/en.pl
@@ -2208,6 +2208,8 @@
 'refresh index page while connected' => 'Refresh index.cgi page while connected',
 'refresh update list' => 'Refresh update list',
 'registered user rules' => 'Talos VRT rules for registered users',
+'reiserfs warning1' => 'Reiserfs is deprecated and scheduled to be removed from the kernel in 2025.',
+'reiserfs warning2' => 'Ensure a fresh installation is made using either ext4 or xfs filesystems before that date.',
 'release' => 'Release',
 'released' => 'Released',
 'reload' => 'reload',
-- 
2.41.0


      reply	other threads:[~2023-08-20 14:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-20 14:11 [PATCH] dhcpcd: Update to version 10.0.2 Adolf Belka
2023-08-20 14:11 ` Adolf Belka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230820141102.3418126-2-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox