Hi Everyone,

I'm trying to downgrade git server on Fedora 40. git-2.45.2-2.fc40 is
causing me a site-wide DoS due to its broken implementation of safe
directories (with no way to turn it off).

I need to learn the previous version of git for `dnf downgrade`, but I
don't know how to find the info. Assuming the previous version was *-1
was not helpful:

   # dnf downgrade git-2.45.2-1
   No package git-2.45.2-1 available.
   Error: No packages marked for downgrade.
   # dnf downgrade git-2.45.2-1.fc40
   No package git-2.45.2-1.fc40 available.
   Error: No packages marked for downgrade.
   # dnf downgrade git-2.45.2-1.fc40.x86_64
   No package git-2.45.2-1.fc40.x86_64 available.
   Error: No packages marked for downgrade.

How do I determine the previous git package name? Or if one of the
package names is correct, then how do I fix it?

And while I am here... Is it Ok to perform `dnf versionlock add
git-2.45.2-1.fc40` once I perform the downgrade? Or is it not needed
once `dnf downgrade` is executed? Also see
<https://docs.fedoraproject.org/en-US/quick-docs/dnf/#sect-using-dnf-plugin>.

Thanks in advance.
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to