#1086145 sysprof: error "Failure: Failed to authorize user credentials"

Package:
sysprof
Source:
sysprof
Description:
system-wide Linux profiler
Submitter:
Vincent Lefevre
Date:
2025-04-13 11:24:01 UTC
Severity:
normal
#1086145#5
Date:
2024-10-27 13:17:28 UTC
From:
To:
sysprof-cli gives the following error:

  Failure: Failed to authorize user credentials

#1086145#10
Date:
2024-10-28 15:39:34 UTC
From:
To:
(with or without X11 forwarding):

qaa:~> sysprof-cli -- echo
Recording, press ^C to exit
==== AUTHENTICATING FOR org.gnome.sysprof3.profile ====
Authentication is required to profile the system.
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ====

Profiler stopped.

But note that such a remote connection defeats the purpose of sysprof.

#1086145#15
Date:
2025-01-19 19:21:14 UTC
From:
To:
I am unable to duplicate this issue on Debian Testing with Debian
GNOME. Are you still experiencing this issue?

Thank you,
Jeremy Bícha

#1086145#20
Date:
2025-01-19 22:53:34 UTC
From:
To:
Control found -1 sysprof

qaa:~> sysprof-cli -- echo
Recording, press ^C to exit
Failed to complete recording: Failed to authorize user credentials

Note that I am not using GNOME. I was just told to test some software
with sysprof-cli in the context of a bug report (the bug has eventually
been identified and fixed, but I'm still wondering why I get this
sysprof error).

#1086145#25
Date:
2025-01-20 01:16:11 UTC
From:
To:
Could you provide more details about how your system is set up? I am
unable to duplicate the issue, as you have described it here.

Like you could start with Debian in a VM. What are the steps to
experience the same issue?

Thank you,
Jeremy Bícha

#1086145#30
Date:
2025-01-20 02:19:36 UTC
From:
To:
First, when I install the sysprof package, I notice:

Setting up sysprof (47.2-1) ...
sysprof3.service is a disabled or a static unit, not starting it.

Is this normal?

I use the lightdm display manager with lightdm-gtk-greeter
(i.e. the default greeter), and fvwm2 as my window manager
(no desktop environment).

If needed, I could try to skip my usual setup, in case this matters.

I've attached the strace (compressed), if you can find something
abnormal.

Possibly not needed for the moment, but documentation to do that
would be welcome. I've found mentions of virtualbox, but it is
not installable on Debian/unstable yet, apparently due to the
unfinished python3.13 transition.

#1086145#35
Date:
2025-02-08 20:46:01 UTC
From:
To:
I use the gnome-boxes app. The Express Installation feature isn't
working for Debian Testing because xserver-xorg-video-qxl isn't in
Testing, but otherwise the app works well.

If you use a GUI, I recommend installing spice-webdavd and
spice-vdagent inside the guest after it's done installing Debian and
then restart. (The Express Installation feature would do this for
you.)

Thank you,
Jeremy Bícha

#1086145#40
Date:
2025-04-11 12:25:55 UTC
From:
To:
Control: severity -1 important

Given that it works in both GNOME and KDE out of the box, this should be
at most priority:important ("a bug which has a major effect on the
usability of a package, without rendering it completely unusable to
everyone").

Kind regards
Philipp Kern

#1086145#47
Date:
2025-04-13 11:22:07 UTC
From:
To:
user debian-release@lists.debian.org
usertag 1091027 + bsp-2025-04-at-vienna
usertag 1057462 + bsp-2025-04-at-vienna
usertag 994274 + bsp-2025-04-at-vienna
tag 1091027 + pending
tag 1057462 + pending
tag 994274 + pending
thanks

Uploaded an NMU to DELAYED/0-day:

Kind regards
Philipp Kern