Questions tagged [rhel7]

Red Hat Enterprise Linux version 7 is a Linux distribution sold by Red Hat, Inc. for the enterprise market. It is used for both servers and desktops. Although the binaries are not freely available, the sources are, and so there are numerous projects which provide compatible rebuilds of RHEL, such as CentOS and Scientific Linux.

464 questions
42
votes
4 answers

I updated my CentOS 7 system. Why is Meltdown/Spectre only partially mitigated?

Like many of us, I spent yesterday updating a whole lot of systems to mitigate the Meltdown and Spectre attacks. As I understand it, it is necessary to install two packages and…
Michael Hampton
  • 237,123
  • 42
  • 477
  • 940
32
votes
2 answers

How to enable iptables (instead of firewalld) services on RHEL 7 and Fedora 18?

The newest fedora has firewalld as new firewall aplication. I liked old iptables services. I want them back but have no idea how to do that. I have tried : systemctl disable firewalld.service systemctl stop firewalld.service systemctl enable…
B14D3
  • 5,110
  • 13
  • 58
  • 82
17
votes
3 answers

Check if remote host/port is open - Can't use GNU Netcat nor NMap - RHEL 7

At work, the infrastructure team is rolling out new VMs with RHEL7 installed as the base OS. This particular image comes with the nmap-ncat version of Netcat and does not have NMap installed. We are precluded from installing anything on the…
λ Jonas Gorauskas
  • 373
  • 1
  • 4
  • 9
15
votes
2 answers

How to save iptables configuration on Redhat Enterprise Server 7

I have a Redhat server (Red Hat Enterprise Linux Server release 7.2 (Maipo)) that resets iptable rules on re/boot. According to the version 6 documentation, I execute: /sbin/service iptables save which returns: The service command supports only…
Roy Hinkley
  • 527
  • 4
  • 13
  • 20
14
votes
2 answers

Is there a way to run just save with firewalld in RHEL7?

I'm starting to use RHEL7 and learning a little about the changes that come with systemd. Is there a way to perform /sbin/service iptables save in firewalld? $ /sbin/service iptables save The service command supports only basic LSB actions (start,…
Peter Souter
  • 641
  • 1
  • 4
  • 13
11
votes
4 answers

How can you distinguish between a crash and a reboot on RHEL7?

Is there a way to determine whether a RHEL7 server was rebooted via systemctl (or reboot / shutdown aliases), or whether the server crashed? Pre-systemd this was fairly easy to determine with last -x runlevel, but with RHEL7 it's not so clear.
kwb
  • 173
  • 1
  • 8
11
votes
2 answers

Redhat 7 desktop to workstation

I installed a RedHat out of an installation cd, registered my entitlements, all that stuff. As part of my subscriptions I have both Red Hat Enterprise Linux Workstation and Red Hat Enterprise Linux Desktop. (plus a tons other) My problem is…
10
votes
2 answers

Servers fail to bind to addresses at boot

I'm dealing with a known issue in RHEL 7 whereby services that specify an address to bind to will not start correctly. I've found a number of similar reports, many say they have been resolved with updates to systemd but I still face this problem.…
miken32
  • 930
  • 1
  • 11
  • 32
10
votes
1 answer

Configuring Transparent Hugepages; [always], [madvise], or [never]

We have a bunch of general purpose Centos 7 LAMP stack servers that run apache with underlying MariaDB databases. From the RedHat Performance Tuning docs for RHEL 6: Trasparent Hugepages (THP) hides much of the complexity in using huge pages from…
Arth
  • 353
  • 5
  • 14
10
votes
2 answers

How does yum with Red Hat Network Subscription work inside the rhel Docker images?

Red Hat Enterprise Linux 7 includes official support for running Docker containers, and Red Hat offer a set of official rhel Docker images. An interesting feature of these images is that packages can be installed via the host's Red Hat Network…
Leynos
  • 216
  • 2
  • 5
9
votes
3 answers

DEFROUTE vs GATEWAY in RHEL7

I've disabled Network Manager and I'm using ifcfg- scripts for network configuration. And I'm trying to find the difference between DEFROUTE="yes" and GATEWAY options. I understand that "ifcfg files are parsed in numerically ascending order, and…
Roman_T
  • 333
  • 1
  • 4
  • 14
9
votes
3 answers

SELinux: How to create a new file type

On RHEL/CentOS 7 I'm trying to create a new SELinux security context for files to support a new service that I'm writing. I've created a Type Enforcement file for my new service, but I can't manage to create a new type that the system will recognize…
Guss
  • 2,520
  • 5
  • 32
  • 55
8
votes
1 answer

How can I deploy rolling OS upgrades & reboots with Puppet or MCollective?

I'm looking for the best way to perform regular rolling upgrades for my infrastructure. Typically, this involves doing this on each host, one at a time: sudo yum update -y && sudo reboot But, I'm hitting limits of that being a scalable. I want to…
pioto
  • 331
  • 1
  • 4
  • 13
8
votes
3 answers

How to ensure sshd is the last service to be stopped during shutdown?

I have noticed that when I issue a reboot command, my SSH connection is immediately closed on CentOS 7. It does not mean the server has rebooted, as I can still ping it. It seems systemd is killing sshd too early. Sometimes a service will get stuck…
Giovanni Tirloni
  • 5,693
  • 3
  • 24
  • 49
8
votes
2 answers

recommended way to configure a centos-7 network interface with static settings via ansible

I'm new to ansible and a little googling hasn't lead me quickly towards the right solution to my question. What's the 'with the grain' way to assign static network settings to a centos-7 host with ansible. I feel like this must be a pretty common…
Ben
  • 391
  • 1
  • 3
  • 11
1
2 3
30 31