Skip to main content
2 votes
Accepted

How do you find packages and dependencies?

Trying to figure out how to even find where repos exist for yum installations. Usually, you stick with Red Hat's repos, and EPEL (which you can enable by installing epel-release). Maybe even ...
Marcus Müller's user avatar
2 votes

Looking to add or append terms in multiple lines using sed command

sed '/User1/s/$/ User2/' file Would append User2 to lines that contain User1 but note that these lines also contain User1: ControlUser1.5: alice joe foo: User12 bar: OtherUser1 So it should ...
Stéphane Chazelas's user avatar
1 vote

Need a method for managing systemd services across multiple hosts

systemd cannot manage services running on multiple hosts. You do have some other options. Pacemaker + corosync Pacemaker is a tool for managing resources across a cluster. It can do some of what you ...
larsks's user avatar
  • 36.6k
1 vote
Accepted

Red Hat 8 - Decoding firewalld rejects

Not all that cryptic if you have a minimal understanding of tcp/ip networking. Sep 13 10:03:07 localhost kernel: FINAL_REJECT: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:11:11:b0:3a:6e:08:00 SRC=10.2.3.87 ...
tink's user avatar
  • 6,919
1 vote

Problem: The operation would result in removing the following protected packages: sudo

The sudo package requires libldap.so.2 (for /usr/libexec/sudo/sudoers.so, the default plugin), and libldap.so.2 is provided by the openldap package; so no, you can’t remove openldap.
Stephen Kitt's user avatar
1 vote
Accepted

How to get rid of quotes around bash arguments stored in array?

There is no quote in those array elements: bash-5.1$ DNF_OPTS=('--disableplugin=subscription-manager' '--disablerepo=*' '--enablerepo=a,b,c') bash-5.1$ typeset -p DNF_OPTS declare -a DNF_OPTS=([0]=&...
Stéphane Chazelas's user avatar
1 vote

Symbol lookup error for List::Util Perl module after RHEL7 to RHEL8 upgrade

On a RHEL 8.9 system, after a fresh install of dnf install perl: # perl -MList::Util -e 'print "$List::Util::VERSION\n";' 1.49 RHEL 8 includes version 1.49 of List::Util, packaged as perl-...
telcoM's user avatar
  • 103k
1 vote

learning about physical volumes and logical volumes

The physical disk now has 135GB (or exactly 133.4GB) but the physical volume or pv still has 98GB because the added space isn't a part of it. First, install growpart if you haven't already. yum ...
Nasir Riley's user avatar
  • 11.9k
1 vote

How to run a systemctl command without sudo?

To do it without sudo, you would need to set up a polkit rule. The default rules can be found at /usr/share/polkit-1/rules.d/. You can read them for examples, but your own custom rules should go to /...
telcoM's user avatar
  • 103k

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