diff --git a/docs/en/docs/Administration/faqs.md b/docs/en/docs/Administration/faqs.md index d39cc95ce3648e3f69ef2a1f04f78d604f1ab37e..45895fc56ba6b67b6460e7e495593b96906dc499 100644 --- a/docs/en/docs/Administration/faqs.md +++ b/docs/en/docs/Administration/faqs.md @@ -1,24 +1,6 @@ # FAQs - - -- [FAQs](#faqs) - - [Why Is the Memory Usage of the libvirtd Service Queried by Running the systemctl and top Commands Different?](#why-is-the-memory-usage-of-the-libvirtd-service-queried-by-running-the-systemctl-and-top-commands-different) - - [An Error Occurs When stripsize Is Set to 4 During RAID 0 Volume Configuration](#an-error-occurs-when-stripsize-is-set-to-4-during-raid-0-volume-configuration) - - [Failed to Compile MariaDB Using rpmbuild](#failed-to-compile-mariadb-using-rpmbuild) - - [Failed to Start the SNTP Service Using the Default Configuration](#failed-to-start-the-sntp-service-using-the-default-configuration) - - [Installation Failure Caused by Software Package Conflict, File Conflict, or Missing Software Package](#installation-failure-caused-by-software-package-conflict-file-conflict-or-missing-software-package) - - [Failed to Downgrade libiscsi](#failed-to-downgrade-libiscsi) - - [Failed to Downgrade xfsprogs](#failed-to-downgrade-xfsprogs) - - [Failed to Downgrade elfutils](#failed-to-downgrade-elfutils) - - [CPython/Lib Detects CVE-2019-9674: Zip Bomb](#cpythonlib-detects-cve-2019-9674-zip-bomb) - - [ReDoS Attack Occurs Due to Improper Use of glibc Regular Expressions](#redos-attack-occurs-due-to-improper-use-of-glibc-regular-expressions) - - [An Error Is Reported When gdbm-devel Is Installed or Uninstalled During the Installation and Uninstallation of httpd-devel and apr-util-devel](#an-error-is-reported-when-gdbm-devel-is-installed-or-uninstalled-during-the-installation-and-uninstallation-of-httpd-devel-and-apr-util-devel) - - [An rpmdb Error Is Reported When Running the yum or dnf Command After the System Is Rebooted](#an-rpmdb-error-is-reported-when-running-the-yum-or-dnf-command-after-the-system-is-rebooted) - - [Failed to Run `rpmrebuild -d /home/test filesystem` to Rebuild the filesystem Package](#failed-to-run-rpmrebuild--d-hometest-filesystem-to-rebuild-the-filesystem-package) - - [An Error Is Reported When modprobe or `insmod` Is Executed With the `-f` Option](#an-error-is-reported-when-modprobe-or-insmod-is-executed-with-the--f-option) - - -## Why Is the Memory Usage of the libvirtd Service Queried by Running the systemctl and top Commands Different? + +## Question 1: Why Is the Memory Usage of the libvirtd Service Queried by Running the systemctl and top Commands Different? ### Symptom @@ -43,7 +25,7 @@ RSS in the output of the **top** command = anon\_rss + file\_rss; Shared memor In conclusion, the definition of memory usage obtained by running the **systemd** command is different from that obtained by running the **top** command. Therefore, the query results are different. -## An Error Occurs When stripsize Is Set to 4 During RAID 0 Volume Configuration +## Question 2: An Error Occurs When stripsize Is Set to 4 During RAID 0 Volume Configuration ### Symptom @@ -57,7 +39,7 @@ The 64 KB page table can be enabled only in the scenario where **stripsize** i You do not need to modify the configuration file. When running the **lvcreate** command on openEuler, set **stripesize** to **64** because the minimum supported stripe size is 64 KB. -## Failed to Compile MariaDB Using rpmbuild +## Question 3: Failed to Compile MariaDB Using rpmbuild ### Symptom @@ -91,7 +73,7 @@ After the modification: The modification disables the function of executing test cases during compilation, which does not affect the compilation and the RPM package content after compilation. -## Failed to Start the SNTP Service Using the Default Configuration +## Question 4: Failed to Start the SNTP Service Using the Default Configuration ### Symptom @@ -105,7 +87,7 @@ The domain name of the NTP server is not added to the default configuration. Modify the **/etc/sysconfig/sntp** file and add the domain name of the NTP server in China: **0.generic.pool.ntp.org**. -## Installation Failure Caused by Software Package Conflict, File Conflict, or Missing Software Package +## Question 5: Installation Failure Caused by Software Package Conflict, File Conflict, or Missing Software Package ### Symptom @@ -199,7 +181,7 @@ If a software package is missing, perform the following steps \(the missed softw file /usr/bin/build conflicts between attempted installs of python3-edk2-devel-202002-3.oe1.noarch and build-20191114-324.4.oe1.noarch ``` -## Failed to Downgrade libiscsi +## Question 6: Failed to Downgrade libiscsi ### Symptom @@ -228,7 +210,7 @@ Run the following command to uninstall the **libiscsi-utils** subpackage and the yum remove libiscsi-utils ``` -## Failed to Downgrade xfsprogs +## Question 7: Failed to Downgrade xfsprogs ### Symptom @@ -257,33 +239,7 @@ Run the following command to uninstall the **xfsprogs-xfs_scrub** subpackage and yum remove xfsprogs-xfs_scrub ``` -## Failed to Downgrade elfutils - -### Symptom - -The dependency is missing. As a result, elfutils failed to be downgraded. - -![](figures/1665628542704.png) - -### Possible Cause - -22.03-LTS, 22.03-LTS-Next: elfutils-0.185-12 - -master: elfutils-0.187-7 - -20.03-LTS-SP1: elfutils-0.180-9 - -In the preceding versions, the **eu-objdump**, **eu-readelf**, and **eu-nm** commands provided by the elfutils main package are split into the elfutils-extra subpackage. When elfutils-extra has been installed in the system and elfutils is downgraded, because an earlier version (such as the version of an earlier branch) cannot provide the corresponding elfutils-extra package, the elfutils-extra subpackage is not downgraded. However, the elfutils-extra subpackage depends on the elfutils package before the downgrade. As a result, the dependency problem cannot be resolved, and the elfutils subpackage fails to be downgraded. - -### Solution - -Run the following command to uninstall the elfutils-extra subpackage and then perform the downgrade: - -```shell -yum remove -y elfutils-extra -``` - -## CPython/Lib Detects CVE-2019-9674: Zip Bomb +## Question 8: CPython/Lib Detects CVE-2019-9674: Zip Bomb ### Symptom @@ -297,7 +253,7 @@ Remote attackers use zip bombs to cause denial of service, affecting target syst Add the alarm information to **zipfile** at . -## ReDoS Attack Occurs Due to Improper Use of glibc Regular Expressions +## Question 9: ReDoS Attack Occurs Due to Improper Use of glibc Regular Expressions ### Symptom @@ -333,7 +289,7 @@ A core dump occurs on the process that uses the regular expression. The glibc re 3. After a user program detects a process exception, the user program can restart the process to restore services, improving program reliability. -## An Error Is Reported When gdbm-devel Is Installed or Uninstalled During the Installation and Uninstallation of httpd-devel and apr-util-devel +## Question 10: An Error Is Reported When gdbm-devel Is Installed or Uninstalled During the Installation and Uninstallation of httpd-devel and apr-util-devel ### Symptom @@ -355,7 +311,7 @@ A core dump occurs on the process that uses the regular expression. The glibc re 1. Install gdbm-1.18.1-2 to upgrade gdbm. The error is rectified. 2. Upgrade gdbm, and then install gdbm-devel to make it depend on the gdbm of the later version. The error is rectified. -## An rpmdb Error Is Reported When Running the yum or dnf Command After the System Is Rebooted +## Question 11: An rpmdb Error Is Reported When Running the yum or dnf Command After the System Is Rebooted ### Symptom @@ -375,7 +331,7 @@ Step 1 Run the `kill -9` command to terminate all running RPM-related commands. Step 2 Run `rm -rf /var/lib/rpm/__db.00*` to delete all db.00 files. Step 3 Run the `rpmdb --rebuilddb` command to rebuild the RPM database. -## Failed to Run `rpmrebuild -d /home/test filesystem` to Rebuild the filesystem Package +## Question 12: Failed to Run `rpmrebuild -d /home/test filesystem` to Rebuild the filesystem Package ### Symptom @@ -396,7 +352,7 @@ The root cause of the symptom is that **filesystem** creates the **/proc** direc Do not use `rpmrebuild` to rebuild the **filesystem** package. -## An Error Is Reported When modprobe or `insmod` Is Executed With the `-f` Option +## Question 13: An Error Is Reported When modprobe or `insmod` Is Executed With the `-f` Option ### Symptom