[Discover] [Bug 420640] Discover does not allow user ID 1000 to install new packages anymore

2020-05-22 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=420640

Aleix Pol  changed:

   What|Removed |Added

 Resolution|--- |DOWNSTREAM
 Status|REPORTED|RESOLVED

--- Comment #5 from Aleix Pol  ---
pkcon without sudo should work by showing you the polkit dialog to escalate
privileges. This is something that PackageKit does and Discover relies on it to
do it properly.

I suggest you contact your distribution as to why this mechanism isn't working
properly.

A way to test polkit, would be to run "pkexec ls" and see if you get the
password dialog as expected.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 420640] Discover does not allow user ID 1000 to install new packages anymore

2020-05-14 Thread MMz
https://bugs.kde.org/show_bug.cgi?id=420640

MMz  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #4 from MMz  ---
See above trial answers

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 420640] Discover does not allow user ID 1000 to install new packages anymore

2020-05-14 Thread MMz
https://bugs.kde.org/show_bug.cgi?id=420640

--- Comment #3 from MMz  ---
Sorry to wait more trials.

The answer to your question is NO, that user (actually both "sudo" as UID=1000
and UID=1001) can not commit to install the package by simply using `pkcon
install ` on the command line and entering its password at the
next message prompt window. It fails Authentication.

Than, in order to commit the install, it has to start the command as sudo using
'sudo pkcon install `.

See next copy of terminal screens for both command, in the same sequence, from
UID=1000(brixiamate).

And than an abstract from /var/log/auth.log file in the same moments of
session.

-.-.- without sudo
brixiamate@BAT20n12:~$ pkcon install leocad
Resolving [=]
Querying  [=]
Testing changes   [=]
Finished  [=]
Installing[=]
Waiting for authentication[=] li 
Finished  [=]
Fatal error: Failed to obtain authentication.

-.- with sudo
brixiamate@BAT20n12:~$ sudo pkcon install leocad
[sudo] password di brixiamate: 
Resolving [=] 
Querying  [=] 
Testing changes   [=] 
Finished  [ ] (0%)  
The following packages have to be installed:
 leocad-19.07.1-1build1.amd64   software CAD con mattoncini virtuali
Proceed with changes? [N/y] y

  [=] 
Installing[=] 
Loading cache [=] 
Downloading packages  [=] 
Running   [=] 
Finished  [=] 
brixiamate@BAT20n12:~$ 


-.- abstract from /var/log/auth.log of the same 2 install operation.
.
.
.
May 14 23:54:15 BAT20n12 polkitd(authority=local): Registered Authentication
Agent for unix-process:8718:1981959 (system bus name :1.156
[/usr/bin/pkttyagent --notify-fd 14 --fallback], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
May 14 23:54:26 BAT20n12 PackageKit: uid 1000 is trying to obtain
org.freedesktop.packagekit.package-install auth (only_trusted:1)
May 14 23:54:31 BAT20n12 polkitd(authority=local): Unregistered Authentication
Agent for unix-session:9 (system bus name :1.135, object path
/org/lxqt/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8) (disconnected
from bus)
May 14 23:54:31 BAT20n12 polkitd(authority=local): Operator of unix-session:9
FAILED to authenticate to gain authorization for action
org.freedesktop.packagekit.package-install for system-bus-name::1.154 [pkcon
install leocad] (owned by unix-user:brixiamate)
May 14 23:54:31 BAT20n12 PackageKit: uid 1000 failed to obtain auth
May 14 23:54:31 BAT20n12 polkitd(authority=local): Unregistered Authentication
Agent for unix-process:8718:1981959 (system bus name :1.156, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
(disconnected from bus)
May 14 23:54:32 BAT20n12 polkitd(authority=local): Registered Authentication
Agent for unix-session:9 (system bus name :1.158
[/usr/bin/lxqt-policykit-agent], object path
/org/lxqt/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
May 14 23:55:34 BAT20n12 sudo: pam_unix(sudo:auth): Couldn't open
/etc/securetty: File o directory non esistente
May 14 23:55:37 BAT20n12 sudo: pam_unix(sudo:auth): Couldn't open
/etc/securetty: File o directory non esistente
May 14 23:55:37 BAT20n12 sudo: brixiamate : TTY=pts/1 ; PWD=/home/brixiamate ;
USER=root ; COMMAND=/usr/bin/pkcon install leocad
May 14 23:55:37 BAT20n12 sudo: pam_unix(sudo:session): session opened for user
root by (uid=0)
May 14 23:55:37 BAT20n12 polkitd(authority=local): Registered Authentication
Agent for unix-process:8826:1990248 (system bus name :1.160
[/usr/bin/pkttyagent --notify-fd 10 --fallback], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
May 14 23:55:41 BAT20n12 PackageKit: uid 0 is trying to obtain
org.freedesktop.packagekit.package-install auth (only_trusted:1)
May 14 23:55:41 BAT20n12 PackageKit: uid 0 obtained auth for
org.freedesktop.packagekit.package-install
May 14 23:56:45 BAT20n12 polkitd(authority=local): Unregistered Authentication
Agent for unix-process:8826:1990248 (system bus name :1.160, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
(disconnected from bus)
May 14 23:56:45 

[Discover] [Bug 420640] Discover does not allow user ID 1000 to install new packages anymore

2020-05-12 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=420640

--- Comment #2 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 420640] Discover does not allow user ID 1000 to install new packages anymore

2020-04-28 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=420640

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Nate Graham  ---
Can you use that user to install the package using `pkcon install
` on the command line?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 420640] Discover does not allow user ID 1000 to install new packages anymore

2020-04-26 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=420640

Nicolas Fella  changed:

   What|Removed |Added

 CC||nicolas.fe...@gmx.de
   Severity|critical|normal

-- 
You are receiving this mail because:
You are watching all bug changes.