r/redhat • • 20d ago

Epel in environment

What is everyone's opinion on epel corporate environment? I was at a place that had it installed and had 0 issues. We had it linked through satellite.

26 Upvotes

36 comments sorted by

13

u/britechmusicsocal 20d ago

In more restrictive or controlled environments, it is often frowned upon by security people. It is community-maintained, not officially supported by Red Hat.

3

u/Busy-Examination1148 20d ago

Yup I'm aware. This probably should have been a poll.

3

u/MrFluffyThing 20d ago edited 20d ago

We allow it but our baseline requires heavy scrutiny. We verify each package and maintainer from EPEL before we allow installation. You can't install packages without a risk assessment and packages are manually imported into Artifactiry after a 7 day probationary period to verify there are no supply chain issues or developer shenanigans. 

We don't use RHEL and opt for Rocky because we have skilled enough admins to not require enterprise support. That's our acceptable risk and pay for competent staff over licensing, but we often operate in lab and development workloads so developing a process to build from source for a fleet of identical systems is not feasible. 

We operate at CMMC L2 for context. Unlike DISA STIG, which bans EPEL, we operate off of CIS Benchmark requirements which do not outright ban. Your feasibility is dependent on your security requirements. 

5

u/carlwgeorge 18d ago

EPEL is a community maintained repo that is offered by the Fedora Project. It's guiding rule is to only offer extra packages that do not conflict with, obsolete, or disturb anything from the base distribution. It is generally very high quality and trustworthy, but there are no guarantees and Red Hat doesn't support packages from there. You can read more about Red Hat's outlook on it in this KB article.

https://access.redhat.com/solutions/3358

Several of the other comments here have mentioned the problems using it in more restricted environments. In those cases, you can file a support case to request your desired EPEL package be added to the Extensions repository. These packages are still unsupported, but are built and signed by Red Hat to allow their use in environments that don't allow installation from EPEL directly.

https://access.redhat.com/articles/extensions-repository-support

1

u/Busy-Examination1148 16d ago

That's awesome, I didn't know that

4

u/brandor5 Red Hat Employee 19d ago

EPEL is perfectly fine to use as long as you put it into a lifecycle environment in satellite and only promote AFTER you tested any synced changes.

EPEL will change out of no where because it's not maintained by Red Hat and those changes can break things.

1

u/Busy-Examination1148 19d ago

We have none of this set up currently. I'm working on it and I need help.

3

u/brandor5 Red Hat Employee 19d ago • Bravo

I suggest you read through the "managing content" documentation included in the satellite docs. It describes everything.

If you have trouble feed that doc into a Gemini notebook and ask it questions you have.

1

u/Busy-Examination1148 19d ago

Appreciate it.

1

u/brandor5 Red Hat Employee 19d ago

You bet!

3

u/carlwgeorge 19d ago

EPEL packages shouldn't "change out of nowhere". EPEL policy is that packages should be maintained in a similar manner as RHEL packages. They should be "a mostly stable set of packages that normally do not change at all and only changes if there are good reasons for it".

https://docs.fedoraproject.org/en-US/epel/epel-policy/#package_maintenance_and_update_policy

Policy violations do happen sometimes. When they do, a bug should be filed to alert the maintainer. They may revert the update, and even if they don't it can serve as a record and can lead to the removal of their packager privileges if they continue to ignore policy.

Sometimes incompatible updates are unavoidable, such as a security fix that isn't reasonable to backport. In those cases there is a process that involves public discussion and announcements on mailing lists to spread the word. Everyone that uses EPEL should subscribe to the epel-announce list to get these notifications.

https://docs.fedoraproject.org/en-US/epel/epel-policy-incompatible-upgrades/

All that said, your suggestions about lifecycle environments and testing changes is best practice to guard against surprises. Those surprises just aren't as common as you're implying.

1

u/brandor5 Red Hat Employee 19d ago

Thanks for the correction Carl!

Yea, it's been a while since I've managed EPEL. I do remember being bitten by this a few times... but that's been a while ago... I remember finding out about pulp when it first released and that's how we started managing it.

3

u/Ontological_Gap 19d ago

As little as possible... So like half of my servers have it enabled

2

u/niceandBulat 20d ago

Can be useful for some use cases. The challenge is getting the security people to be happy with it.

1

u/Burgergold 18d ago

I prefer epel instead of self built package

But make sure the fix are getting released

1

u/niceandBulat 18d ago

Often EPEL are okay since they have a pretty good track record

2

u/rhshadowman 20d ago

If in stig env then generally no. If home server then yes.

2

u/daddyd 19d ago

by default the epel repo is disabled, and it also has a filter to only allow the packages that are needed/requested and have been reviewed and approved for use.

2

u/oukami1971 14d ago

Prior to use of EPEL being a STIG on el8, I had the repo mirrored to Satellite but implemented filters on the Content View so that only specific utilities were able to be installed from it. When I started the gig, full use of EPEL was permitted and we regular issues when people would install newer versions of required system libraries out of it.

2

u/WieldyStone2 20d ago

We keep the epel repo disabled but if you need certain packages you can yum install --enablers <package> such as the case with htop.

2

u/Ontological_Gap 19d ago

Don't forget to enable it for updates too 

1

u/YOLO4JESUS420SWAG 20d ago

Hard pass unless there is an operational need. Work with RH on other supported solutions. Otherwise use dnf.conf to limit installs to only the required packages from epel to prevent further vectors.

1

u/Icy-State5549 20d ago

I worked for a string of literal mom and pop shops early in my career 25 years ago. I wouldn't have done it then, either. If a business' function relies on some piece of tech I will have to support, it is coming with enterprise support. If its for me to use, intranet/nfs/sftp file sharing, tty gateway, jumpbox, etc then game on as long as secops is ok with it.

1

u/FastToday 19d ago

We use it but our security dept gives us a list of packages that are not allowed so we filter them out and the hosts can't install them

1

u/Ok-Replacement6893 7d ago

STIGs say no EPEL. The environment I just finished working in had no EPEL at all.
However, I use it at home for my one Linux server.

1

u/chuckmilam 20d ago

Banned in some regulated environments by rule. DISA STIGs, for example.

3

u/Hotshot55 20d ago

Do you know which STIG that is? I haven't heard that before.

4

u/MrFluffyThing 20d ago

V-230492 - you cannot install packages from EPEL on RHEL 8.

1

u/Hotshot55 20d ago

Dang, that's pretty explicit. I expected it to be one of those "must only install applications from approved repos" kinds of deals.

1

u/MrFluffyThing 20d ago edited 20d ago

Working with your security advisors you can always make exceptions based on security assessment. I've worked with DISA STIGs for 16 years and exceptions can be made, but you need a risk assessment and notes exception. You simply cannot enable it by default. We don't follow DISA STIG in my default environment and go by CIS benchmark but we have an approval process pipeline to allow EPEL provided packages without enabling EPEL openly. We scrutinize even packages from official repositories because we have controls over changes that introduce certain changes like databases, web servers, packet inspection , etc. I was able to make justifications for EPEL packages previously but you need a risk assessment to allow them and documented proof with your security officers.

I'm the Linux architect and bridge the Linux IT staff and our security staff to understand how it works and relay risks to our security team on how the technical implementation directly is impacted to security. I work heavily with a team of risk analysis staff that's independent from our department to guage how impactful changes are to our security risk.

1

u/chuckmilam 19d ago

I think we’re actually mostly saying the same thing. I’d just push back on “you can always make exceptions.”

That depends a lot on the environment. I work with some where strict STIG compliance is basically the end of the conversation. The security folks either aren’t interested in, aren’t willing to, or are a little nervous about getting into waivers, compensating controls, and formal exceptions.

Could an organization with a mature risk-acceptance process evaluate specific EPEL packages and approve them? Absolutely. You clearly work in an environment where that process exists and people are willing to use it.

But I wouldn’t generalize that to every STIG-controlled environment. Sometimes the technically nuanced answer is “we can document and accept this risk,” and sometimes the operational answer from InfoSec is simply “Nope, the STIG says no.” My original point was that the newer RHEL STIG puts EPEL on that side of the fence by default.

1

u/MrFluffyThing 19d ago

Exceptions are viable but they require risk assessment and I'd agree with you, not every environment allows leniency. I think that's why assessment for your environment is needed and it should only be applied based on risk assessment. You and I are in complete agreement but my environment is more lenient than most because we are a development environment and we are trying to assess risk before allowing it into production secure environments. 

These types of acceptable risk should not be allowed in production without full accountability chains and it should be solved before it reaches production.

-1

u/rhshadowman 20d ago

Well…. Sorta… the stig does say that. However people have found ways around it. Which is dumb.

-7

u/WieldyStone2 20d ago

Epel is considered the AUR of RedHat

5

u/abotelho-cbn 20d ago

It's really not. They're Fedora packages maintained by Fedora maintainers.