Bug ID 1223533
Summary cockpit: /nonexistent/libexec/cockpit-askpass
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.6
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter lubos.kocman@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Created attachment 874558 [details]
nonexistent/libexec/cockpit-askpass

On freshly installed Leap 15.6 + cockpit

If you login to localhost:9090 as a standard user and you try to enable the
admin view by clicking on the cockpit homescreen button, then cockpit will
raise following error

Problem becoming administrator
Sudo: unable to run /nonexistent/libexec/cockpit-askpass: No such file or
directory sudo: no password was provided sudo: a password is required

lkocman@localhost:~/Workspace/obs> sudo zypper in cockpit
[sudo] password for root: 
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Retrieving repository 'packman' metadata
.....................................................................................................................................................[done]
Building repository 'packman' cache
..........................................................................................................................................................[done]
Loading repository data...
Warning: Repository 'update-non-oss (15.6)' metadata expired since 2023-09-21
14:47:58 CEST.

    Warning: Repository metadata expired: Check if 'autorefresh' is turned on
(zypper lr), otherwise
    manually refresh the repository (zypper ref). If this does not solve the
issue, it could be that
    you are using a broken mirror or the server has actually discontinued to
support the repository.

Reading installed packages...
Resolving package dependencies...

The following 2 recommended packages were automatically selected:
  cockpit-networkmanager cockpit-storaged

The following package is recommended, but will not be installed due to
conflicts or dependency issues:
  cockpit-packagekit

The following 2 packages are suggested, but will not be installed:
  cockpit-pcp cockpit-selinux

The following 8 NEW packages are going to be installed:
  cockpit cockpit-bridge cockpit-networkmanager cockpit-storaged cockpit-system
cockpit-ws libpwquality-tools libudisks2-0_lvm2

8 new packages to install.
Overall download size: 7.1 MiB. Already cached: 0 B. After the operation,
additional 8.3 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: cockpit-bridge-309-bp156.1.2.x86_64 (repo-oss (15.6))              
                                                                               
                (1/8), 471.8 KiB    
Retrieving: cockpit-bridge-309-bp156.1.2.x86_64.rpm
.............................................................................................................................[done
(10.9 KiB/s)]
Retrieving: cockpit-ws-309-bp156.1.2.x86_64 (repo-oss (15.6))                  
                                                                               
                (2/8),   1.7 MiB    
Retrieving: cockpit-ws-309-bp156.1.2.x86_64.rpm
..................................................................................................................................[done
(8.4 MiB/s)]
Retrieving: libpwquality-tools-1.4.5-150600.2.2.x86_64 (repo-oss (15.6))       
                                                                               
                (3/8),  19.4 KiB    
Retrieving: libpwquality-tools-1.4.5-150600.2.2.x86_64.rpm
...................................................................................................................................[done]
Retrieving: libudisks2-0_lvm2-2.9.2-150400.3.3.1.x86_64 (repo-oss (15.6))      
                                                                               
                (4/8),  57.0 KiB    
Retrieving: libudisks2-0_lvm2-2.9.2-150400.3.3.1.x86_64.rpm
.....................................................................................................................[done
(93.5 KiB/s)]
Retrieving: cockpit-system-309-bp156.1.2.noarch (repo-oss (15.6))              
                                                                               
                (5/8),   3.2 MiB    
Retrieving: cockpit-system-309-bp156.1.2.noarch.rpm
..............................................................................................................................[done
(6.7 MiB/s)]
Retrieving: cockpit-storaged-309-bp156.1.2.noarch (repo-oss (15.6))            
                                                                               
                (6/8), 850.0 KiB    
Retrieving: cockpit-storaged-309-bp156.1.2.noarch.rpm
............................................................................................................................[done
(4.2 MiB/s)]
Retrieving: cockpit-networkmanager-309-bp156.1.2.noarch (repo-oss (15.6))      
                                                                               
                (7/8), 827.8 KiB    
Retrieving: cockpit-networkmanager-309-bp156.1.2.noarch.rpm
......................................................................................................................[done
(3.8 MiB/s)]
Retrieving: cockpit-309-bp156.1.2.x86_64 (repo-oss (15.6))                     
                                                                               
                (8/8),  45.5 KiB    
Retrieving: cockpit-309-bp156.1.2.x86_64.rpm
.................................................................................................................................................[done]

Checking for file conflicts:
.................................................................................................................................................................[done]
(1/8) Installing: cockpit-bridge-309-bp156.1.2.x86_64
........................................................................................................................................[done]
(2/8) Installing: cockpit-ws-309-bp156.1.2.x86_64
............................................................................................................................................[done]
(3/8) Installing: libpwquality-tools-1.4.5-150600.2.2.x86_64
.................................................................................................................................[done]
(4/8) Installing: libudisks2-0_lvm2-2.9.2-150400.3.3.1.x86_64
................................................................................................................................[done]
(5/8) Installing: cockpit-system-309-bp156.1.2.noarch
........................................................................................................................................[done]
(6/8) Installing: cockpit-storaged-309-bp156.1.2.noarch
......................................................................................................................................[done]
(7/8) Installing: cockpit-networkmanager-309-bp156.1.2.noarch
................................................................................................................................[done]
(8/8) Installing: cockpit-309-bp156.1.2.x86_64
...............................................................................................................................................[done]
lkocman@localhost:~/Workspace/obs> sudo systemctl enable --now cockpit.socket
Created symlink /etc/systemd/system/sockets.target.wants/cockpit.socket →
/usr/lib/systemd/system/cockpit.socket.
lkocman@localhost:~/Workspace/obs>


You are receiving this mail because: