Bug 1339316
| Summary: | dbus-launch fails with error "X11 initialization error" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Stavel <jstavel> |
| Component: | glib2 | Assignee: | Colin Walters <walters> |
| Status: | CLOSED WONTFIX | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | tpelka |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-12-15 07:41:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |
Description of problem: I have installed RHEL7.3 Server with "minimal install" I have installed dbus-x11 and dconf. A command "gsettings set ..." fails with an error "failed to commit changes to dconf". FYI: I have split bug https://bugzilla.redhat.com/show_bug.cgi?id=1337612 into two parts. This bug is the second part of the bug. Version-Release number of selected component (if applicable): Red Hat Enterprise Linux Server release 7.3 Beta (Maipo) ---------------------------- ---------------------------- arch x86_64 kernel version 3.10.0-406.el7.x86_64 ---------------------------- ---------------------------- server type This system is currently not registered. subscription management server Unknown subscription management rules Unknown subscription-manager 1.17.6-1.el7 python-rhsm 1.17.2-1.el7 ---------------------------- ---------------------------- Product 69.pem ---------------------------- ---------------------------- Entitlement ---------------------------- ---------------------------- Steps to Reproduce: *** I have installed VM from nightly build RHEL7.3 compose *** I enabled night build repo and optional repo #+BEGIN_SRC shell cat > /etc/yum.repos.d/rhel-nightly-build.repo <<EOF [rhel-nigthly-build] name=rhel-nightly-build baseurl=http://download-ipv4.eng.brq.redhat.com/nightly/RHEL-7.3-20160520.n.0/compose/Server/x86_64/os/ enabled=1 gpgcheck=0 EOF cat > /etc/yum.repos.d/rhel-nightly-build-optional.repo <<EOF [rhel-nigthly-build-optional] name=rhel-nightly-build-optional baseurl=http://download-ipv4.eng.brq.redhat.com/nightly/RHEL-7.3-20160520.n.0/compose/Server-optional/x86_64/os/ enabled=1 gpgcheck=0 EOF *** gsettings works now #+BEGIN_SRC shell gsettings set org.gnome.desktop.interface toolkit-accessibility true 2>&1 exit 0 #+END_SRC #+RESULTS: : GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. *** I install dbus-x11 and dconf #+BEGIN_SRC shell yum install -y dbus-x11 yum install -y dconf #+END_SRC #+RESULTS: #+begin_example Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: dconf x86_64 0.22.0-2.el7 rhel-nigthly-build 157 k Transaction Summary ================================================================================ Install 1 Package Installed: dconf.x86_64 0:0.22.0-2.el7 Complete! #+end_example *** gsettings fails with an error #+BEGIN_SRC shell gsettings set org.gnome.desktop.interface toolkit-accessibility true 2>&1 exit 0 #+END_SRC #+RESULTS: : : (process:17983): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=5f310a658d434c3d89cd66edf7453553 --binary-syntax --close-stderr': Child process exited with code 1 *** dbus-launch fails with an error "Autolaunch error: X11 initialization failed" #+BEGIN_SRC shell dbus-launch --autolaunch=5f310a658d434c3d89cd66edf7453553 --binary-syntax --close-stderr 2>&1 exit 0 #+END_SRC #+RESULTS: : Autolaunch error: X11 initialization failed. *** strace of the execution #+BEGIN_SRC shell strace dbus-launch --autolaunch=5f310a658d434c3d89cd66edf7453553 --binary-syntax --close-stderr 2>&1 exit 0 #+END_SRC #+RESULTS: #+begin_example execve("/usr/bin/dbus-launch", ["dbus-launch", "--autolaunch=5f310a658d434c3d89c"..., "--binary-syntax", "--close-stderr"], [/* 30 vars */]) = 0 brk(0) = 0x7fe6ab368000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe6a9973000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=21856, ...}) = 0 mmap(NULL, 21856, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe6a996d000 close(3) = 0 open("/lib64/libX11.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\337\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1318880, ...}) = 0 mmap(NULL, 3399168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe6a9415000 mprotect(0x7fe6a954d000, 2097152, PROT_NONE) = 0 mmap(0x7fe6a974d000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x138000) = 0x7fe6a974d000 close(3) = 0 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \34\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2112632, ...}) = 0 mmap(NULL, 3936864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe6a9053000 mprotect(0x7fe6a920a000, 2097152, PROT_NONE) = 0 mmap(0x7fe6a940a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b7000) = 0x7fe6a940a000 mmap(0x7fe6a9410000, 16992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fe6a9410000 close(3) = 0 open("/lib64/libxcb.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\234\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=141080, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe6a996c000 mmap(NULL, 2233224, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe6a8e31000 mprotect(0x7fe6a8e52000, 2093056, PROT_NONE) = 0 mmap(0x7fe6a9051000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x7fe6a9051000 close(3) = 0 open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=19520, ...}) = 0 mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe6a8c2d000 mprotect(0x7fe6a8c30000, 2093056, PROT_NONE) = 0 mmap(0x7fe6a8e2f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fe6a8e2f000 close(3) = 0 open("/lib64/libXau.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\16\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=15512, ...}) = 0 mmap(NULL, 2109736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe6a8a29000 mprotect(0x7fe6a8a2b000, 2097152, PROT_NONE) = 0 mmap(0x7fe6a8c2b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fe6a8c2b000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe6a996b000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe6a9969000 arch_prctl(ARCH_SET_FS, 0x7fe6a9969740) = 0 mprotect(0x7fe6a940a000, 16384, PROT_READ) = 0 mprotect(0x7fe6a8c2b000, 4096, PROT_READ) = 0 mprotect(0x7fe6a8e2f000, 4096, PROT_READ) = 0 mprotect(0x7fe6a9051000, 4096, PROT_READ) = 0 mprotect(0x7fe6a974d000, 4096, PROT_READ) = 0 stat("/etc/sysconfig/64bit_strstr_via_64bit_strstr_sse2_unaligned", 0x7ffc777ae0f0) = -1 ENOENT (No such file or directory) mprotect(0x7fe6a9b7d000, 4096, PROT_READ) = 0 mprotect(0x7fe6a9974000, 4096, PROT_READ) = 0 munmap(0x7fe6a996d000, 21856) = 0 brk(0) = 0x7fe6ab368000 brk(0x7fe6ab389000) = 0x7fe6ab389000 brk(0) = 0x7fe6ab389000 write(2, "Autolaunch error: X11 initializa"..., 45Autolaunch error: X11 initialization failed. ) = 45 exit_group(1) = ? +++ exited with 1 +++ #+end_example *** I see a strange line in the strace's output stat("/etc/sysconfig/64bit_strstr_via_64bit_strstr_sse2_unaligned", 0x7ffc777ae0f0) = -1 ENOENT (No such file or directory) Actual results: dbus-launch fails with an error "Autolaunch error: X11 initialization failed"