View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018568 | CentOS-7 | firefox | public | 2023-02-28 21:55 | 2023-03-24 23:37 |
Reporter | jamesprescott | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 7.9.2009 | ||||
Summary | 0018568: Firefox assumes getenforce is in PATH, generates error if not | ||||
Description | Firefox assumes that /usr/sbin/getenforce and restorecon are on the user's PATH. If it isn't you get the errors, but firefox still runs. The problem is /usr/bin/firefox lines 198-199. It verifies that /usr/sbin/getenforce exists, but then tries to run it without specifying the path. It then tries to run restorecon without a specifying the path. if [ -x $GETENFORCE_FILE ] && [ `getenforce` != "Disabled" ]; then (restorecon -vr ~/.mozilla/firefox/* &) Changing lines to this eliminates the problem. if [ -x $GETENFORCE_FILE ] && [ `$GETENFORCE` != "Disabled" ]; then (/usr/sbin/restorecon -vr ~/.mozilla/firefox/* &) | ||||
Steps To Reproduce | env PATH=/usr/bin firefox /usr/bin/firefox: line 198: getenforce: command not found /usr/bin/firefox: line 198: [: !=: unary operator expected | ||||
Additional Information | Problem introduced in firefox-102.5.0-1.el7.centos and continues through firefox-102.8.0-2.el7.centos Works fine in firefox-91.13.0-1.el7.centos | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
CentOS is a rebuild of the sources used to create RHEL. We do not modify anything except to remove branding and logos. You will need to submit your request to Redhat via bugzilla.redhat.com and if/when RH accepts it and incorporates it into RHEL and releases a patched version, then CentOS will pick it up and rebuild it. | |
OK, thanks. Redhat has it as 2174241 https://bugzilla.redhat.com/show_bug.cgi?id=2174241 |
|
According to the RHBZ filed by @jamesprescott, the fix will be in firefox 102.9. | |
Fixed in firefox 102.9. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-28 21:55 | jamesprescott | New Issue | |
2023-02-28 22:02 | ManuelWolfshant | Note Added: 0039068 | |
2023-03-01 14:25 | jamesprescott | Note Added: 0039069 | |
2023-03-05 23:37 | toracat | Note Added: 0039072 | |
2023-03-05 23:38 | toracat | Status | new => confirmed |
2023-03-24 23:37 | toracat | Status | confirmed => resolved |
2023-03-24 23:37 | toracat | Resolution | open => fixed |
2023-03-24 23:37 | toracat | Note Added: 0039081 |