On 02/21/13 11:46, Ed Greshko wrote:
Hi,
I just installed a F18 system from the DVD choosing only to install the KDE desktop. I
then did a "yum update" and updated everything.
I want to change the host name so I tried using hostnamectl. It fails and issues the
following message.
Failed to issue method call: Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security policy blocked the reply, the
reply timeout expired, or the network connection was broken.
In the audit.log I find.
type=USER_AVC msg=audit(1361418023.172:331): pid=618 uid=81 auid=4294967295
ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied
{ send_msg } for msgtype=method_return dest=:1.70 spid=2188 tpid=2214
scontext=system_u:system_r:systemd_hostnamed_t:s0
tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dbus
exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
What needs to be done to correct the problem. A known issue?
More info.... I just tried it on my "running" system with GNOME, KDE and other
DEs installed. It also fails. When it first fails the SELinux Alert Browser
indicates...
SELinux is preventing /usr/lib/systemd/systemd-hostnamed from getattr access on the file
/etc/hostname.
***** Plugin restorecon (99.5 confidence) suggests *************************
If you want to fix the label.
/etc/hostname default label should be etc_t.
Then you can run restorecon.
Do
# /sbin/restorecon -v /etc/hostname
I had done that on my new F18 test system but still get the AVC message shown above.
I suppose the best thing is to bugzilla it.....
--
Don't be bullied by the judgmental grammar and spelling police.