Summary: | "Cannot create unix session" - polkit-kde fails to start | ||
---|---|---|---|
Product: | [Plasma] policykit-kde-agent-1 | Reporter: | JacekJagosz <jacek.jagosz> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | drf, jacek.jagosz, jgrulich, jreznik, nate |
Priority: | NOR | ||
Version: | 5.25.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
JacekJagosz
2022-07-16 08:11:21 UTC
When I run `sudo gdb /usr/lib64/kf5/polkit-kde-authentication-agent-1` I get ``` Starting program: /usr/lib64/kf5/polkit-kde-authentication-agent-1 [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib64/libthread_db.so.1". [New Thread 0x7fffe55e1640 (LWP 6844)] QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' [New Thread 0x7fffe4dad640 (LWP 6845)] [Detaching after fork from child process 6846] New PolkitAgentListener 0x7fffe0003da0 Adding new listener PolkitQt1::Agent::Listener(0x555555654050) for 0x7fffe0003da0 Listener online "Cannot create unix session: No session for pid 6840" ** (process:6840): CRITICAL **: 10:27:53.358: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed "Cannot register authentication agent!" Authentication agent result: false Couldn't register listener! [Thread 0x7fffe4dad640 (LWP 6845) exited] [Thread 0x7ffff2de08c0 (LWP 6840) exited] [Inferior 1 (process 6840) exited with code 01] ``` So nothing suspicious, apart from `XDG_RUNTIME_DIR`. Could that be a problem? But when I run it without without sudo I get a lot of access denied: ``` Starting program: /usr/lib64/kf5/polkit-kde-authentication-agent-1 [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib64/libthread_db.so.1". Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. [New Thread 0x7fffe3c3e640 (LWP 7563)] [New Thread 0x7fffe343d640 (LWP 7564)] Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. Error while mapping shared library sections: /proc/7414/ns/mnt: Brak dostępu. [New Thread 0x7fffe2b4b640 (LWP 7565)] New PolkitAgentListener 0x5555555bbac0 Adding new listener PolkitQt1::Agent::Listener(0x5555555ef650) for 0x5555555bbac0 Listener online "Cannot create unix session: No session for pid 7414" ** (process:7414): CRITICAL **: 10:33:25.684: polkit_agent_listener_register_with_options: assertion 'POLKIT_IS_SUBJECT (subject)' failed "Cannot register authentication agent!" Authentication agent result: false Couldn't register listener! [Thread 0x7fffe2b4b640 (LWP 7565) exited] [Thread 0x7fffe343d640 (LWP 7564) exited] [Thread 0x7ffff2de08c0 (LWP 7414) exited] [Inferior 1 (process 7414) exited with code 01] ``` Honestly I would recommend that you contact the Solus folks about this. I strongly suspect it's an upgrade/configuration/packaging issue rather than a code issue, as no code has changed here in a long time. That is correct, Solus was using a fork of Polkit that had all of JavaScript ripped out. https://dev.getsol.us/D13356 It will take a lot of time to get fixed, but people are working on it. |