SELinux is preventing /usr/bin/systemd-tmpfiles from getattr access on the directory /var/tmp/kdecache-root.

Garry T. Williams gtwilliams at gmail.com
Tue Jul 17 00:47:20 UTC 2012


On Wednesday, July 04, 2012 17:34:06 hejian19870919 at 163.com wrote:
> SELinux is preventing /usr/bin/systemd-tmpfiles from getattr access
> on the directory /var/tmp/kdecache-root.

I saw this, too.  I waited for an selinux update and it persisted
after that.  Finally, I actually read the message and wondered why I
would ever have such a directory.  I would never attempt to start KDE
as the root user.  I knew I didn't do that.  I looked at the date on
this directory and it matched the date I installed (fresh) F17.  I
haven't got a clue as to why it was created.  I just deleted it and
then started looking elsewhere.  I see that a ~root/.kde directory and
a ~root/.config directory exists.  WTF?  I deleted those, too.  (They
were also time-stamped with my install date.)

I don't know how the install went so wrong, but it's gone now.

This is from my shell history:

    sudo restorecon /var/tmp/kdecache-root

That didn't do it.  Later I did this:

    sudo rmdir /var/tmp/kdecache-root
    sudo rm -rf /var/tmp/kdecache-rootGr0zAx
    sudo rm -rf /root/.kde /root/.config

-- 
Garry T. Williams



More information about the kde mailing list