[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-11-04 Thread Thomas
I am still having this bug. apport-cli --version 2.20.11 pkexec --version pkexec version 0.105 user2@computer:~/cm$ pkexec bash AUTHENTICATING FOR org.freedesktop.policykit.exec === Authentication is needed to run `/usr/bin/bash' as the super user Multiple identities can be used for

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-05-06 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.11-0ubuntu27.17 --- apport (2.20.11-0ubuntu27.17) focal; urgency=medium * data/general-hooks/ubuntu.py: tag bugs from Raspberry Pi images and RISCV images appropriately. (LP: #1920837) * apport/hookutils.py: spawn pkttyagent so

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-05-06 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.11-0ubuntu50.6 --- apport (2.20.11-0ubuntu50.6) groovy; urgency=medium * data/general-hooks/ubuntu.py: tag bugs from Raspberry Pi images and RISCV images appropriately. (LP: #1920837) * apport/hookutils.py: spawn pkttyagent so

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-04-29 Thread Brian Murray
With the version of apport from focal-proposed this is also now fixed. bdmurray@clean-focal-amd64:~$ apt policy apport apport: Installed: 2.20.11-0ubuntu27.17 Candidate: 2.20.11-0ubuntu27.17 Version table: *** 2.20.11-0ubuntu27.17 500 500 http://192.168.10.7/ubuntu

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-04-29 Thread Brian Murray
With the version of apport from groovy-proposed this is now fixed. bdmurray@clean-groovy-amd64:~$ apt-cache policy python3-apport python3-apport: Installed: 2.20.11-0ubuntu50.6 Candidate: 2.20.11-0ubuntu50.6 Version table: *** 2.20.11-0ubuntu50.6 500 500

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-04-29 Thread Ɓukasz Zemczak
Hello Brian, or anyone else affected, Accepted apport into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apport/2.20.11-0ubuntu50.6 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-04-26 Thread Brian Murray
** Description changed: - The plymouth apport source package hooks wants to gather log files as - the root user and apport provides a policy kit policy for collecting - that information. This works fine in a graphical environment but not in - a non-graphical one. + [Impact] + The plymouth apport

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-04-26 Thread Brian Murray
** Also affects: apport (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: policykit-1 (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: apport (Ubuntu Groovy) Importance: Undecided Status: New ** Also affects: policykit-1 (Ubuntu

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-04-08 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.20.11-0ubuntu62 --- apport (2.20.11-0ubuntu62) hirsute; urgency=medium * apport/hookutils.py: spawn pkttyagent so that log files can be gathered as root in a non-graphical environment (LP: #1821415). Thanks to Iain Lane for the

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-04-07 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/hirsute/apport/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821415 Title: pkexec fails in a non-graphical environment To manage notifications

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-04-06 Thread Iain Lane
(but I asked for some input there from an apport maintainer, it could be better than I did it) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821415 Title: pkexec fails in a non-graphical

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-04-06 Thread Iain Lane
See the attached branch, it's a fix for this in apport. ** Branch linked: lp:~laney/apport/pkttyagent -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821415 Title: pkexec fails in a non-graphical

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-04-06 Thread Iain Lane
I don't think we would want to carry the proposed patch as a distro patch. So as long as polkit doesn't have direct support for this, apport should do as systemd does, and spawn pkttyagent (--fallback) itself. I'll try quickly now to work on an initial patch for this. ** Changed in: policykit-1

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-03-22 Thread Brian Murray
** Tags added: rls-hh-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821415 Title: pkexec fails in a non-graphical environment To manage notifications about this bug go to:

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2021-01-04 Thread Kees Bakker
Can we raise the importance please? It is quite essential to let unprivileged users run certain commands, even if there is not GUI. Also, it is very confusing when everything is configured correctly, plus the password is correct, and then to get the message "Not authorized", "This incident has

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2020-10-14 Thread Matthieu Clemenceau
** Tags added: fr-279 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821415 Title: pkexec fails in a non-graphical environment To manage notifications about this bug go to:

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2020-08-07 Thread Timo Aaltonen
sru upload for bionic: needs sru template, and the bug doesn't seem fixed in newer releases? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821415 Title: pkexec fails in a non-graphical environment

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-06-27 Thread TJ
Lubuntu is suffering what seems to be a related failure although I tracked that down to what I thought was a different upstream bug report. In Lubuntu's case the lxqt-policykit-agent suffers a SIGSEGV as a side- affect (I think) of polkit failing to authorise. It was originally discovered when,

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-05-09 Thread Brian Murray
** Also affects: apport (Ubuntu) Importance: Undecided Status: New ** Changed in: apport (Ubuntu) Status: New => Triaged ** Changed in: apport (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-05-08 Thread Francis Ginther
** Tags added: id-5cd1bf5c8a064c7e9fa14a52 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821415 Title: pkexec fails in a non-graphical environment To manage notifications about this bug go to:

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-05-07 Thread Brian Murray
The plymouth package hook is using apport's "attach_root_command_outputs" function that same function is also used by the following package hooks: lightdm, shim-signed, ubuntu-release- upgrader, update-manager, synaptic, upgrade-system and all the xorg hooks. So it may be worth working around this

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-05-07 Thread Sebastien Bacher
We reviewed it in the team meeting, while it would be nice to fix we don't believe it's an usecase common/important enough to justify team assignment & tracking, tagging rls-ee-notfixing ** Tags removed: rls-ee-incoming ** Tags added: rls-ee-notfixing -- You received this bug notification

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-05-03 Thread Sebastien Bacher
** Changed in: policykit-1 (Ubuntu) Importance: Undecided => Low ** Changed in: policykit-1 (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821415 Title:

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-05-03 Thread Brian Murray
** Tags added: rls-ee-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821415 Title: pkexec fails in a non-graphical environment To manage notifications about this bug go to:

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-04-01 Thread Brian Murray
** Description changed: The plymouth apport source package hooks wants to gather log files as the root user and apport provides a policy kit policy for collecting that information. This works fine in a graphical environment but not in a non-graphical one. + + N.B. you first need to

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-04-01 Thread Andrea Azzarone
I proposed a fix upstream [1]. A workaround can be added to apport to workaroud this while polkit is fixed upstream: we could for example spawn pkttyagent manually (a similar approach is used by systemd). [1] https://gitlab.freedesktop.org/polkit/polkit/merge_requests/28 -- You received this

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-03-26 Thread Will Cooke
Marking as notfixing for release. This doesn't mean that it won't get worked on, and Andrea might have an idea what's going on here, but we won't block release on this bug. ** Tags removed: rls-dd-incoming ** Tags added: rls-dd-notfixing ** Tags added: desktop-trello-import -- You received

[Bug 1821415] Re: pkexec fails in a non-graphical environment

2019-03-22 Thread Bug Watch Updater
** Changed in: policykit-1 Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821415 Title: pkexec fails in a non-graphical environment To manage notifications about this