desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #145817
[Bug 1510824] [NEW] PolkitAgentSession ignores multiline output (with pam_vas)
Public bug reported:
There is an error observed when Ubuntu is configured to perform
authentication via pam_vas (Vintela Authentication Services by Dell) in
a disconnected mode (using cached authentication).
Steps to reproduce:
1. Configure pam_vas client authenticating to a remote server.
2. Perform authentication to cache the credentials.
3. Disconnect from the network where the server is reachable (to force using cached information).
4. Perform an action requiring polkit authentication.
Expected result:
Authentication succeeds accompanied by the following message "You have logged in using cached account information. Some network services will be unavailable".
Actual result:
Authentication fails accompanied by the following message "You have logged in using cached account information. Some network services will be unavailable".
Probable cause:
The PolkitAgentSession part of polkit is designed to interpret only 1-line output, while interaction with pam_vas in the above scenario triggers helper to produce the following 2-line output:
PAM_TEXT_INFO You have logged in using cached account information. Some network services will be unavailable
SUCCESS
The 'SUCCESS' part is never read so the authentication never ends
successfully.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: policykit-1 0.105-4ubuntu2.14.04.1
ProcVersionSignature: Ubuntu 3.16.0-52.71~14.04.1-generic 3.16.7-ckt18
Uname: Linux 3.16.0-52-generic x86_64
NonfreeKernelModules: nvidia zfs zunicode zcommon znvpair zavl
ApportVersion: 2.14.1-0ubuntu3.18
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Oct 28 09:01:37 2015
InstallationDate: Installed on 2015-04-13 (197 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: policykit-1
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: policykit-1 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug sts trusty
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to policykit-1 in Ubuntu.
https://bugs.launchpad.net/bugs/1510824
Title:
PolkitAgentSession ignores multiline output (with pam_vas)
Status in policykit-1 package in Ubuntu:
New
Bug description:
There is an error observed when Ubuntu is configured to perform
authentication via pam_vas (Vintela Authentication Services by Dell)
in a disconnected mode (using cached authentication).
Steps to reproduce:
1. Configure pam_vas client authenticating to a remote server.
2. Perform authentication to cache the credentials.
3. Disconnect from the network where the server is reachable (to force using cached information).
4. Perform an action requiring polkit authentication.
Expected result:
Authentication succeeds accompanied by the following message "You have logged in using cached account information. Some network services will be unavailable".
Actual result:
Authentication fails accompanied by the following message "You have logged in using cached account information. Some network services will be unavailable".
Probable cause:
The PolkitAgentSession part of polkit is designed to interpret only 1-line output, while interaction with pam_vas in the above scenario triggers helper to produce the following 2-line output:
PAM_TEXT_INFO You have logged in using cached account information. Some network services will be unavailable
SUCCESS
The 'SUCCESS' part is never read so the authentication never ends
successfully.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: policykit-1 0.105-4ubuntu2.14.04.1
ProcVersionSignature: Ubuntu 3.16.0-52.71~14.04.1-generic 3.16.7-ckt18
Uname: Linux 3.16.0-52-generic x86_64
NonfreeKernelModules: nvidia zfs zunicode zcommon znvpair zavl
ApportVersion: 2.14.1-0ubuntu3.18
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Oct 28 09:01:37 2015
InstallationDate: Installed on 2015-04-13 (197 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: policykit-1
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1510824/+subscriptions
Follow ups
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Launchpad Bug Tracker, 2015-12-02
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Launchpad Bug Tracker, 2015-12-02
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Launchpad Bug Tracker, 2015-12-02
-
[Bug 1510824] Update Released
From: Chris J Arges, 2015-12-02
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Dariusz Gadomski, 2015-11-26
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Martin Pitt, 2015-11-25
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Istvan, 2015-11-25
-
[Bug 1510824] Please test proposed package
From: Chris J Arges, 2015-11-24
-
[Bug 1510824] Please test proposed package
From: Chris J Arges, 2015-11-24
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Chris J Arges, 2015-11-24
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Launchpad Bug Tracker, 2015-11-23
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Martin Pitt, 2015-11-23
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Martin Pitt, 2015-11-23
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Mathew Hodson, 2015-11-20
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Dariusz Gadomski, 2015-11-20
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Dariusz Gadomski, 2015-11-20
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Dariusz Gadomski, 2015-11-20
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Dariusz Gadomski, 2015-11-20
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Bug Watch Updater, 2015-11-20
-
[Bug 1510824]
From: Miloslav Trmac, 2015-11-20
-
[Bug 1510824]
From: Dariusz Gadomski, 2015-11-20
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Bug Watch Updater, 2015-11-13
-
[Bug 1510824]
From: Dariusz Gadomski, 2015-11-13
-
[Bug 1510824]
From: Dariusz Gadomski, 2015-11-13
-
[Bug 1510824]
From: Dariusz Gadomski, 2015-11-13
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Bug Watch Updater, 2015-11-11
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (as observed with pam_vas)
From: Dariusz Gadomski, 2015-11-10
-
[Bug 1510824] Re: PolkitAgentSession incorrectly handles multiline output (with pam_vas)
From: Dariusz Gadomski, 2015-11-10
-
[Bug 1510824] Re: PolkitAgentSession ignores multiline output (with pam_vas)
From: Dariusz Gadomski, 2015-10-28
-
[Bug 1510824] Re: PolkitAgentSession ignores multiline output (with pam_vas)
From: Dariusz Gadomski, 2015-10-28
-
[Bug 1510824] Re: PolkitAgentSession ignores multiline output (with pam_vas)
From: Louis Bouchard, 2015-10-28