Giter Club home page Giter Club logo

Comments (8)

emersion avatar emersion commented on September 13, 2024

I suppose you're using elogind. Can you try to install the latest commit from elogind master? It has some changes needed for mako to connect to the session bus properly.

from mako.

eternal-sorrow avatar eternal-sorrow commented on September 13, 2024

I suppose you're using elogind.

No, I'm using systemd.

from mako.

emersion avatar emersion commented on September 13, 2024

Hmm, no idea what happens here.

from mako.

eternal-sorrow avatar eternal-sorrow commented on September 13, 2024

Is there some way to debug it?

from mako.

emersion avatar emersion commented on September 13, 2024

sd_bus_open_user fails, so it's probably either an issue with your Gentoo installation or a systemd bug. I'd try to ask Gentoo and systemd people and use GDB to understand why sd_bus_open_user fails.

from mako.

eternal-sorrow avatar eternal-sorrow commented on September 13, 2024

rebuilding sys-apps/dbus with USE=user-session fixed this. sorry for bothering

from mako.

AJ-Williams1 avatar AJ-Williams1 commented on September 13, 2024

I have this problem using elogind on gentoo, and I have dbus built with USE=user-session. What can I try?

from mako.

savchenko avatar savchenko commented on September 13, 2024

I am seeing the same problem on Debian Bullseye (upcoming v11, already in hard-freeze mode). Looking at strace tail:

mprotect(0x7f27c9bdf000, 16384, PROT_READ) = 0
mprotect(0x7f27c9806000, 4096, PROT_READ) = 0
mprotect(0x7f27c990b000, 16384, PROT_READ) = 0
mprotect(0x7f27c9abe000, 4096, PROT_READ) = 0
mprotect(0x61eeceb5e000, 8192, PROT_READ) = 0
mprotect(0x7f27c9c28000, 4096, PROT_READ) = 0
munmap(0x7f27c9be7000, 91150)           = 0
set_tid_address(0x7f27c8496d50)         = 35074
set_robust_list(0x7f27c8496d60, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f27c95fb690, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f27c9608140}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f27c95fb730, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f27c9608140}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL)                               = 0x61eed06bd000
brk(0x61eed06de000)                     = 0x61eed06de000
statfs("/sys/fs/selinux", 0x7fffc1fead40) = -1 ENOENT (No such file or directory)
statfs("/selinux", 0x7fffc1fead40)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/proc/filesystems", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "nodev\tsysfs\nnodev\ttmpfs\nnodev\tbd"..., 1024) = 364
read(3, "", 1024)                       = 0
close(3)                                = 0
access("/etc/selinux/config", F_OK)     = -1 ENOENT (No such file or directory)
gettimeofday({tv_sec=1617864542, tv_usec=538992}, NULL) = 0
futex(0x7f27c9a3ef38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f27c9a3ef38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
access("/root/.mako/config", R_OK)      = -1 ENOENT (No such file or directory)
access("/root/.config/mako/config", R_OK) = -1 ENOENT (No such file or directory)
getpid()                                = 35074
write(2, "Failed to connect to user bus: N"..., 47Failed to connect to user bus: No medium found
) = 47
exit_group(1)                           = ?
+++ exited with 1 +++

Any idea why mako decided to look under /root? I am launching it as the regular user.

from mako.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.