Score:1

RHEL 7.9: rpm --eval "%dist" is now .el7_9 instead of just .el7

lr flag

Here, we've recently upgraded some of our systems from RHEL 7.8 to RHEL 7.9, and I'm facing an issue related to the "dist" returned by the rpm tool.

In some scripts, we share between RHEL7 and RHEL8 systems, we use the command: rpm --eval "%dist" to determine the local RHEL flavor: ".el7" or ".el8"

Starting with RHEL 7.9, the command now return: ".el7_9" instead of just ".el7".

This new behavior breaks several of our scripts. I cannot find any documentation on Red Hat site explaining this change.

I've tested the command on RHEL 8.3, and it still return only ".el8". So I'm very surprised by the change in 7.9.

Has anyone been confronted to this behavior too ? Anyone knows why this change was made: bug (unlikely) or intentional ? Any official Red Hat documentation ?

Thanks a lot

Michael Hampton avatar
cz flag
Smells like a bug to me. I would report it as such.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.