[Touch-packages] [Bug 1965439] Re: applications can no longer launch when called by kdesu

2022-05-26 Thread DR. VIMAL HURRY
I'm having the same problem on both my desktop & laptop running Kubuntu
22.04. Sudo muon e.g. gets the job done (to change software sources) but
it is very irritating that the dialog box won't accept my password. I
never had this problem on Kubuntu 21.10. Please fix this bug as soon as
possible. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1965439

Title:
  applications can no longer launch when called by kdesu

Status in kdesu package in Ubuntu:
  Confirmed
Status in kubuntu-settings package in Ubuntu:
  In Progress
Status in sudo package in Ubuntu:
  Confirmed
Status in ubuntustudio-default-settings package in Ubuntu:
  In Progress
Status in kdesu source package in Jammy:
  Confirmed
Status in kubuntu-settings source package in Jammy:
  In Progress
Status in sudo source package in Jammy:
  Confirmed
Status in ubuntustudio-default-settings source package in Jammy:
  In Progress

Bug description:
  See description below. As the driver manager is done inside software-
  properties-qt, it's basically the same bug, but now it's affected by
  something we can't exactly get into the mechanism of: plasma-
  discover's "Software Sources" link.

  Steps to recrate:

  1) Open Plasma-discover
  2) Go to Settings
  3) Under click on "Software Sources"
  4) Attempt to enter password

  Expected: Software properties opens

  Actual: Pkexec keeps asking for password.

  --

  Earlier description:

  The driver manager for both Ubuntu Studio and Kubuntu can no longer
  launch due to some updated security measures in PolicyKit.

  The original behavior was that systemsettings would open
  /usr/bin/ubuntustudio-driver-manager (or /usr/bin/kubuntu-driver-
  manger) via pkexec, which would then open software-settings-qt.
  Unfortunately, the new behavior does not act correctly to pkexec and
  pkexec does not see the user as available in the sudoers file.

  The only way around this was to pass "export DISPLAY=:0" inside the
  appropriate driver manager executable with the command "sudo software-
  properties-qt". The KCM itself needs to execute the driver-manager via
  xterm, which then prompts for a password. It's ugly, but it works.

  I will attach a debdiff for the kubuntu-settings package.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntustudio-default-settings 22.04.19 [modified: 
usr/share/sddm/themes/ubuntustudio/theme.conf]
  ProcVersionSignature: Ubuntu 5.15.0-22.22-lowlatency 5.15.19
  Uname: Linux 5.15.0-22-lowlatency x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
  ApportVersion: 2.20.11-0ubuntu79
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Thu Mar 17 12:19:44 2022
  InstallationDate: Installed on 2021-03-20 (361 days ago)
  InstallationMedia: Ubuntu-Studio 21.04 "Hirsute Hippo" - Alpha amd64 
(20210320)
  PackageArchitecture: all
  SourcePackage: ubuntustudio-default-settings
  UpgradeStatus: Upgraded to jammy on 2021-11-07 (130 days ago)
  modified.conffile..etc.skel..local.share.konsole.Profile: [deleted]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kdesu/+bug/1965439/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1964401] Re: Software Sources/software-properties-qt privilege escalation not accepting password

2022-05-26 Thread DR. VIMAL HURRY
*** This bug is a duplicate of bug 1965439 ***
https://bugs.launchpad.net/bugs/1965439

I'm having the same problem on both my desktop & laptop running Kubuntu
22.04. Sudo muon e.g. gets the job done (to change software sources) but
it is very irritating that the dialog box won't accept my password. I
never had this problem on Kubuntu 21.10. Please fix this bug as soon as
possible. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/1964401

Title:
  Software Sources/software-properties-qt privilege escalation not
  accepting password

Status in plasma-discover package in Ubuntu:
  Confirmed
Status in software-properties package in Ubuntu:
  Confirmed

Bug description:
  1) lsb_release -rd
  Description:Ubuntu Jammy Jellyfish (development branch)
  Release:22.04

  2) package version - apt-cache policy pkgname'

  plasma-discover:
Installed: 5.24.2.1-0ubuntu1

  software-properties-qt:
Installed: 0.99.19

  3) expected to happen
  * In Discover: Settings > Software Sources
  * opens a privilege escalation dialogue
  * enter user password
  * software-properties-qt opens

  4) happened instead
  * In Discover: Settings > Software Sources
  * opens a privilege escalation dialogue
  * insert known-correct user password
  * **does not accept known-correct user password**

  # Additional Info
  Note: described behaviour is for a post 20.04->22.04 devel daily upgrade 
found during a QA Testcase. Behaviour exists, but has slightly different 
symptoms in a virgin live 22.04 daily session (see below)

  * launching from terminal works as expected
  sudo software-properties-qt

  ## process & errors - post 20.04->22.04 devel daily upgrade
  * running Discover from terminal
$ plasma-discover

  * Settings > Software Sources 
  gives error on terminal:
  > org.kde.kdesu: Daemon not safe (not sgid), not using it.

  * insert known-correct user password
  gives error on terminal:
  > kf.su: [ ./src/stubprocess.cpp : 225 ]  Unknown request: "stop"
  > end

  * close password window
  gives error on terminal

  > Usage: /usr/lib/x86_64-linux-gnu/libexec/kf5/kdesu [options] command
  > Runs a program with elevated privileges.

  > Options:
  >   -h, --help Displays help on commandline options.
  > [...]

  ## process & errors - live Kubuntu 22.04 daily

  similar behaviour, hoever password-asking window never appears.
  Terminal errors differ from above:

  * Settings > Software Sources 
  gives error on terminal:
  > org.kde.kdesu: Daemon not safe (not sgid), not using it.
  >
  > Don't need password!!
  >
  >kf.su: [./src/stubprocess.cpp : 255 ]  Unknown request: "ok"
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu78
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2022-03-07 (2 days ago)
  InstallationMedia: Kubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 
(20210819.1)
  Package: plasma-discover 5.24.2.1-0ubuntu1
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
  Tags: jammy third-party-packages
  Uname: Linux 5.15.0-18-generic x86_64
  UpgradeStatus: Upgraded to jammy on 2022-03-07 (2 days ago)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plasma-discover/+bug/1964401/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp