Commit Graph

285 Commits

Author SHA1 Message Date
Amadeusz Piotr Żołnowski
bc1e02d4d4
Install 50-qubes-mem-hotplug.rules in /lib/udev instead of /etc/udev 2020-02-05 00:12:23 +00:00
Amadeusz Piotr Żołnowski
f76b30008f
Merge app-defaults and sys-defaults to config-overrides 2020-02-05 00:12:22 +00:00
Amadeusz Piotr Żołnowski
f5faa62876
Move qvm-console to core-admin-client repository 2020-02-04 23:59:09 +00:00
Amadeusz Piotr Żołnowski
4de377bc3b
Split items in misc directory by topic 2020-02-04 23:59:09 +00:00
Amadeusz Piotr Żołnowski
356c50035d
Remove dconfig-profile user as it is generated automatically
Arch, Deb package, RPM packages generate `/etc/dconf/profile/user`
rather than installing this one.
2020-02-04 23:59:08 +00:00
Amadeusz Piotr Żołnowski
ec7ae0bf40
Remove no longer needed xenstore-watch and close-window 2020-02-04 23:59:08 +00:00
Rusty Bird
686673e1fd
misc/qubes-run-gnome-terminal: slightly restrict pattern 2020-01-31 16:34:04 +00:00
Rusty Bird
9d9ef25b05
misc/qubes-run-gnome-terminal: avoid external utility (grep)
Shave off a few milliseconds.
2020-01-31 16:34:03 +00:00
Pawel Marczewski
3a6e77aa43
Add /etc/qubes/applications override, use it for gnome-terminal
Used by qubes.StartApp so that we can override distribution-provided
.desktop files. The mechanism is introduced to run gnome-terminal
with --wait option, so that it's compatible with DispVMs.

Fixes QubesOS/qubes-issues#2581.
2020-01-27 14:05:55 +01:00
Pawel Marczewski
943f37b481
Add qubes-run-gnome-terminal utility that uses --wait 2020-01-27 12:11:48 +01:00
Marek Marczykowski-Górecki
3c1de3b4f4
Merge remote-tracking branch 'origin/pr/207'
* origin/pr/207:
  qubes-run-terminal: use gnome-terminal --wait, if supported
2020-01-24 01:53:33 +01:00
Pawel Marczewski
6f4d6dc9bb
qubes-run-terminal: use gnome-terminal --wait, if supported
Fixes QubesOS/qubes-issues#4606.
2020-01-23 11:51:56 +01:00
Pawel Marczewski
22a309d154
qubes-session-autostart: handle error when reading a directory
Fixes QubesOS/qubes-issues#5043.
2020-01-15 11:20:21 +01:00
Patrick Schleizer
b20373213d
console=hvc0 must be last
https://github.com/QubesOS/qubes-issues/issues/5490#issuecomment-562263712
2019-12-07 16:56:53 +00:00
Marek Marczykowski-Górecki
e43e262b2d
Merge remote-tracking branch 'origin/pr/188'
* origin/pr/188:
  Use built-in rules in qubes-rpc makefile
  Ignore build result: tar2qfile
  Remove no longer needed xorg-preload-apps.conf
  Move qubes-rpc installation from the root Makefile to qubes-rpc Makefile
2019-10-21 00:45:47 +02:00
Amadeusz Piotr Żołnowski
6b0179c107
Remove no longer needed xorg-preload-apps.conf 2019-10-20 09:12:07 +01:00
Amadeusz Piotr Żołnowski
3152c609a9
Move qubes-rpc installation from the root Makefile to qubes-rpc Makefile
qubes-rpc has its own Makefile that's responsible for building some
executables. The root Makefile was installing qubes-rpc files. To make
qubes-rpc a bit more indepdent from core-agent root Makefile and to ease
potential maintainer work on packaging qubes-rpc separately, the
installation has been moved to qubes-rpc Makefile. Moreover that should
make the Makefiles easier to read and maintain.
2019-10-20 09:12:07 +01:00
Hans Jerry Illikainen
b9a5fb7e3f
qubes-download-dom0-updates: verify package signatures 2019-10-12 20:43:38 +00:00
Marek Marczykowski-Górecki
3c47a7890f
Merge branch 'fc31'
* fc31:
  rpm: switch deps to python3-setuptools on CentOS too
  debian: switch to python3
  Use spaces in xdg-icon script
  Convert other scripts to python3
  Convert qubesagent module to python3
  Minor codestyle fix in qubesadmin/firewall.py
  Require python setuptools
  Update python2 dependencies to python3 and clean deprecated requirements
2019-10-06 07:00:10 +02:00
Marek Marczykowski-Górecki
2dcaebd110
resize-rootfs: wait for partition table to reload
partprobe triggers reloading partition table, but apparently it isn't
guaranteed udev re-create device nodes at the time it finishes. This may lead
to /dev/mapper/dmroot pointing to nowhere. Fix this by calling udevadm settle
after reloading partition table.
2019-10-06 03:12:56 +02:00
Marek Marczykowski-Górecki
2dbdb1e66f
Fix misleading error message on rootfs resize
The partition being extended is in use and sfdisk can't reload such
partition table. Tell it to not even try, it will be done by partprobe
call below.
2019-09-30 04:03:06 +02:00
Marek Marczykowski-Górecki
a899adb69e
Convert qubesagent module to python3
This and all files using it.

QubesOS/qubes-issues#5297
2019-09-19 04:57:55 +02:00
Frédéric Pierret (fepitre)
310af146d5
Update python2 dependencies to python3 and clean deprecated requirements
QubesOS/qubes-issues#5289
QubesOS/qubes-issues#5297
2019-09-08 10:38:25 +02:00
Patrick Schleizer
5dbca47811
Mount /rw and /home with nosuid + nodev
implements https://github.com/QubesOS/qubes-issues/issues/5263
2019-08-28 11:01:09 +00:00
Marek Marczykowski-Górecki
347f98b8b6
dom0-updates: fix dnf.conf path
If dnf.conf is there, really use it instead of yum.conf.

Fixes 10399e8a "dom0-updates: improve dnf config handling"
2019-08-25 13:24:13 +02:00
Marek Marczykowski-Górecki
b1f4c97087
Merge remote-tracking branch 'origin/pr/176'
* origin/pr/176:
  Fix downloading dom0 updates on Debian
  dnf: clear updates-available flag when dnf update yields no updates
2019-08-11 06:53:55 +02:00
Frédéric Pierret (fepitre)
3c1381c29b
Add qvm-connect-tool to ease creating ad-hoc connections 2019-08-08 15:48:44 +02:00
Marek Marczykowski-Górecki
f2e2db5def
Merge remote-tracking branch 'origin/pr/175'
* origin/pr/175:
  yum-plugin-hooks: package only for CentOS 7
  yum-qubes-hooks: update with respect to dnf-qubes-hooks
2019-08-08 14:01:39 +02:00
Marek Marczykowski-Górecki
ca659ef6df
Fix downloading dom0 updates on Debian
When yumdownloader is used, it needs yum.conf. In Qubes 4.1 it isn't
there anymore, so symlink dnf.conf instead.

In Debian case, packages are downloaded directly to packages directory,
doesn't need to be extracted from cache. Redirect error message to
/dev/null for that.
2019-08-07 00:04:47 +02:00
Anastasia Cotorobai
2b54b245d6
yum-qubes-hooks: update with respect to dnf-qubes-hooks
Add call to postInstall script, notify condition/ add appmenu-sync and notify-updates to conf file
2019-08-06 21:48:49 +02:00
Marek Marczykowski-Górecki
40652b700b
dnf: clear updates-available flag when dnf update yields no updates
Fixes QubesOS/qubes-issues#2009
2019-08-03 04:10:47 +02:00
Marek Marczykowski-Górecki
69965213da
Merge remote-tracking branch 'origin/pr/173'
* origin/pr/173:
  use tor+http for onion
2019-08-02 05:12:33 +02:00
Patrick Schleizer
a6a8bc6754
use tor+http for onion 2019-07-22 15:34:16 +00:00
M. Vefa Bicakci
8db8d0cb3c
dom0-updates: Quote arguments
This commit makes the qubes-download-dom0-updates.sh script quote its
arguments before using them to avoid expanding wildcards (such as '*')
unintendedly.

Fixes QubesOS/qubes-issues#5096
2019-07-20 06:55:52 -04:00
Marek Marczykowski-Górecki
9ef52e4303
dom0-updates: fix cleaning downloaded packages
Since migration to dnf, remove dnf's cache too.

QubesOS/qubes-issues#4225
2019-06-17 19:54:44 +02:00
Frédéric Pierret (fepitre)
c476ae7cdb
qvm-console: handle non-default bash shell (Debian) 2019-06-16 00:37:59 +02:00
Marek Marczykowski-Górecki
b30e01632c
Merge branch 'r4.1-repos' 2019-06-09 17:11:49 +02:00
Frédéric Pierret (fepitre)
2b2752f936
Rename and fix from Marek's comments 2019-05-07 15:01:34 +02:00
Frédéric Pierret (fepitre)
3dddff532c
qvm-terminal: use usual '^]' as escape character 2019-05-05 14:51:18 +02:00
Frédéric Pierret (fepitre)
71989cf72d
Rename qvm-showterminal to qvm-terminal and add print_usage 2019-04-30 17:23:25 +02:00
Frédéric Pierret (fepitre)
95e2d11e61
Add qvm-showterminal 2019-04-30 11:42:38 +02:00
Marek Marczykowski-Górecki
4bb7bd9cdd
Update repositories to R4.1 2019-04-22 00:31:28 +02:00
Frédéric Pierret (fepitre)
94dad3640c
Use exec to ease systemd handling the tinyproxy process
From Marek's comments
2019-04-17 12:47:22 +02:00
Frédéric Pierret (fepitre)
0fd8da62b6
Handle tinyproxy path changed in upstream
Related commit 8d0ea71486
Fixes QubesOS/qubes-issues#4973 and QubesOS/qubes-issues#4929
2019-04-16 11:41:44 +02:00
Marek Marczykowski-Górecki
40a6c2b48f
Merge remote-tracking branch 'origin/pr/154'
* origin/pr/154:
  Add new onion addresses to repo lists
2019-04-12 05:06:25 +02:00
unman
8eb51542c5
Add new onion addresses to repo lists 2019-04-10 12:44:31 +00:00
Marek Marczykowski-Górecki
10399e8ab3
dom0-updates: improve dnf config handling
Dom0 may not sent /etc/yum.conf but only /etc/dnf/dnf.conf - handle this
case too. Since dom0 use dnf for a long time, prefer dnf.conf.

Not all versions of dnf supports cachedir option, so handle also the
case when it's set by default to /var/cache/dnf (instead of overriden
with /var/cache/yum with yum.conf). Simply look for packages in whole
/var/cache.

QubesOS/qubes-issues#4225
2019-04-01 18:45:40 +02:00
Marek Marczykowski-Górecki
9792438b3f
Use sfdisk instead of parted to resize root partition table
parted tries to load random data for possible partiont table UUID
generation, even though there is no need to generate new UUID. In case
of early VM startup, this is very undesirable as random entropy pool may
not be initialized yet, which will cause parted to block.

Use sfdisk instead, which doesn't try to do that. And also can relocate
backup GPT and resize partition in one go.

Fixes QubesOS/qubes-issues#4419
2019-02-24 03:12:14 +01:00
Marek Marczykowski-Górecki
75dd034ceb
Add qubes version to marker-vm file
QubesOS/qubes-issues#1963
2019-02-11 19:28:35 +01:00
Marek Marczykowski-Górecki
3b538df5d0
Merge remote-tracking branch 'origin/pr/151'
* origin/pr/151:
  Introduce /usr/share/qubes/marker-vm
2019-02-11 14:59:04 +01:00