Hot answers tagged

4

Non-root users do not use ~root/.bashrc for the same reason that they also don't use any other user's ~/.bashrc—these files are individual per-interactive-shell startup files. If you wish standard aliases or other initializations for all bash users on a system, those declarations belong in the systemwide per-interactive-shell startup file /etc/bash....


3

ncurses is the runtime package; to build software with ncurses, you need to install the development package, ncurses-devel.


3

More or less like you would for /dev/sdb1. First of all unmount /dev/sdb1 (you can mount it somewhere else). umount /dev/sdb1 You can create another directory and mount the disk there: mkdir /physical-data mount /dev/sdb1 /physical-data ...(the other options you already have). In /etc/fstab, rename "/data" to "/physical-data". Now the hard disk is ...


3

It's a bug in the libmagic library that file is using. A simple workaround is a "useless use of cat": echo '#! /bin/sh' | file - cat /path/to/fifo-or-special | file - The bug was first introduced in https://github.com/file/file/commit/fb6084e0f08: commit fb6084e0f08aef8991afcb3eb74168a456601908 Author: Christos Zoulas <christos@zoulas.com> Date: ...


3

CVE-2018-1312 was fixed in version 2.4.6-89 of the RHEL 7 httpd package; see RHSA-2019:1898 for details. You don’t need to upgrade to 2.4.41 for this; if your system is kept up-to-date, it will already have the fix, otherwise upgrade as usual to get it (see How do I apply package updates to my RHEL system?). The upgrade is safe, you don’t need to take any ...


2

ANSWER: The error is a red-herring: Required Plugins weren't distributed in RHEL 8.0 - 8.1 "In RHEL 8, the postfix package has been split into multiple subpackages, each subpackage providing a plug-in for a specific database. Previously, RPM packages containing the postfix-pcre, postfix-cdb, and postfix-sqlite plug-ins were not distributed. ...


2

The FreeBSD manual page tells me this is an utility to manage users and groups. All Linux distributions (and most Unices I know) have some special toolset for this, in Linux' case often derived from Debian's shadow-utils. Learn to use the native way of doing things! Such a tool depends intimately on the target's layout (how the relevant files are called, ...


2

Try booting with installation media, and diagnose/fix from there. Back up anything important! Chances are the machine or the system is broken, needing a migration or a reinstall from scratch.


2

Because tar and gzip are independent operations you should check first if the compressed archive if OK: gzip -t file.tar.gz and after this (if OK) you must decompress the archive and test the tar archive: gzip -dc file.tar.gz|tar tvf -


2

You didn't enable epel. You enabled the codeready-builder repo. First, add the epel repo: dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm It's normally enabled by default after it's installed but if not: dnf config-manager --enable epel You can then install dkms.


2

With a host-only virtual network, you should not use the same subnet that the physical network your host computer is using. The virtual machines can only talk (directly) to the each other and to the host machine using the "Virtual Host-only Network #2" adapter. If you want to connect your Host-only virtual network to your local LAN, the host VirtualBox host ...


1

I’m not aware of a repository providing ecryptfs-utils for RHEL 8. The package was removed in RHEL 7, and the upgrade path is to switch to LUKS (re-encrypting the data). However it is still available in Fedora, and in EPEL 7, so you could request a build for EPEL 8; see the ecryptfs-utils EPEL 7 request for a template.


1

Short answer: If your physical memory is not able to be served the percentage portion (90%),eventually swap will be used. When IO is larger than the designated percentage IO errors occur. Long answer: The percentage represents the portion of your memory(physical memory + swap partition or swap file}. Assuming that you have 1TiB DIMM (RAM) and set swap ...


1

If the files on /dev/sda have errors, then you need to run fsck on it. Keep in mind that it won't actually repair the disk itself but just the files. If the disk indeed has errors and it's failing, then it's best to replace the disk and restore the data from a backup because if it gets bad enough, you'll possibly have data loss especially if the disk dies ...


1

If the GRUB boot menu includes multiple kernel versions, try booting with an older version. (There should always be at least the current kernel and the kernel used by the OS installer: the latter has a version number like 0-rescue-<numbers>. If the boot is successful with an older kernel, then the problem might be a damaged/missing initramfs file. ...


1

Had to change the ownership of the cert file to ec2-user:root to get the process to access the cert file. This resolved the issue. Huge thanks to Roaima.


Only top voted, non community-wiki answers of a minimum length are eligible