Lonemadmax (talk | contribs) m (Removed duplicate content in headers) |
m (add category) |
||
(36 intermediate revisions by 5 users not shown) | |||
Line 12: | Line 12: | ||
== Installation issues == | == Installation issues == | ||
{{Common bugs issue|anaconda-lang-switch|Switching keyboard layout with key combo does not work in Wayland|1389959}} | {{Common bugs issue|anaconda-lang-switch|Switching keyboard layout with key combo does not work in Wayland|1389959}} | ||
Line 36: | Line 31: | ||
As a workaround, you can use your UEFI boot menu (the one-time boot menu is usually reachable via some hotkey like {{key press|Esc}}, {{key press|F8}}, {{key press|F11}}, {{key press|F12}}, etc) to boot Windows, which should work fine. | As a workaround, you can use your UEFI boot menu (the one-time boot menu is usually reachable via some hotkey like {{key press|Esc}}, {{key press|F8}}, {{key press|F11}}, {{key press|F12}}, etc) to boot Windows, which should work fine. | ||
Advanced users can download and install [http://koji.fedoraproject.org/koji/buildinfo?buildID=704713 grub2-2.02-0.25.fc23] (<code>grub2</code> from Fedora 23), which should immediately fix the problem. However, when using this solution, the broken version of <code>grub2</code> from Fedora | Advanced users can download and install [http://koji.fedoraproject.org/koji/buildinfo?buildID=704713 grub2-2.02-0.25.fc23] (<code>grub2</code> from Fedora 23), which should immediately fix the problem. However, when using this solution, the broken version of <code>grub2</code> from Fedora 25 will be offered to you with every new system update, and you'll need to manually exclude it every time. There is also a [http://koji.fedoraproject.org/koji/taskinfo?taskID=16567423 Fedora 25 scratch build] with a patch which should address this issue. However, this is not signed for Secure Boot use, so you cannot use it if you have Secure Boot enabled. | ||
{{Common bugs issue|grub-windows-missing|Windows entry is missing in grub when systems are installed on firmware RAID on UEFI system|1347273}} | {{Common bugs issue|grub-windows-missing|Windows entry is missing in grub when systems are installed on firmware RAID on UEFI system|1347273}} | ||
Line 42: | Line 37: | ||
When Fedora is installed beside Windows on the firmware RAID and on UEFI it could happen that there will be Windows entry missing in grub menu. | When Fedora is installed beside Windows on the firmware RAID and on UEFI it could happen that there will be Windows entry missing in grub menu. | ||
This | This bug occurs only when UEFI and firmware RAID are used, so BIOS installations and normal disks (or with FW RAID turned off) shouldn't be affected. In most cases, you can use the UEFI boot menu as a workaround. Different systems (different firmwares, in fact) offer access to the UEFI boot menu in different ways, so we cannot provide exact instructions, but often a one-time boot menu is reachable via some hotkey like {{key press|Esc}}, {{key press|F8}}, {{key press|F11}}, {{key press|F12}} at boot time. The UEFI boot menu should offer an option to boot Windows or Fedora. | ||
{{Common bugs issue|some-raid-fail|Fedora fails to install on some RAID setups|1333131|1259953|1382274}} | {{Common bugs issue|some-raid-fail|Fedora fails to install on some RAID setups|1333131|1259953|1382274}} | ||
Line 53: | Line 46: | ||
* The installer might crash on startup with certain non-intel firmware RAIDs. No further details are known at the moment. | * The installer might crash on startup with certain non-intel firmware RAIDs. No further details are known at the moment. | ||
{{Common bugs issue| | {{Common bugs issue|unknown-filesystem-shrink-wipe|Windows and MacOS encrypted partitions are not recognized by the installer and shrinking them destroys all data|1033778}} | ||
The installer appears to support volume shrink for | The installer appears to support volume shrink for Windows encrypted partitions (using Bitlocker) and MacOS encrypted volumes (using Apple Core Storage) by offering a Shrink button and sizing slider in Automatic partitioning; and likewise allow numeric resizing in Manual partitioning. However, setting the installer to resize these volumes and proceeding with installation will result in complete data loss of the volume. Resize the volume in the original operating system to create free space before proceeding with the installation of Fedora. | ||
{{Common bugs issue|anaconda-iscsi-live|Live installer crashes on attempt to add iSCSI target|1395620}} | |||
If you attempt to add an iSCSI target as a storage device for an install when running the installer from the Fedora Workstation 25 live image (or probably any other live image), the installer will likely crash with the error {{code|TypeError: Argument 1 does not allow None as a value}}. This error is caused by a missing dependency. You can avoid the problem by running {{command|sudo dnf install storaged-iscsi}} from a console before starting the install process, or by installing from a dedicated installer image rather than a live image. | |||
{{Common bugs issue|anaconda-32-shrink|32-bit installer incorrectly calculates space that will be freed when removing devices|1375732}} | |||
If you use a 32-bit Fedora 25 image and attempt to free up space for an installation by deleting filesystems or other storage devices, you may find that the installer incorrectly calculates the space that will be freed and refuses to proceed as it does not believe sufficient space will be available. | |||
To work around this, you can remove the devices with some other tool (e.g. {{command|gnome-disks}} or {{command|blivet-gui}} or {{command|parted}}) from a live or rescue environment before running the installer. | |||
Please remember that i686 is no longer a release-blocking architecture for Fedora (since Fedora 24). We recommend the use of x86_64 wherever possible. | |||
== Upgrade issues == | == Upgrade issues == | ||
Line 79: | Line 83: | ||
{{Common bugs issue|wayland-frozen-login-after-upgrade|Frozen gray screen during logging in after upgrade|1394755}} | {{Common bugs issue|wayland-frozen-login-after-upgrade|Frozen gray screen during logging in after upgrade|1394755}} | ||
This happens if you have [https://extensions.gnome.org/extension/690/easyscreencast/ EasyScreenCast] extension installed and upgrade. It is the same bug as [[#screen-recording-freezes-gnome]], see that entry for a full description and a workaround. | |||
{{Common bugs issue|every-second-login-fails|Every second login attempt fails in certain configurations|1384508}} | |||
If you've upgraded your system, you might see an issue where every second login attempt fails and you're returned to the login screen (without any visible error). This happens for Wayland sessions, but not for X11 sessions. Currently it seems this might be caused by <code>org.gnome.SessionManager auto-save-session</code> gsettings value being <code>true</code> instead of default <code>false</code>. You can see your current value like this: | |||
<pre>$ gsettings get org.gnome.SessionManager auto-save-session</pre> | |||
and change it like this: | |||
<pre>$ gsettings set org.gnome.SessionManager auto-save-session false</pre> | |||
If you encounter this bug, you may see a crash notification that traces back to bug #[[rhbug:1384508|1384508]]. This crash, and the bug report, actually cover a crash in the "Oh no!" screen which GNOME attempts to show when a core component crashes: the report doesn't actually cover the initial crash of the gnome-session component. This has caused some confusion, because the same "Oh no!" screen crash can be encountered in several other ways, and so several people with quite different bugs are all following the #[[rhbug:1384508|1384508]] bug report. See [[#gnome-ohno-crash|the entry for that crash]] for more details. [https://bugzilla.gnome.org/show_bug.cgi?id=775463 GNOME bug #775463] is the bug report for this specific {{code|auto-save-session}} crash case. | |||
{{Common bugs issue|upgrade-dependency-missing|Upgrade fails if {{package|dnf-plugin-system-upgrade}} is not installed|1395686}} | |||
When upgrading from Fedora 23 or Fedora 24, it is possible to be in a situation where upgrade preparation - the {{command|dnf system-upgrade download}} step - works, but the actual upgrade - the {{command|dnf system-upgrade reboot}} step - does not. This occurs if you have the {{package|python3-dnf-plugin-system-upgrade}} package installed, but not the {{package|dnf-plugin-system-upgrade}} package. | |||
If you encounter this issue, when you try the upgrade step, the system will start booting, but then appear to stall. If you hit {{key press|Esc}}, you may see a message {{code|Reached target System Update}}. No progress information on the upgrade will appear. | |||
To be absolutely sure this is the issue you are encountering, please leave the system for a long time - say, two or three hours - to ensure it is not just upgrading silently, as rebooting in the middle of an upgrade can cause the system to be entirely unusable. | |||
But if there definitely appears to be no activity after several hours, shut the system down. Now either boot up and add {{code|rd.break}} to the boot parameters, boot the 'Rescue mode' from a Fedora install image, or boot from a live image. From the installed system root, remove the file {{filename|/system-update}}. Now you should be able to boot the system normally again. Now install the package {{package|dnf-plugin-system-upgrade}} and retry the upgrade process. | |||
== Core system issues == | == Core system issues == | ||
{{Common bugs issue|postfix-log-avc|Many SELinux denials caused by normal Postfix operation|1383867}} | |||
If you use the Postfix MTA, as is very commonly the case on Fedora systems, you will likely notice that many SELinux denials are triggered by its normal operation. On a desktop system you may see notifications of these denials; on other systems you will notice them in the system logs. They will usually take the form {{code|SELinux is preventing (a Postfix process) from '(something)' access on the lnk_file log.}} | |||
We currently believe these denials are triggered when Postfix tries to write to {{filename|/dev/log}}, and the consequence is that some log messages are lost. Otherwise, Postfix does appear to work as normal despite the denials. | |||
We are actively working to fix this issue. Until then, you can just ignore the denials, or generate a custom policy using {{command|audit2allow}} to allow the accesses. | |||
{{Common bugs issue|libdb-rebuilddb|RPM database errors after updating libdb|1460303|1394862}} | |||
The changes made to {{package|libdb}} to address [[Common_F26_bugs#upgrade-libdb|an issue with upgrading to Fedora 26+]] have been reported to sometimes cause issues in the RPM database when updating libdb itself. When this happens, any subsequent package-related operation will likely fail, with some kind of message indicating that there are problems with the RPM database. This can potentially happen on update from any earlier libdb version to {{code|libdb-5.3.28-21}} or {{code|libdb-5.3.28-23}} or later, on update from {{code|libdb-5.3.28-21}} to {{code|libdb-5.3.28-22}}, and on update from {{code|libdb-5.3.28-22}} to {{code|libdb-5.3.28-23}} or later. | |||
Happily, the developers report that all such issues so far encountered should be easily, fully and safely recoverable. Usually simply running {{command|sudo rpm --rebuilddb}} should suffice; if not, try running {{command|sudo rm -rf /var/lib/rpm/__db*}} and then {{command|sudo rpm --rebuilddb}} again. | |||
== Wayland issues == | == Wayland issues == | ||
Line 97: | Line 132: | ||
[[File:gdm-pick-x11.png|500px]] | [[File:gdm-pick-x11.png|500px]] | ||
{{Common bugs issue|gnome-logout-apps-crash|Running applications crash on log out from GNOME under Wayland|1366897|1394937}} | |||
If you log out from a GNOME Wayland session, many GNOME applications may crash. This is due to some ordering and signalling problems between the shutdown of different GNOME components when running under Wayland. In order to avoid any possible problems caused by this, you should definitely save any unsaved work and ideally close running applications manually before logging out. | |||
There have been some less clear reports of applications not shutting down cleanly on log out from GNOME Xorg sessions, which is under discussion in bug #1394937, but we are not yet entirely sure about the details of that possible case. | |||
{{Common bugs issue|vino-crash-wayland|Vino server (remote desktop server) crashes on login under Wayland|1394599}} | {{Common bugs issue|vino-crash-wayland|Vino server (remote desktop server) crashes on login under Wayland|1394599}} | ||
Line 102: | Line 143: | ||
If you have configured a remote desktop server using vino-server (available e.g. in GNOME settings), you'll see a crash each time you log in into a Wayland session. Remote desktop functionality is not yet supported under Wayland. Either disable the remote desktop server (''Settings -> Sharing -> Screen sharing'') to avoid seeing the crash notifications or use Xorg session instead (if you require remote desktop functionality). | If you have configured a remote desktop server using vino-server (available e.g. in GNOME settings), you'll see a crash each time you log in into a Wayland session. Remote desktop functionality is not yet supported under Wayland. Either disable the remote desktop server (''Settings -> Sharing -> Screen sharing'') to avoid seeing the crash notifications or use Xorg session instead (if you require remote desktop functionality). | ||
{{Common bugs issue|wayland-qt5-dialog-crash|Most | {{Common bugs issue|wayland-qt5-dialog-crash|Most Qt 5 apps crash under Wayland when displaying a file dialog if you don't have qgnomeplatform installed|1392605}} | ||
If you've upgraded your system from Fedora 23 or older, you might not have {{pkg|qgnomeplatform}} package installed. As a consequence, | If you've upgraded your system from Fedora 23 or older, you might not have {{pkg|qgnomeplatform}} package installed. As a consequence, Qt 5 apps crash when trying to display a file dialog under Wayland. The workaround is to install <code>qgnomeplatform</code> package: | ||
<pre>$ sudo dnf install qgnomeplatform</pre> | <pre>$ sudo dnf install qgnomeplatform</pre> | ||
{{Common bugs issue|gnome-freeze-3-monitors|GNOME freezes frequently with 3 monitors on Wayland|}} | |||
There are frequent freezes of GNOME when using 3 monitors at the same time. This is confirmed at least on several ThinkPad series laptops with Intel graphics. See [https://bugzilla.gnome.org/show_bug.cgi?id=774557 gnome bug 774557] for more details. | |||
Current workaround is to use 2 monitors at maximum, or use X11 session instead of Wayland. | |||
{{Common bugs issue| | {{Common bugs issue|wayland-root-apps|Running graphical apps with root privileges (e.g. gparted) does not work on Wayland|1274451}} | ||
Running graphical applications with root privileges does not work on Wayland. This is not exactly a bug, but an intentional design, at least at present: it is part of a general plan to make Wayland safer than X (which is very vulnerable to exploitation by malicious applications). It is generally intended that apps which need root privileges to perform some operations should be designed such that the application itself does not need root privileges, but uses a mechanism like PolicyKit to have privileges granted to a restricted subset of itself which only handles the operations that actually need elevated privileges. | |||
{{ | This means you cannot run, for example, {{command|sudo gedit /etc/someconfigfile.conf}} or {{command|sudo gvim /etc/someconfigfile.conf}} to edit a file which requires root privileges to save. It also stops {{package|gparted}} working by default at all, as it is designed to run with root privileges by default. There are various ways to work around different elements of this problem. | ||
For applications which use the GTK+ [https://wiki.gnome.org/Projects/gvfs ''Gvfs''] file access layer, there is an {{code|admin:///}} resource indicator available. So you can, for example, run {{command|gedit admin:///etc/someconfigfile.conf}} to edit a file requiring root privileges to save. In future, this mechanism will be better integrated into applications so you do not have to manually invoke it. This will not work for applications which do not use Gvfs, though, like gvim. | |||
There is no | In other cases, you may be able to use an alternative application. For instance, you may find the ''Disks'' application ({{command|gnome-disks}} from a console) can do what you wanted to do with {{package|gparted}}. | ||
There is a workaround you can use to allow non-Wayland-native apps to run as root if you absolutely must: from a console as the regular user, run {{command|xhost +si:localuser:root}}. This will not work for Wayland-native applications, however, only apps which run via XWayland. | |||
Finally, if none of these options is workable for you, you can switch back to using X.org instead of Wayland, as documented above. | |||
{{Common bugs issue|gnome-login-shell|GNOME Wayland session does not start a login shell, so does not process {{filename|.bash_profile}} or {{filename|.bashrc}} etc.|1149905}} | |||
{{Common bugs update released|FEDORA-2017-84b0233854}} | |||
Unlike GNOME-on-Xorg, the GNOME-on-Wayland session [https://bugzilla.gnome.org/show_bug.cgi?id=736660 is not run through a ''login shell'']. This means that some configuration shell scripts which are sourced for login shells, like {{filename|/etc/profile}}, {{filename|/etc/profile.d/*}}, {{filename|~/.bash_profile}} and {{filename|~/.bashrc}} are '''not''' sourced for the GNOME session, and most applications run from the GNOME session will not have those settings applied. By default, GNOME Terminal sessions will source {{filename|~/.bashrc}}, which sources {{filename|/etc/bashrc}}, which sources {{filename|/etc/profile.d/*}}. However, they will ''not'' source {{filename|~/.bash_profile}} or {{filename|/etc/profile}}. | |||
There is no exact convenient 'workaround' for this to simply have login shell settings applied to a GNOME-on-Wayland session. | |||
* You can set environment variables in {{filename|/etc/environment}} (simple {{code|1=ENVVAR=value}} format): these settings are respected. | |||
* There are various alternatives to setting things using these shell scripts, e.g. running things on session startup by using desktop files in {{filename|~/.config/autostart}} or {{filename|/etc/xdg/autostart}}. | |||
There is much more detailed discussion of the consequences of this change and possible workarounds in [https://bugzilla.gnome.org/show_bug.cgi?id=736660 the upstream bug report]. | |||
{{Common bugs issue|screen-recording-freezes-gnome|Screen recording freezes GNOME in certain conditions|1394755}} | |||
If you start screen recording in GNOME (Ctrl+Alt+Shift+R) your session might freeze hard (you can only get out of it using [[QA/Sysrq|SysRq]] or ssh in and kill your session). This is related to gstreamer registry cache file ({{filename|~/.cache/gstreamer-1.0/registry.x86_64.bin}}) - when it is changed (might happen during a plugin update, or if you remove the file), this bug occurs. It is not only triggered by the integrated GNOME recorder, but also by extensions/tools like [https://extensions.gnome.org/extension/690/easyscreencast/ EasyScreenCast] - in that case, the freezes occurs immediately during login. | |||
The existing workaround is to select ''Xorg'' session in the session picker (see [[#Wayland issues]]) and log in at least once. That fixes the cache file and then it should be possible to log in even to Wayland session. It also helps to remove EasyScreenCast extension (if you have it installed), and remove <code>clutter-gst2</code> package (but some of your apps might depend on it). | |||
{{anchor|GNOME issues}} | |||
== Fedora Workstation issues == | |||
{{Common bugs issue|gnome-ohno-crash|GNOME "Oh no!" screen (displayed when a core GNOME component fails) crashes|1384508}} | |||
When a core GNOME component (e.g. gnome-session or gnome-shell) fails, GNOME attempts to run something called {{code|gnome-session-failed}}, which displays a screen saying "Oh no! Something has gone wrong". However, in Fedora 25, {{code|gnome-session-failed}} itself can quite often crash. When this happens, you will see a crash report which links back to bug #[[rhbug:1384508|1384508]]. This bug actually covers the crash of the "Oh no!" screen: it does not cover whatever failure caused GNOME to attempt to display the "Oh no!" screen in the first place. Many different people following the bug actually appear to have encountered different issues and hit the same "Oh no!" screen crash. One particular case we are aware of is [[#every-second-login-fails|this one]], to do with session auto-saving being enabled, but it's clear some reporters are arriving at the "Oh no!" screen crash via a different route. | |||
If you are in this position, if possible, please see if you can ascertain what failure caused GNOME to try and run {{code|gnome-session-failed}} in the first place, as that is likely the problem that really matters to you. Running {{command|journalctl -b}} as the user who encountered the problem may well help, as the GNOME session should log what the critical component failure was. Then see if you can find a bug report for the failure, and if not, please file a new one, with Fedora or GNOME upstream. | |||
We will of course attempt to fix the "Oh no!" screen crash, but fixing that will not resolve whatever problem causes the screen to appear in the first place - it will just mean that you actually see the "Oh no!" screen. | |||
{{Common bugs issue|qt5-scaling-too-aggresive|Certain Qt 5 apps (VLC, Calibre) are scaled up or down when they should not be|1381828}} | |||
Certain Qt 5 apps like VLC or Calibre are configured to use window scaling for high DPI monitors. However, the implementation scales the applications even on some standard (Full HD) monitors. It also further adjust the scaling if you have several monitors attached. In the end you might see a very huge or a very tiny widgets/fonts. | |||
The existing workaround is to run the application with <code>QT_SCALE_FACTOR=1</code> environment variable, like this: | |||
<pre>QT_SCALE_FACTOR=1 command</pre> | |||
{{Common bugs issue|gdm-session-add|Workstation login screen (GDM) does not show newly-installed desktops until system is rebooted or shut down|1398770}} | |||
If you install an additional desktop environment after installing Fedora Workstation, it will not appear on the session chooser in the login screen (GDM) if you simply log out from a user session and log in again. This is because gdm keeps running after logging you into your user session, and there is no signal to tell it that a new desktop has been installed; it will not notice until it is restarted. It is possible to restart GDM without restarting the system, but in practice rebooting or shutting down and starting up again is usually the easiest thing to do. | |||
{{Common bugs issue|text-scaling-gedit-evo|Some text views (gedit...) not properly scaled when ''Large Text'' or a text scaling factor set}} | |||
Due to [https://bugzilla.gnome.org/show_bug.cgi?id=774248 an issue with some specific text view widgets], when a 'text scaling factor' is set in GNOME, this scaling is not properly applied in a few specific cases. This makes text appear tiny. Setting the ''Large Text'' option in ''Universal Access'' sets a text scaling factor; it is also possible to set one manually in the {{command|gnome-tweak-tool}} application, so if you have set either of those options, you will likely see this bug. | |||
This issue is known to affect gedit (the text in the document being edited, not the user interface). A similar issue affected the Evolution plain text mail composer (again, in the mail text itself, not the rest of the user interface) until the release of Evolution 3.22.2: if you update to that version or later, the Evolution case should be resolved. Text in these widgets will appear the size it would be with a scaling factor of 1, rather than the factor the user configured. | |||
To work around this issue in gedit you can just set a custom font in ''Preferences'' and make its point size larger than normal. A similar workaround may be available for other affected apps. | |||
== Plasma (KDE) issues == | == Plasma (KDE) issues == | ||
Line 145: | Line 240: | ||
== Fedora Server issues == | == Fedora Server issues == | ||
{{Common bugs issue|php-execmem|PHP web applications cause many SELinux 'execmem' denials|1398474}} | |||
If you run PHP webapps on a Fedora Server 25 server, unless you change the {{code|httpd_execmem}} SELinux boolean from 0 (the default) to 1, you will likely see a large number of SELinux denials for the {{code|execmem}} action for your HTTP server. This appears to be caused by a new feature in PHP 7, just-in-time compilation of PCREs (perl-compatible regular expressions). | |||
There are two known workarounds at present. As mentioned, you can allow HTTP servers the {{code|execmem}} action, by running {{command|setsebool -P httpd_execmem 1}}. This will allow PHP applications to work without any changes and without any SELinux denials, but it does slightly reduce safety. Alternatively, you can disable the PCRE JIT compilation feature, by placing the line {{code|1=pcre.jit=0}} in a config file under {{command|/etc/php.d}}. | |||
As well as the Fedora bug report, there is an [https://bugs.exim.org/show_bug.cgi?id=1749 upstream pcre report] tracking this issue. | |||
{{Common bugs issue|spamd-selinux-varspoolmail|SELinux prevents SpamAssassin (spamd) accessing {{filename|/var/spool/mail}}|1398437}} | |||
This issue may commonly be encountered by mail servers running Fedora Server 25. If you have a mail server using SpamAssassin in a typical configuration, you may find that SELinux prevents {{command|spamd}} and its child processes (which may be identified by a long alphanumerical string like {{code|7370616D64206368696C64}} in the logs) from accessing {{filename|/var/spool/mail}}. If you monitor your system and audit logs you may see several AVCs denying various processes with the context {{code|system_u:system_r:spamd_t:s0}} from accessing paths with the context {{code|system_u:object_r:mail_spool_t:s0}}: these are all cases of this same problem. | |||
This will likely prevent various SpamAssassin features from working as intended, though we haven't exhaustively investigated the precise effects of the issue. It certainly prevents the Razor plugin from working correctly. | |||
To work around this without setting SELinux to permissive mode, you can generate a custom policy with {{command|audit2allow}}. A {{code|.te}} file like this should work: | |||
<pre> | |||
module 1398437-workaround 1.0; | |||
require { | |||
type mail_spool_t; | |||
type spamd_t; | |||
class dir { add_name create getattr open read remove_name search write }; | |||
class file { append create getattr ioctl open read unlink write }; | |||
} | |||
#============= spamd_t ============== | |||
allow spamd_t mail_spool_t:dir { add_name create getattr open read remove_name search write }; | |||
allow spamd_t mail_spool_t:file { append create getattr ioctl open read unlink write }; | |||
</pre> | |||
== Fedora Cloud issues == | == Fedora Cloud issues == | ||
Line 160: | Line 285: | ||
** For EFI systems: <pre>sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg</pre> | ** For EFI systems: <pre>sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg</pre> | ||
* Via grubby: <pre>sudo grubby --args=resume=/path/to/swap --update-kernel=$(grubby --default-kernel)</pre> | * Via grubby: <pre>sudo grubby --args=resume=/path/to/swap --update-kernel=$(grubby --default-kernel)</pre> | ||
{{Common bugs issue|grub-efi-other-linux|Booting other UEFI Linux distributions might not work from Fedora bootloader|1353026}} | {{Common bugs issue|grub-efi-other-linux|Booting other UEFI Linux distributions might not work from Fedora bootloader|1353026}} | ||
Certain people who have multiple Linux distributions installed (in UEFI mode on GPT disks) report they're not able to boot non-Fedora systems from Fedora bootloader. If this happens to you, please tell us in {{bz|1353026}}. The workaround should be to use your UEFI firmware to display a one-time boot menu (often displayed with {{key press|F8}}, {{key press|F10}}, {{key press|F11}}, {{key press|F12}} or {{key press|Esc}}) and pick the system you want to boot. That will boot the system directly, without going through Fedora bootloader. If this is not available for you, you can try to select the OS you want to boot in the Fedora bootloader, hit {{key press|e}} to edit the boot menu, and replace <code>linux</code> and <code>initrd</code> keywords with <code>linuxefi</code> and <code>initrdefi</code>, then press {{key press|Ctrl|x}} or {{key press|F10}} to boot it. | Certain people who have multiple Linux distributions installed (in UEFI mode on GPT disks) report they're not able to boot non-Fedora systems from Fedora bootloader. If this happens to you, please tell us in {{bz|1353026}}. The workaround should be to use your UEFI firmware to display a one-time boot menu (often displayed with {{key press|F8}}, {{key press|F10}}, {{key press|F11}}, {{key press|F12}} or {{key press|Esc}}) and pick the system you want to boot. That will boot the system directly, without going through Fedora bootloader. If this is not available for you, you can try to select the OS you want to boot in the Fedora bootloader, hit {{key press|e}} to edit the boot menu, and replace <code>linux</code> and <code>initrd</code> keywords with <code>linuxefi</code> and <code>initrdefi</code>, then press {{key press|Ctrl|x}} or {{key press|F10}} to boot it. | ||
== Resolved issues == | |||
{{Common bugs issue|mediawriter-workstation-f24vf25|Fedora Media Writer shows Fedora 24 instead of Fedora 25 by default|1397461}} | |||
{{admon/note|Fix released|This issue is fixed in Fedora Media Writer 4.0.7 and later. This version is now a released update for all supported Fedora releases and it (or a later version) are offered for download for Windows and macOS from [https://getfedora.org getfedora.org], so new Fedora 25 users should no longer encounter this bug.}} | |||
Fedora Media Writer is the new tool for creating installation media (usually, USB flash drives). In version 4.0.4, as was available at [https://getfedora.org getfedora.org] on release day, if you immediately select Fedora Workstation, the default release was Fedora 24, rather than Fedora 25. You can click on "Version 24" to change this. In all other Editions and Spins (Fedora Server, KDE Plasma Desktop, etc.), Fedora 25 was correctly selected by default, and, if you chose one of these and then return to Workstation, F25 would now be the default there too. | |||
[[Category:Common bugs]] |
Latest revision as of 23:57, 14 March 2018
This page documents common bugs in Fedora 25 and, if available, fixes or workarounds for these problems. If you find your problem in this page, please do not file a bug for it, unless otherwise instructed. Where appropriate, a reference to the current bug(s) in Bugzilla is included.
Release Notes
Read the Fedora 25 release announcement and the Fedora 25 release notes for specific information about changes in Fedora 25 and other general information.
My bug is not listed
Not every bug is listed in this page, but Bugzilla should be a comprehensive database of known bugs. This page is a sampling of the bugs most commonly discussed on our mailing lists and forums.
To see if your bug has already been reported, you can search Bugzilla. If it has not yet been reported, we encourage you to do so to help improve Fedora for yourself and others. A guide to Bugs and feature requests has been prepared to assist you.
If you believe an already-reported bug report should be added to this page because it is commonly encountered, you can:
- Add it yourself, if you have wiki access. Common bugs instructions provides guidance on how to add an entry to the page correctly, but the most important thing is to make sure that the bug is listed - don't worry if you don't get the format quite right, we can clean it up later.
- Or, add the CommonBugs keyword to the bug report. Someone from the QA team will then inspect the issue to determine whether the bug should be listed as a common bug. To expedite your request, please add a comment to the bug that includes
- a summary of the problem
- any known workarounds
- an assessment on the impact to Fedora users
For reference, you can query Bugzilla for bugs tagged CommonBugs:
- CommonBugs? (bugs with CommonBugs keyword, but do not yet have a link to this page)
- CommonBugs+(bugs with CommonBugs keyword and contain a link to this page)
Installation issues
Switching keyboard layout with key combo does not work in Wayland
link to this item - Bugzilla: #1389959
If you're running Workstation Live install media and configure multiple languages in the installer, you won't be able to switch between them using the standard system shortcut (typically ⊞ Win+Space or Alt+⇧ Shift). However, you can still click on the language indicator in the installer with the mouse and that will switch the languages.
This does not affect other install media (KDE Live, DVD and netinst images).
Disk initialization in installer can take a very long time if large ext filesystems are present
link to this item - Bugzilla: #1170803
When checking existing disks prior to installation, the installer runs an e2fsck (filesystem consistency check) on all ext2/3/4 filesystems. For large (1TB+) filesystems, this can take hours to finish. There is no obvious indicator that this is occurring, but if you know your system has large ext filesystems and the installer pauses for a long time when starting up, this is likely the cause.
In most cases this check is not necessary. If you are not planning to make any changes to the existing filesystems as part of your installation, or you already know they are clean, you can use an updates image which disables the check. To use it, boot the install media normally, but at the bootloader screen, edit the boot parameters and add inst.updates=https://www.happyassassin.net/updates/1170803.0.img.
Dual booting Windows fails with 'relocation failed' error on some UEFI systems
link to this item - Bugzilla: #1347291
On some hardware, it's not possible to start Windows (possibly even some other OSes) from GRUB boot menu when booting over UEFI (it does not happen in BIOS mode). The message says error: relocation failed
. The problem is still being investigated.
As a workaround, you can use your UEFI boot menu (the one-time boot menu is usually reachable via some hotkey like Esc, F8, F11, F12, etc) to boot Windows, which should work fine.
Advanced users can download and install grub2-2.02-0.25.fc23 (grub2
from Fedora 23), which should immediately fix the problem. However, when using this solution, the broken version of grub2
from Fedora 25 will be offered to you with every new system update, and you'll need to manually exclude it every time. There is also a Fedora 25 scratch build with a patch which should address this issue. However, this is not signed for Secure Boot use, so you cannot use it if you have Secure Boot enabled.
Windows entry is missing in grub when systems are installed on firmware RAID on UEFI system
link to this item - Bugzilla: #1347273
When Fedora is installed beside Windows on the firmware RAID and on UEFI it could happen that there will be Windows entry missing in grub menu.
This bug occurs only when UEFI and firmware RAID are used, so BIOS installations and normal disks (or with FW RAID turned off) shouldn't be affected. In most cases, you can use the UEFI boot menu as a workaround. Different systems (different firmwares, in fact) offer access to the UEFI boot menu in different ways, so we cannot provide exact instructions, but often a one-time boot menu is reachable via some hotkey like Esc, F8, F11, F12 at boot time. The UEFI boot menu should offer an option to boot Windows or Fedora.
Fedora fails to install on some RAID setups
link to this item - Bugzilla: #1333131 - Bugzilla: #1259953 - Bugzilla: #1382274
On some setups, installing Fedora over existing firmware or software RAID can cause anaconda to crash.
- If you try to create a RAID array during setup on a system that has an existing RAID configuration using the drives from that previous RAID array, the newly-created one gets produced incorrectly and is unusable (and of course, the one you deleted is no longer there). User can restart and try again on the same selected drives (this time using free space) as workaround.
- The installer might crash on startup with certain non-intel firmware RAIDs. No further details are known at the moment.
Windows and MacOS encrypted partitions are not recognized by the installer and shrinking them destroys all data
link to this item - Bugzilla: #1033778
The installer appears to support volume shrink for Windows encrypted partitions (using Bitlocker) and MacOS encrypted volumes (using Apple Core Storage) by offering a Shrink button and sizing slider in Automatic partitioning; and likewise allow numeric resizing in Manual partitioning. However, setting the installer to resize these volumes and proceeding with installation will result in complete data loss of the volume. Resize the volume in the original operating system to create free space before proceeding with the installation of Fedora.
Live installer crashes on attempt to add iSCSI target
link to this item - Bugzilla: #1395620
If you attempt to add an iSCSI target as a storage device for an install when running the installer from the Fedora Workstation 25 live image (or probably any other live image), the installer will likely crash with the error TypeError: Argument 1 does not allow None as a value. This error is caused by a missing dependency. You can avoid the problem by running sudo dnf install storaged-iscsi
from a console before starting the install process, or by installing from a dedicated installer image rather than a live image.
32-bit installer incorrectly calculates space that will be freed when removing devices
link to this item - Bugzilla: #1375732
If you use a 32-bit Fedora 25 image and attempt to free up space for an installation by deleting filesystems or other storage devices, you may find that the installer incorrectly calculates the space that will be freed and refuses to proceed as it does not believe sufficient space will be available.
To work around this, you can remove the devices with some other tool (e.g. gnome-disks
or blivet-gui
or parted
) from a live or rescue environment before running the installer.
Please remember that i686 is no longer a release-blocking architecture for Fedora (since Fedora 24). We recommend the use of x86_64 wherever possible.
Upgrade issues
DNF upgrade might remove essential system packages if you used PackageKit (GNOME Software, KDE Apper) in the past
link to this item - Bugzilla: #1259865
There was an unfortunate situation in the past few Fedora releases where PackageKit and DNF didn't work well together. If you installed something via PackageKit (used by GNOME Software or KDE Apper), it didn't mark such packages as "user installed" in the DNF database (which is used to differentiate user-requested packages from other packages installed purely as a dependency, but not explicitly requested by the user). Similarly, if you updated your system using PackageKit (GNOME offline updates, Apper), it erased such "user installed" flags from all updated packages. DNF then tries to remove any unnecessary packages during its next transaction (or when specifically asked using sudo dnf autoremove
). This might lead to removing core system packages because DNF no longer sees them as "user installed" and considers them a no-longer-needed dependency. It is also possible that this might happen to you when performing a system upgrade to Fedora 25.
Fedora 25 hasn't been affected by this bug at all, and it was fixed in Fedora 23 and 24 since libhif-0.2.2-3
. Current use of PackageKit (GNOME Software, Apper) should be safe. However, if you have ever used these tools in the past, you're strongly advised to fix your "user installed" database before you try to upgrade to Fedora 25:
- First, make sure your libhif package version is the same as described above or newer:
rpm -q libhif
If not, update it, and check again:
sudo dnf --refresh update libhif
Reboot after update. - Then, mark all your current packages as "user installed" using this command:
rpm -qa --qf '%{NAME}\n' | xargs sudo dnf mark install
Please note that this solution is slightly excessive, because you're going to end up with all your packages considered either system essential or user requested, and none of them is ever going to be removed as a no-longer-needed dependency. However, this is the only way how to be absolutely sure that you're not going to be affected by this issue, at a relatively small cost (some packages might stay on your disk unnecessarily). Power users can tweak this solution according to their needs.
Frozen gray screen during logging in after upgrade
link to this item - Bugzilla: #1394755
This happens if you have EasyScreenCast extension installed and upgrade. It is the same bug as #screen-recording-freezes-gnome, see that entry for a full description and a workaround.
Every second login attempt fails in certain configurations
link to this item - Bugzilla: #1384508
If you've upgraded your system, you might see an issue where every second login attempt fails and you're returned to the login screen (without any visible error). This happens for Wayland sessions, but not for X11 sessions. Currently it seems this might be caused by org.gnome.SessionManager auto-save-session
gsettings value being true
instead of default false
. You can see your current value like this:
$ gsettings get org.gnome.SessionManager auto-save-session
and change it like this:
$ gsettings set org.gnome.SessionManager auto-save-session false
If you encounter this bug, you may see a crash notification that traces back to bug #1384508. This crash, and the bug report, actually cover a crash in the "Oh no!" screen which GNOME attempts to show when a core component crashes: the report doesn't actually cover the initial crash of the gnome-session component. This has caused some confusion, because the same "Oh no!" screen crash can be encountered in several other ways, and so several people with quite different bugs are all following the #1384508 bug report. See the entry for that crash for more details. GNOME bug #775463 is the bug report for this specific auto-save-session crash case.
Upgrade fails if dnf-plugin-system-upgrade
is not installed
link to this item - Bugzilla: #1395686
When upgrading from Fedora 23 or Fedora 24, it is possible to be in a situation where upgrade preparation - the dnf system-upgrade download
step - works, but the actual upgrade - the dnf system-upgrade reboot
step - does not. This occurs if you have the python3-dnf-plugin-system-upgrade
package installed, but not the dnf-plugin-system-upgrade
package.
If you encounter this issue, when you try the upgrade step, the system will start booting, but then appear to stall. If you hit Esc, you may see a message Reached target System Update. No progress information on the upgrade will appear.
To be absolutely sure this is the issue you are encountering, please leave the system for a long time - say, two or three hours - to ensure it is not just upgrading silently, as rebooting in the middle of an upgrade can cause the system to be entirely unusable.
But if there definitely appears to be no activity after several hours, shut the system down. Now either boot up and add rd.break to the boot parameters, boot the 'Rescue mode' from a Fedora install image, or boot from a live image. From the installed system root, remove the file /system-update
. Now you should be able to boot the system normally again. Now install the package dnf-plugin-system-upgrade
and retry the upgrade process.
Core system issues
Many SELinux denials caused by normal Postfix operation
link to this item - Bugzilla: #1383867
If you use the Postfix MTA, as is very commonly the case on Fedora systems, you will likely notice that many SELinux denials are triggered by its normal operation. On a desktop system you may see notifications of these denials; on other systems you will notice them in the system logs. They will usually take the form SELinux is preventing (a Postfix process) from '(something)' access on the lnk_file log.
We currently believe these denials are triggered when Postfix tries to write to /dev/log
, and the consequence is that some log messages are lost. Otherwise, Postfix does appear to work as normal despite the denials.
We are actively working to fix this issue. Until then, you can just ignore the denials, or generate a custom policy using audit2allow
to allow the accesses.
RPM database errors after updating libdb
link to this item - Bugzilla: #1460303 - Bugzilla: #1394862
The changes made to libdb
to address an issue with upgrading to Fedora 26+ have been reported to sometimes cause issues in the RPM database when updating libdb itself. When this happens, any subsequent package-related operation will likely fail, with some kind of message indicating that there are problems with the RPM database. This can potentially happen on update from any earlier libdb version to libdb-5.3.28-21 or libdb-5.3.28-23 or later, on update from libdb-5.3.28-21 to libdb-5.3.28-22, and on update from libdb-5.3.28-22 to libdb-5.3.28-23 or later.
Happily, the developers report that all such issues so far encountered should be easily, fully and safely recoverable. Usually simply running sudo rpm --rebuilddb
should suffice; if not, try running sudo rm -rf /var/lib/rpm/__db*
and then sudo rpm --rebuilddb
again.
Wayland issues
Wayland is the replacement for the legacy X11 display stack. Although development has been rapid and Wayland is usable in most situations, some bugs remain. Please see the following link to learn the details:
Please check the list for your issue before you file a new bug, although if you're not sure, filing a new bug is the right thing to do.
Wayland is currently enabled by default only in GNOME. If you want to disable it, select GNOME on Xorg as session type when logging in (you only see this screen if your user has a password defined):
Running applications crash on log out from GNOME under Wayland
link to this item - Bugzilla: #1366897 - Bugzilla: #1394937
If you log out from a GNOME Wayland session, many GNOME applications may crash. This is due to some ordering and signalling problems between the shutdown of different GNOME components when running under Wayland. In order to avoid any possible problems caused by this, you should definitely save any unsaved work and ideally close running applications manually before logging out.
There have been some less clear reports of applications not shutting down cleanly on log out from GNOME Xorg sessions, which is under discussion in bug #1394937, but we are not yet entirely sure about the details of that possible case.
Vino server (remote desktop server) crashes on login under Wayland
link to this item - Bugzilla: #1394599
If you have configured a remote desktop server using vino-server (available e.g. in GNOME settings), you'll see a crash each time you log in into a Wayland session. Remote desktop functionality is not yet supported under Wayland. Either disable the remote desktop server (Settings -> Sharing -> Screen sharing) to avoid seeing the crash notifications or use Xorg session instead (if you require remote desktop functionality).
Most Qt 5 apps crash under Wayland when displaying a file dialog if you don't have qgnomeplatform installed
link to this item - Bugzilla: #1392605
If you've upgraded your system from Fedora 23 or older, you might not have qgnomeplatform package installed. As a consequence, Qt 5 apps crash when trying to display a file dialog under Wayland. The workaround is to install qgnomeplatform
package:
$ sudo dnf install qgnomeplatform
GNOME freezes frequently with 3 monitors on Wayland
There are frequent freezes of GNOME when using 3 monitors at the same time. This is confirmed at least on several ThinkPad series laptops with Intel graphics. See gnome bug 774557 for more details.
Current workaround is to use 2 monitors at maximum, or use X11 session instead of Wayland.
Running graphical apps with root privileges (e.g. gparted) does not work on Wayland
link to this item - Bugzilla: #1274451
Running graphical applications with root privileges does not work on Wayland. This is not exactly a bug, but an intentional design, at least at present: it is part of a general plan to make Wayland safer than X (which is very vulnerable to exploitation by malicious applications). It is generally intended that apps which need root privileges to perform some operations should be designed such that the application itself does not need root privileges, but uses a mechanism like PolicyKit to have privileges granted to a restricted subset of itself which only handles the operations that actually need elevated privileges.
This means you cannot run, for example, sudo gedit /etc/someconfigfile.conf
or sudo gvim /etc/someconfigfile.conf
to edit a file which requires root privileges to save. It also stops gparted
working by default at all, as it is designed to run with root privileges by default. There are various ways to work around different elements of this problem.
For applications which use the GTK+ Gvfs file access layer, there is an admin:/// resource indicator available. So you can, for example, run gedit admin:///etc/someconfigfile.conf
to edit a file requiring root privileges to save. In future, this mechanism will be better integrated into applications so you do not have to manually invoke it. This will not work for applications which do not use Gvfs, though, like gvim.
In other cases, you may be able to use an alternative application. For instance, you may find the Disks application (gnome-disks
from a console) can do what you wanted to do with gparted
.
There is a workaround you can use to allow non-Wayland-native apps to run as root if you absolutely must: from a console as the regular user, run xhost +si:localuser:root
. This will not work for Wayland-native applications, however, only apps which run via XWayland.
Finally, if none of these options is workable for you, you can switch back to using X.org instead of Wayland, as documented above.
GNOME Wayland session does not start a login shell, so does not process .bash_profile
or .bashrc
etc.
link to this item - Bugzilla: #1149905
Unlike GNOME-on-Xorg, the GNOME-on-Wayland session is not run through a login shell. This means that some configuration shell scripts which are sourced for login shells, like /etc/profile
, /etc/profile.d/*
, ~/.bash_profile
and ~/.bashrc
are not sourced for the GNOME session, and most applications run from the GNOME session will not have those settings applied. By default, GNOME Terminal sessions will source ~/.bashrc
, which sources /etc/bashrc
, which sources /etc/profile.d/*
. However, they will not source ~/.bash_profile
or /etc/profile
.
There is no exact convenient 'workaround' for this to simply have login shell settings applied to a GNOME-on-Wayland session.
- You can set environment variables in
/etc/environment
(simple ENVVAR=value format): these settings are respected. - There are various alternatives to setting things using these shell scripts, e.g. running things on session startup by using desktop files in
~/.config/autostart
or/etc/xdg/autostart
.
There is much more detailed discussion of the consequences of this change and possible workarounds in the upstream bug report.
Screen recording freezes GNOME in certain conditions
link to this item - Bugzilla: #1394755
If you start screen recording in GNOME (Ctrl+Alt+Shift+R) your session might freeze hard (you can only get out of it using SysRq or ssh in and kill your session). This is related to gstreamer registry cache file (~/.cache/gstreamer-1.0/registry.x86_64.bin
) - when it is changed (might happen during a plugin update, or if you remove the file), this bug occurs. It is not only triggered by the integrated GNOME recorder, but also by extensions/tools like EasyScreenCast - in that case, the freezes occurs immediately during login.
The existing workaround is to select Xorg session in the session picker (see #Wayland issues) and log in at least once. That fixes the cache file and then it should be possible to log in even to Wayland session. It also helps to remove EasyScreenCast extension (if you have it installed), and remove clutter-gst2
package (but some of your apps might depend on it).
Fedora Workstation issues
GNOME "Oh no!" screen (displayed when a core GNOME component fails) crashes
link to this item - Bugzilla: #1384508
When a core GNOME component (e.g. gnome-session or gnome-shell) fails, GNOME attempts to run something called gnome-session-failed, which displays a screen saying "Oh no! Something has gone wrong". However, in Fedora 25, gnome-session-failed itself can quite often crash. When this happens, you will see a crash report which links back to bug #1384508. This bug actually covers the crash of the "Oh no!" screen: it does not cover whatever failure caused GNOME to attempt to display the "Oh no!" screen in the first place. Many different people following the bug actually appear to have encountered different issues and hit the same "Oh no!" screen crash. One particular case we are aware of is this one, to do with session auto-saving being enabled, but it's clear some reporters are arriving at the "Oh no!" screen crash via a different route.
If you are in this position, if possible, please see if you can ascertain what failure caused GNOME to try and run gnome-session-failed in the first place, as that is likely the problem that really matters to you. Running journalctl -b
as the user who encountered the problem may well help, as the GNOME session should log what the critical component failure was. Then see if you can find a bug report for the failure, and if not, please file a new one, with Fedora or GNOME upstream.
We will of course attempt to fix the "Oh no!" screen crash, but fixing that will not resolve whatever problem causes the screen to appear in the first place - it will just mean that you actually see the "Oh no!" screen.
Certain Qt 5 apps (VLC, Calibre) are scaled up or down when they should not be
link to this item - Bugzilla: #1381828
Certain Qt 5 apps like VLC or Calibre are configured to use window scaling for high DPI monitors. However, the implementation scales the applications even on some standard (Full HD) monitors. It also further adjust the scaling if you have several monitors attached. In the end you might see a very huge or a very tiny widgets/fonts.
The existing workaround is to run the application with QT_SCALE_FACTOR=1
environment variable, like this:
QT_SCALE_FACTOR=1 command
Workstation login screen (GDM) does not show newly-installed desktops until system is rebooted or shut down
link to this item - Bugzilla: #1398770
If you install an additional desktop environment after installing Fedora Workstation, it will not appear on the session chooser in the login screen (GDM) if you simply log out from a user session and log in again. This is because gdm keeps running after logging you into your user session, and there is no signal to tell it that a new desktop has been installed; it will not notice until it is restarted. It is possible to restart GDM without restarting the system, but in practice rebooting or shutting down and starting up again is usually the easiest thing to do.
Some text views (gedit...) not properly scaled when Large Text or a text scaling factor set
Due to an issue with some specific text view widgets, when a 'text scaling factor' is set in GNOME, this scaling is not properly applied in a few specific cases. This makes text appear tiny. Setting the Large Text option in Universal Access sets a text scaling factor; it is also possible to set one manually in the gnome-tweak-tool
application, so if you have set either of those options, you will likely see this bug.
This issue is known to affect gedit (the text in the document being edited, not the user interface). A similar issue affected the Evolution plain text mail composer (again, in the mail text itself, not the rest of the user interface) until the release of Evolution 3.22.2: if you update to that version or later, the Evolution case should be resolved. Text in these widgets will appear the size it would be with a scaling factor of 1, rather than the factor the user configured.
To work around this issue in gedit you can just set a custom font in Preferences and make its point size larger than normal. A similar workaround may be available for other affected apps.
Plasma (KDE) issues
Logging out second user kills first user's session on KDE in a virtual machine (QXL driver)
link to this item - Bugzilla: #1382001
When you live switch users, logging out the second user kills the first user's session. This only happens with QXL driver which is used in virtual machines by default (GNOME Boxes, virt-manager).
Network issues
Hardware issues
External displays are not disconnected after undocking
link to this item - Bugzilla: #1392885
If you use a docking station with an external display attached and undock your laptop, the system will think the external display is still connected and will not automatically make the screen disappear (but you won't be able to see its contents). You can manually disable the screen using your desktop's configuration tools.
This is only a problem for Live environment and clean installs (with kernel-4.8.6-300.fc25
). It has been fixed in kernel-4.8.7-300.fc25
, which is available as an update.
Application issues
ARM issues
Fedora Server issues
PHP web applications cause many SELinux 'execmem' denials
link to this item - Bugzilla: #1398474
If you run PHP webapps on a Fedora Server 25 server, unless you change the httpd_execmem SELinux boolean from 0 (the default) to 1, you will likely see a large number of SELinux denials for the execmem action for your HTTP server. This appears to be caused by a new feature in PHP 7, just-in-time compilation of PCREs (perl-compatible regular expressions).
There are two known workarounds at present. As mentioned, you can allow HTTP servers the execmem action, by running setsebool -P httpd_execmem 1
. This will allow PHP applications to work without any changes and without any SELinux denials, but it does slightly reduce safety. Alternatively, you can disable the PCRE JIT compilation feature, by placing the line pcre.jit=0 in a config file under /etc/php.d
.
As well as the Fedora bug report, there is an upstream pcre report tracking this issue.
SELinux prevents SpamAssassin (spamd) accessing /var/spool/mail
link to this item - Bugzilla: #1398437
This issue may commonly be encountered by mail servers running Fedora Server 25. If you have a mail server using SpamAssassin in a typical configuration, you may find that SELinux prevents spamd
and its child processes (which may be identified by a long alphanumerical string like 7370616D64206368696C64 in the logs) from accessing /var/spool/mail
. If you monitor your system and audit logs you may see several AVCs denying various processes with the context system_u:system_r:spamd_t:s0 from accessing paths with the context system_u:object_r:mail_spool_t:s0: these are all cases of this same problem.
This will likely prevent various SpamAssassin features from working as intended, though we haven't exhaustively investigated the precise effects of the issue. It certainly prevents the Razor plugin from working correctly.
To work around this without setting SELinux to permissive mode, you can generate a custom policy with audit2allow
. A .te file like this should work:
module 1398437-workaround 1.0; require { type mail_spool_t; type spamd_t; class dir { add_name create getattr open read remove_name search write }; class file { append create getattr ioctl open read unlink write }; } #============= spamd_t ============== allow spamd_t mail_spool_t:dir { add_name create getattr open read remove_name search write }; allow spamd_t mail_spool_t:file { append create getattr ioctl open read unlink write };
Fedora Cloud issues
Other issues
Hibernation doesn't work from a standard install
link to this item - Bugzilla: #1206936
The systemd-hibernate generator used to handle resume from hibernate functionality expects a resume=/path/to/swap
in the kernel args. Anaconda does not add this into /etc/default/grub
and the dracut cmdline generator doesn't act in a way the systemd hibernate generator can locate the swap with the resume image.
To work around this, check the devmapper path to the swap via swapon -s
command and add it to the GRUB_CMDLINE_LINUX
entry in /etc/default/grub
, then regenerate the grub.cfg
file used:
- Via grub2-mkconfig:
- For BIOS systems:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
- For EFI systems:
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
- For BIOS systems:
- Via grubby:
sudo grubby --args=resume=/path/to/swap --update-kernel=$(grubby --default-kernel)
Booting other UEFI Linux distributions might not work from Fedora bootloader
link to this item - Bugzilla: #1353026
Certain people who have multiple Linux distributions installed (in UEFI mode on GPT disks) report they're not able to boot non-Fedora systems from Fedora bootloader. If this happens to you, please tell us in RHBZ #1353026. The workaround should be to use your UEFI firmware to display a one-time boot menu (often displayed with F8, F10, F11, F12 or Esc) and pick the system you want to boot. That will boot the system directly, without going through Fedora bootloader. If this is not available for you, you can try to select the OS you want to boot in the Fedora bootloader, hit e to edit the boot menu, and replace linux
and initrd
keywords with linuxefi
and initrdefi
, then press Ctrl+x or F10 to boot it.
Resolved issues
Fedora Media Writer shows Fedora 24 instead of Fedora 25 by default
link to this item - Bugzilla: #1397461
Fedora Media Writer is the new tool for creating installation media (usually, USB flash drives). In version 4.0.4, as was available at getfedora.org on release day, if you immediately select Fedora Workstation, the default release was Fedora 24, rather than Fedora 25. You can click on "Version 24" to change this. In all other Editions and Spins (Fedora Server, KDE Plasma Desktop, etc.), Fedora 25 was correctly selected by default, and, if you chose one of these and then return to Workstation, F25 would now be the default there too.