Bug ID 1202070
Summary nautilus (gvfsd) fails to open admin:/// URL due to missing pkexec
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee screening-team-bugs@suse.de
Reporter arvidjaar@gmail.com
QA Contact qa-bugs@suse.de
CC meissner@suse.com, os.gnome.maintainers@gmail.com
Found By ---
Blocker ---

Instead of opening super-user browser "nautilus admin:///" fails with

Oops! Something went wrong.
Don't have permission to access the requested location.

The reason is missing pkexec:

1986  execve("/bin/sh", ["/bin/sh", "-c", "pkexec /usr/libexec/gvfs/gvfsd-admin
\"$@\" --address $DBUS_SESSION_BUS_ADDRESS --dir $XDG_RUNTIME_DIR",
"gvfsd-admin", "--spawner", ":1.12", "/org/gtk/gvfs/exec_spaw/3"],
0x7ffe1fec9ea8 /* 69 vars */ <unfinished ...>
...
1986  write(2, "gvfsd-admin: line 1: pkexec: command not found\n", 47) = 47

because of

* Mon Jul 18 2022 Marcus Meissner <meissner@suse.com>
- split out pkexec into seperate package to make system hardening
  easier (to avoid installing it jsc#PED-132 jsc#PED-148).

Probably gvfs-backends (which includes admin backend) should have hard
requirement on pkexec. Besides, I would really hope packagers started to use
split-aliases when factoring out commands into separate packages
(https://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation#Splitting_a_package_into_two):

pkexec
Provides: polkit:/usr/bin/pkexec


You are receiving this mail because: