Red Hat Bugzilla – Bug 590035
error opening config file '/root/.pangorc': Permission denied
Last modified: 2015-01-14 18:25:13 EST
Description of problem:
At shutdown and reboot we get the following text message displayed to the screen:
(process 2838): Pango-WARNING **: error opening config file '/root/.pangorc': Permission denied
That file doesn't exist so a permission denied messages sounds like selinux to me.
Version-Release number of selected component (if applicable):
Most likely. What process wants to read /root/.pangorc? Is this a gnome config file?
I have the same problem in Fedora 12.
What's going on is initscripts runs
plymouth message --test="Shutting Down..."
or whatever, which causes plymouthd to load pango. pango apparently implicitly reads ~/.pangorc and plymouthd is running as root.
So there are a few nuggets to this issue.
1) We probably don't want "Restarting..." and "Shutting Down..." messages for graphical splashes. They're sort of their accidentally because we need them for text splashes (but maybe they're okay, not sure)
2) $HOME should probably be explicitly set to something sensible for daemon.
3) selinux should probably allow plymouthd to read the file.
3 is the easy fix
Are you seeing any avc messages? Probably not since /root access is dontaudited.
I think the only policy we have confining plymouth is on plymouthd not plymouth.
semanage permissive -a plymouthd_t
Would allow plymouthd_t to have permissive access. If this eliminates the error, we know we have to allow plymouthd_t to read /root files.
Added this access in selinux-policy-3.7.19-15.fc13.noarch
yea to be clear, it's plymouthd using pango. plymouth is just a small program that forwards commands to plymouthd.
really plymouthd shouldn't need to read /root files, but it's easiest to just allow it i guess. thanks for the fix.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13. 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 WONTFIX if it remains open with a Fedora
'version' of '13'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 13's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 13 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 please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 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 please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.