[qubes-users] Re: HiDPI, Gnome/Gtk & debian-10-minimal

2021-01-14 Thread Sven Semmler

On 1/14/21 4:21 PM, Sven Semmler wrote:


Not sure where to go from here.


Can't seem to make it work on the plain debian templates. So my choices are:

a) debian-minimal based kicksecure
b) fedora-minimal

The reason I wanted to have "plain" debian-minimal was to get more 
minimal (less space / less stuff) as morphing into kicksecure adds quite 
some packages.


But now that I have tried fedora-minimal ... I have to say it is a LOT 
LESS minimal than debian-minimal just judging by size.


So back to kicksecure it is. I wish I new how to debug this and figure 
out what they have done to make it work that is missing in the debian 
templates.


Anyone?

/Sven

--
 public key: https://www.svensemmler.org/0x8F541FB6.asc
fingerprint: D7CA F2DB 658D 89BC 08D6 A7AA DA6E 167B 8F54 1FB6

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/81167e77-a3bc-1421-3913-5dbfdc685255%40SvenSemmler.org.


OpenPGP_signature
Description: OpenPGP digital signature


[qubes-users] Yum errors trying to update dom0 on Qubes 4.0

2021-01-14 Thread Miguel Jacq

Hi,

My 'Qubes Updates' notifier told me there were updates available for the 
dom0.

I tried running my usual command: 

qubes-dom0-update --enablerepo=qubes-dom0-security-testing --clean

but I am getting the error below. Any ideas? This is Qubes 4.0, and the 
Debian repository for my TemplateVMs is still working fine, successfully 
fetching some Xen updates on the securitytesting repo.

Thanks!

Log message:

Using sys-firewall as UpdateVM to download updates for Dom0; this may take 
some time...
Cleaning repos: fedora qubes-dom0-current qubes-dom0-security-testing
  : qubes-templates-itl updates
Cleaning up Everything
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in 
yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 288, in user_main
errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 140, in main
result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 436, in doCommands
self._getTs(needTsRemove)
  File "/usr/lib/python2.7/dist-packages/yum/depsolve.py", line 101, in 
_getTs
self._getTsInfo(remove_only)
  File "/usr/lib/python2.7/dist-packages/yum/depsolve.py", line 112, in 
_getTsInfo
pkgSack = self.pkgSack
  File "/usr/lib/python2.7/dist-packages/yum/__init__.py", line 892, in 

pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/dist-packages/yum/__init__.py", line 673, in 
_getSacks
self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/dist-packages/yum/repos.py", line 294, in 
populateSack
sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 168, in 
populate
if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 226, in 
_check_db_version
return repo._check_db_version(mdtype)
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 1268, in 
_check_db_version
repoXML = self.repoXML
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 1467, in 

repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 1459, in 
_getRepoXML
self._loadRepoXML(text=self)
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 1449, in 
_loadRepoXML
return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 1424, in 
_groupLoadRepoXML
if self._commonLoadRepoXML(text):
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 1242, in 
_commonLoadRepoXML
result = self._getFileRepoXML(local, text)
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 1020, in 
_getFileRepoXML
size=102400) # setting max size as 100K
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 835, in 
_getFile
result = self.grab.urlgrab(misc.to_utf8(relative), local,
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 531, in 

grab = property(lambda self: self._getgrab())
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 526, in 
_getgrab
self._setupGrab()
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 496, in 
_setupGrab
self._grab = mgclass(self._grabfunc, self.urls,
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 711, in 

urls = property(fget=lambda self: self._geturls(),
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 708, in 
_geturls
self._baseurlSetup()
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 654, in 
_baseurlSetup
mirrorurls.extend(list(self.metalink_data.urls()))
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 751, in 

metalink_data = property(fget=lambda self: self._getMetalink(),
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 738, in 
_getMetalink
self._metalink = metalink.MetaLinkRepoMD(result)
  File "/usr/lib/python2.7/dist-packages/yum/metalink.py", line 209, in 
__init__
max_connections = int(celem.get("maxconnections"))
TypeError: int() argument must be a string or a number, not 'NoneType'
qubes-dom0-current/metalink | 1.8 kB  
00:00 
Traceback (most recent call last):
  File "/usr/bin/yumdownloader", line 327, in 
util = YumDownloader()
  File "/usr/bin/yumdownloader", line 71, in __init__
self.main()
  File "/usr/bin/yumdownloader", line 94, in main
self.doUtilYumSetup(opts)
  File "/usr/bin/yumdownloader", line 296, in doUtilYumSetup
self._getSacks(archlist=archlist)
  File "/usr/lib/python2.7/dist-packages/yum/__init__.py", line 673, in 
_getSacks
self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/dist-packages/yum/repos.py", line 294, in 
populateSack
sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.7/dist-packages/yum/yumRepo.py", line 168, in 
populate

[qubes-users] Re: HiDPI, Gnome/Gtk & debian-10-minimal

2021-01-14 Thread Sven Semmler

On 1/13/21 9:11 PM, Sven Semmler wrote:
So my strategy is to see which additional packages kicksecure installs 
in the system.


Didn't work out. None of the packages that are not specific to 
kicksecure and are part of the normal debian repo fix the issue. Neither 
does debian-10 full.


Not sure where to go from here.

--
 public key: https://www.svensemmler.org/0x8F541FB6.asc
fingerprint: D7CA F2DB 658D 89BC 08D6 A7AA DA6E 167B 8F54 1FB6

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/96365e5d-8454-bb24-1591-69e897ec8780%40SvenSemmler.org.


OpenPGP_signature
Description: OpenPGP digital signature


[qubes-users] Re: HiDPI, Gnome/Gtk & debian-10-minimal

2021-01-14 Thread Sven Semmler

On 1/14/21 11:06 AM, Sven Semmler wrote:
Actually I am unsure about debian-10 ... but definitely kicksecure 
(debian based) and fedora.


Yup, debian-10 full also doesn't work.


Found this: https://github.com/QubesOS/qubes-issues/issues/4276


Ignore, this is unrelated.

--
 public key: https://www.svensemmler.org/0x8F541FB6.asc
fingerprint: D7CA F2DB 658D 89BC 08D6 A7AA DA6E 167B 8F54 1FB6

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e56aaf34-0d30-5309-697c-05c86f2058a3%40SvenSemmler.org.


OpenPGP_signature
Description: OpenPGP digital signature


Re: [qubes-users] Re: High dom0 CPU usage by qubesd

2021-01-14 Thread Vít Šesták
OK, reported, some optimization attempts included: 
https://groups.google.com/g/qubes-users/c/uTi3QHuhdy8

Also, I have some temptation to reimplement qubes-i3status as a Python 
wrapper around the original i3status. We would probably also resolve some 
other problems. For example, I had to fix reading of the battery status.

BTW, if you have ~25% CPU load, I guess you just have quad-core CPU (or 
maybe dual-core with hyperthreading).

Regards,
Vít Šesták 'v6ak'

On Wednesday, January 6, 2021 at 11:34:42 AM UTC+1 Jarrah wrote:

> This is some really nice tracing work. I'm sure it would be appreciated
> as an issue in the qubes-issues repository so it can be tracked properly.
>
> While I haven't gone to the same depth, I can confirm that `qubesd`
> jumps to ~25% CPU regularly on my (albeit much beefier) system with i3.
> This does correlate with qubes-i3status running on my system as well.
>
>
> As a temporary work around, you could modify the script
> (/usr/bin/qubes-i3status:123) to run every minute or longer. This would
> have the downside of the clock updating slower, but otherwise should not
> be a problem.
>
> Alternatively, if the number of running VMs doesn't interest you, you
> could comment out line 113 and modify 122 to suit this.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e3bcfe4b-2127-4d94-a3d0-07871ffbaf37n%40googlegroups.com.


[qubes-users] Re: HiDPI, Gnome/Gtk & debian-10-minimal

2021-01-14 Thread Sven Semmler

On 1/13/21 9:11 PM, Sven Semmler wrote:
That was with kicksecure (installed on top of debian-10-minimal by 
following https://www.whonix.org/wiki/Kicksecure/Debian) as well as

a full debian-10 and fedora-?? (long ago) template.


Actually I am unsure about debian-10 ... but definitely kicksecure 
(debian based) and fedora.


Today I will check my assumption by installing all the packets listed in 
my previous post (minus the kicksecure specific ones; will only use 
debian repo). If that fixes it, I'll narrow it down from there.


Found this:
https://github.com/QubesOS/qubes-issues/issues/4276

... who knows, maybe I can figure it out and even contribute a bit.

/Sven

--
 public key: https://www.svensemmler.org/0x8F541FB6.asc
fingerprint: D7CA F2DB 658D 89BC 08D6 A7AA DA6E 167B 8F54 1FB6

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/92480711-dbd3-e2a8-bcd8-8907a7cfc042%40SvenSemmler.org.


OpenPGP_signature
Description: OpenPGP digital signature