Description of problem: Ran text-mode anaconda --dirinstall in an ssh session to a rawhide machine. Version-Release number of selected component: anaconda-core-21.28-1.fc21.x86_64 The following was filed automatically by anaconda: anaconda 21.28-1 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/site-packages/pyanaconda/safe_dbus.py", line 98, in dbus_call_safe_sync raise DBusCallError(msg) File "/usr/lib64/python2.7/site-packages/pyanaconda/safe_dbus.py", line 134, in dbus_get_property_safe_sync connection) File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 707, in keymap self._connection) File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 813, in convert_keymap orig_keymap = self.keymap File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 159, in populate_missing_items c_lay_var = localed.convert_keymap(keyboard.vc_keymap) File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 177, in write_keyboard_config populate_missing_items(keyboard) File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1560, in execute keyboard.write_keyboard_config(self, ROOT_PATH) File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 70, in doConfiguration ksdata.keyboard.execute(storage, ksdata, instClass) File "/usr/lib64/python2.7/threading.py", line 766, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run threading.Thread.run(self, *args, **kwargs) DBusCallError: Failed to call Get method on /org/freedesktop/locale1 with ('org.freedesktop.locale1', 'VConsoleKeymap') arguments: Timeout was reached Additional info: cmdline: /usr/bin/python /sbin/anaconda --dirinstall --kickstart=docker-test.ks cmdline_file: BOOT_IMAGE=/vmlinuz-3.14.0-0.rc6.git4.1.fc21.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=fedora/root vconsole.keymap=us rhgb quiet LANG=en_US.UTF-8 executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.14.0-0.rc6.git4.1.fc21.x86_64 other involved packages: python-libs-2.7.6-4.fc21.x86_64 product: Fedora release: Fedora release 21 (Rawhide) type: anaconda version: rawhide
Created attachment 877003 [details] File: anaconda-tb
Created attachment 877004 [details] File: anaconda.log
Created attachment 877005 [details] File: docker-test.ks
Created attachment 877006 [details] File: environ
Created attachment 877007 [details] File: journalctl
Created attachment 877008 [details] File: lsblk_output
Created attachment 877009 [details] File: nmcli_dev_list
Created attachment 877010 [details] File: os_info
Created attachment 877011 [details] File: program.log
Created attachment 877012 [details] File: storage.log
Created attachment 877013 [details] File: ifcfg.log
Created attachment 877014 [details] File: packaging.log
Maybe just the exceptions need to be changed? Either handling DBusCallError in keyboard.py or having dbus_get_property_safe_sync convert errors to DBusPropertyError?
Same thing at the SetVConsoleKeyboard call anaconda 21.28-1 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/site-packages/pyanaconda/safe_dbus.py", line 98, in dbus_call_safe_sync raise DBusCallError(msg) File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 796, in set_keymap "SetVConsoleKeyboard", args, self._connection) File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 830, in set_and_convert_keymap self.set_keymap(keymap, convert=True) File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 814, in convert_keymap ret = self.set_and_convert_keymap(keymap) File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 159, in populate_missing_items c_lay_var = localed.convert_keymap(keyboard.vc_keymap) File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 177, in write_keyboard_config populate_missing_items(keyboard) File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1560, in execute keyboard.write_keyboard_config(self, ROOT_PATH) File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 70, in doConfiguration ksdata.keyboard.execute(storage, ksdata, instClass) File "/usr/lib64/python2.7/threading.py", line 766, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run threading.Thread.run(self, *args, **kwargs) DBusCallError: Failed to call SetVConsoleKeyboard method on /org/freedesktop/locale1 with ('us', '', true, false) arguments: Timeout was reached
And one more. It worked after I shoved my way past this last one. anaconda 21.28-1 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/site-packages/pyanaconda/safe_dbus.py", line 98, in dbus_call_safe_sync raise DBusCallError(msg) File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 876, in set_layouts "SetX11Keyboard", args, self._connection) File "/usr/lib64/python2.7/site-packages/pyanaconda/keyboard.py", line 207, in write_keyboard_config keyboard.switch_options) File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1560, in execute keyboard.write_keyboard_config(self, ROOT_PATH) File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 70, in doConfiguration ksdata.keyboard.execute(storage, ksdata, instClass) File "/usr/lib64/python2.7/threading.py", line 766, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run threading.Thread.run(self, *args, **kwargs) DBusCallError: Failed to call SetX11Keyboard method on /org/freedesktop/locale1 with ('', '', '', '', false, false) arguments: Timeout was reached
Seems like systemd-localed doesn't work. I'll try to figure out if it is a problem on our side or systemd's side.
Created attachment 877185 [details] output of 'ausearch -m user_avc'
Running 'setenforce 0' before running anaconda fixes the issue. Thus we need to fix the SELinux policy. Bug #1079251 filed for the issue.
Seems to be working fine now with anaconda-21.29-1 and selinux-policy-targeted-3.13.1-41.