Description of problem: On Fedora Silverblue 36 (this also happened in Silverblue 35), ufw is broken as some files are not installed properly. I have not tried this on Fedora Workstation, so I don't know if this same issue is happening there. Running `sudo ufw status verbose` (or any ufw command) replies with: `ERROR: Couldn't stat '/var/lib/ufw/user.rules` If you download the ubuntu .deb package and extract the user.rules and user6.rules files into /var/lib/ufw , ufw runs fine. For some reason, rpm-ostree is not extracting those two files into the /var/lib/ufw directory, which causes ufw to be broken and not work. Version-Release number of selected component (if applicable): ufw-0.35-24.fc36.noarch Steps to Reproduce: 1. On Fedora Silverblue 36, install ufw with rpm-ostree install ufw 2. Reboot, and run sudo ufw status verbose Actual results: ufw is broken and fails to work. Expected results: ufw works, and responds with `Status: inactive` Additional info:
This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16. Fedora Linux 36 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.
*** Bug 2229426 has been marked as a duplicate of this bug. ***
From my point of view this is specific to Silverblue (this issue does not exist on regular Fedora systems) and nothing which can be fixed in ufw.