The officially official Devuan Forum!

You are not logged in.

#1 2019-02-01 10:36:00

Geoff 42
Member
Registered: 2016-12-15
Posts: 265  

Beowulf - Policykit

Following the announcement about updated versions of policykit and friends having been put in Beowulf for testing purposes
https://lists.dyne.org/lurker/message/2 … 2b.en.html
I have now removed the pinning to the old ASCII versions and upgraded to these new testing versions. I believe that everything in my Beowulf VM is now from the Beowulf repositories. Is there an easy way to test this?

The initial report is that the basic stuff still seems to work, but KatolaZ has asked that the stuff round the edges is tested...

Geoff

Offline

#2 2019-02-01 12:37:40

dxrobertson
Member
Registered: 2017-05-04
Posts: 231  

Re: Beowulf - Policykit

I have removed my pin file and upgraded the policykit and polkit packages to beowulf.  I can report that initial testing all seems to be working. I can as normal user;  mount and write to usb, mount and write to other partitions, and can shutdown.  Will continue testing.

My package versions:

dxrobertson@acer:~$ apt list --installed | egrep "polkit|policykit"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libpolkit-agent-1-0/testing,now 0.105-25+devuan1 amd64 [installed]
libpolkit-backend-1-0/testing,now 0.105-25+devuan1 all [installed,automatic]
libpolkit-backend-elogind-1-0/testing,now 0.105-25+devuan1 amd64 [installed]
libpolkit-gobject-1-0/testing,now 0.105-25+devuan1 all [installed,automatic]
libpolkit-gobject-elogind-1-0/testing,now 0.105-25+devuan1 amd64 [installed,automatic]
libpolkit-qt5-1-1/testing,now 0.112.0-6 amd64 [installed,automatic]
lxqt-policykit/testing,now 0.13.0-1 amd64 [installed]
policykit-1/testing,now 0.105-25+devuan1 amd64 [installed,automatic]
dxrobertson@acer:~$ 

Clarification:  I can mount/unmount from within file manager pcmanfm-qt.  Wireless network working with NetworkManager.

Last edited by dxrobertson (2019-02-01 13:10:08)

Offline

#3 2019-02-01 13:11:32

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,134  

Re: Beowulf - Policykit

Get package name, version, archive

aptitude search ~i -F"%p# %v# %t#"

Offline

#4 2019-02-01 14:14:19

Geoff 42
Member
Registered: 2016-12-15
Posts: 265  

Re: Beowulf - Policykit

Thank you for those commands. All of my Policy kit stuff is from testing.

Looking at where all the packages come from, with fsmithred's command, nearly all are from testing, with just a few being labelled "now".  If I grep for not testing then I find :-

aptitude search ~i -F"%p# %v# %t#"|grep -v testing
clearlooks-phenix-darkpurpy-theme 7.0.2-1+devuan2.0 now
darkpurpy-icon-theme 1.0 now
desktop-base 1:2.0.3 now
devuan-baseconf 0.6.4+devuan2.3 now
gnome-icon-theme-extras 3.12.0-1 now
libupower-glib1 1:0.9.23-2+devuan1.3 now
upower 1:0.9.23-2+devuan1.3 now

These must have been pulled in from ASCII when I was installing the earlier policykit stuff.

I believe that Golinux is working on the theme for Beowulf.

There is a newer version of upower in testing but the version number is 0.99.9-3 and there is no matching version of the library. I recall that there was a problem as to which version number would be taken as higher if there is a "1:" in front.

Geoff

Offline

#5 2019-02-01 14:17:46

Geoff 42
Member
Registered: 2016-12-15
Posts: 265  

Re: Beowulf - Policykit

Whoops, I have just spotted that there is a newer version of the library libupower-glib3 with a version to match the newer upower.

I have now moved to the newer versions by using force-version in Synaptic, which refers to it as a downgrade!

Geoff

Last edited by Geoff 42 (2019-02-01 14:28:13)

Offline

#6 2019-02-01 15:35:12

xinomilo
Member
Registered: 2017-07-02
Posts: 65  

Re: Beowulf - Policykit

everything's working fine here with newer policykit (no ascii repos anymore).
just saw your post about upower, and will be trying that also soon.

Offline

#7 2019-02-06 14:31:49

xinomilo
Member
Registered: 2017-07-02
Posts: 65  

Re: Beowulf - Policykit

there's a bug with mate-power-manager and upower 0.99.9-3 in beowulf. there's no progress in battery (dis)charging. stuck in charged 100%, or "charging xx% time remaining xx:xx" without ever changing these values.
when upgraded to upower 1:0.9.23-2+devuan1.3 from ceres, this was fixed.
using mate-power-manager 1.20.0-1+hezeh1 from hezeh.org.

Offline

#8 2019-02-09 01:21:58

aut0exec
Member
Registered: 2018-11-21
Posts: 40  

Re: Beowulf - Policykit

xinomilo wrote:

everything's working fine here with newer policykit (no ascii repos anymore).
just saw your post about upower, and will be trying that also soon.

Noticed this on the laptops the other day when my hardware warning light started flashing even though the icon said 98%!


Thanks for posting the notice, I'll remove pinnings this weekend and see what happens in Cinnamon!

Offline

#9 2019-02-09 21:02:51

rolfie
Member
Registered: 2017-11-25
Posts: 174  

Re: Beowulf - Policykit

My Beowulf netinstall VM with lightdm/Mate works, no issues related to the policykit. i.e. I can call synaptic, work with USB on Mate, shutdown/reboot from Mate and lightdm.

Thanks, Rolf

Online

#10 2019-02-11 04:04:49

aut0exec
Member
Registered: 2018-11-21
Posts: 40  

Re: Beowulf - Policykit

Well news from Cinnamon. USB mount/umount from Nemo works however battery stats do not appear to be updating... Cinnamon icon in the bottom still stays stuck at whatever percentage the system starts up at regardless of charge changes (can watch changes occurring with upower from the CLI though).

Any thoughts on how to troubleshoot?

Offline

#11 2019-02-11 15:26:25

Geoff 42
Member
Registered: 2016-12-15
Posts: 265  

Re: Beowulf - Policykit

After a recent upgrade I have had some problems with some authentication. For example, selecting synaptic from the menu fails to run. I see in the thread about pkexec https://dev1galaxy.org/viewtopic.php?id=2667 that it is recommended to install  policykit-1-gnome. I have now done this and it has not caused any problems and I can run synaptic from the command line as synaptic-pkexec. I am still unable to run synaptic from the menu (using LXQt). Looking in /var/log/auth.log I can see that pkexec is complaining :-

The value for environment variable TERM contains suscipious content

In my window, $TERM is set to rxvt-unicode-256color. This doesn't look suspicious to me, but I am not pkexec! I wonder what it is picking up and what is wrong with it.
I have installed gparted and can run it from the command line but not from the menu, which gives the same error about TERM.

Geoff

Last edited by Geoff 42 (2019-02-11 15:29:58)

Offline

#12 2019-02-11 16:31:44

dxrobertson
Member
Registered: 2017-05-04
Posts: 231  

Re: Beowulf - Policykit

Geoff 42 wrote:

After a recent upgrade I have had some problems with some authentication. For example, selecting synaptic from the menu fails to run. I see in the thread about pkexec https://dev1galaxy.org/viewtopic.php?id=2667 that it is recommended to install  policykit-1-gnome. I have now done this and it has not caused any problems and I can run synaptic from the command line as synaptic-pkexec. I am still unable to run synaptic from the menu (using LXQt). Looking in /var/log/auth.log I can see that pkexec is complaining :-

The value for environment variable TERM contains suscipious content

In my window, $TERM is set to rxvt-unicode-256color. This doesn't look suspicious to me, but I am not pkexec! I wonder what it is picking up and what is wrong with it.
I have installed gparted and can run it from the command line but not from the menu, which gives the same error about TERM.

Geoff


Odd.  I am now having the very same problem, with synaptic, in LXQt.  Cant run from menu but can from terminal.  I just switched from using qterminal to using the old lxterminal.  Have the same error as you and same env value: TERM=xterm-256color.  I did not have this problem until I switched to lxterminal.  Will do some more research.

Offline

#13 2019-02-11 16:50:12

dxrobertson
Member
Registered: 2017-05-04
Posts: 231  

Re: Beowulf - Policykit

I reinstalled qterminal and ran with it as default terminal in Preferences>Session Settings>Default Applications; after a reboot, no more problems, can run synaptic and gpartd from menu.  The TERM env value for qterminal is the same as it was for lxterminal; TERM=xterm-256color.

Now, I noticed there is no selection for lxterminal in the Preferences>Session Settings>Default Applications.  So I manually changed <home>.config/lxqt/session.conf to:

TERM=LXTerminal

Rebooted, and all is ok now with using lxterminal; can run synaptic/gpartd from menu.

I think atleast for me the problem was not having a valid entry for TERM= in the <home>.config/lxqt/session.conf file.

Note I am using lxqt-policykit,

Last edited by dxrobertson (2019-02-11 17:06:27)

Offline

#14 2019-02-12 09:27:59

Geoff 42
Member
Registered: 2016-12-15
Posts: 265  

Re: Beowulf - Policykit

Thank you, I, too, now have it working.

My guess would be that pkexec/policykit is complaining about having a path in $TERM.

I opened the LXQt Configuration Centre and from there opened the Session Settings and in the Default Applications I set the Terminal Emulation to rxvt-unicode-256color (previously it was /usr/bin/rxvt). Then after I had logged out and back in, I was able to run Synaptic and Gparted from the menu. I then removed policykit-1-gnome and after logging out and in, it still all works.

As you say I have lxqt-policykit installed and ps reports that /usr/bin/lxqt-policykit-agent is running.

Geoff

Last edited by Geoff 42 (2019-02-12 09:29:55)

Offline

Board footer