Commit Graph

2529 Commits

Author SHA1 Message Date
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
e024b195bc
rpm: switch deps to python3-setuptools on CentOS too
Since qubesagent module is py3 completely, switch dependency on CentOS
too.

Fixes QubesOS/qubes-issues#5290
2019-09-24 22:58:48 +02:00
Marek Marczykowski-Górecki
bee2e9667c
debian: switch to python3
QubesOS/qubes-issues#5297
2019-09-19 04:57:56 +02:00
Marek Marczykowski-Górecki
274c950af7
Use spaces in xdg-icon script 2019-09-19 04:57:55 +02:00
Marek Marczykowski-Górecki
5c9903db46
Convert other scripts to python3
QubesOS/qubes-issues#5289
2019-09-19 04:57:55 +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
Marek Marczykowski-Górecki
73648ca038
Minor codestyle fix in qubesadmin/firewall.py
Fix indentation, use double-quotes for docstrings.
2019-09-18 00:14:23 +02:00
Marek Marczykowski-Górecki
0c0149f361
Merge remote-tracking branch 'origin/pr/182'
* origin/pr/182:
  Make qvm-copy/move[-to-vm] one script
2019-09-10 02:39:07 +02:00
Marta Marczykowska-Górecka
dffe0b2f1a
Make qvm-copy/move[-to-vm] one script
Instead of two scripts calling one another, now it's
only one script, with added variable names inside for clarity.
Also hopefully finally fixes the help messages for good.

fixes QubesOS/qubes-issues#4058
2019-09-09 22:03:48 +02:00
Frédéric Pierret (fepitre)
0bb7463d8b
Require python setuptools
QubesOS/qubes-issues#5290
2019-09-08 10:38:28 +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
Marek Marczykowski-Górecki
017eecfbbf
Merge remote-tracking branch 'origin/pr/180'
* origin/pr/180:
  Mount /rw and /home with nosuid + nodev
2019-09-07 23:14:32 +02:00
Marek Marczykowski-Górecki
cd62ae693c
Merge remote-tracking branch 'origin/pr/179'
* origin/pr/179:
  NetworkManager config - Add dns=default
2019-09-07 23:14:07 +02:00
unman
e5e5dfb154
Fix typo
(cherry picked from commit 051afaabe9c71fe02fd2c33521d30c091cced6d6)
2019-09-07 23:11:42 +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
045653c966
version 4.1.4 2019-08-21 10:34:49 +02:00
Marek Marczykowski-Górecki
b3d3c2c98c
Disable boot.automount which is created by systemd automatically
systemd-gpt-auto-generator creates boot.automount for existing ESP
partition. But Qubes templates have only placeholder ESP there, with no
even filesystem created. Disable it with drop-in file, until it will
become used.

Fixes QubesOS/qubes-issues#5261
2019-08-20 16:37:23 +02:00
unman
3f11775899
NetworkManager config - Add dns=default 2019-08-16 14:21:13 +00:00
Marek Marczykowski-Górecki
c6f7984203
version 4.1.3 2019-08-11 07:26:02 +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
Marek Marczykowski-Górecki
ba8cad58c9
debian: depend on xen-utils-guest
Workaround for https://bugs.debian.org/922033
2019-08-11 04:38:36 +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
Frédéric Pierret (fepitre)
e27296da3c
Allow creating TCP sockets between qubes
QubesOS/qubes-issues#2148
2019-08-08 15:48:37 +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
Frédéric Pierret (fepitre)
865948db88
yum-plugin-hooks: package only for CentOS 7 2019-08-07 12:07:45 +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
Marek Marczykowski-Górecki
e3e1ed42b7
Merge remote-tracking branch 'origin/pr/172'
* origin/pr/172:
  dom0-updates: Quote arguments
2019-08-02 05:12:26 +02:00
Marek Marczykowski-Górecki
c783673e7f
Merge remote-tracking branch 'origin/pr/170'
* origin/pr/170:
  use long rather than short option names;
2019-08-02 02:43:41 +02:00
Marek Marczykowski-Górecki
c400f50eee
Merge remote-tracking branch 'origin/pr/167'
* origin/pr/167:
  use long options rather than short options
2019-08-02 02:37:36 +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
Patrick Schleizer
af28fc93d5
use long rather than short option names;
minor formatting
2019-07-14 08:32:37 +00:00
Patrick Schleizer
f1add4c506
use long options rather than short options
https://github.com/QubesOS/qubes-issues/issues/1130
2019-07-14 08:07:21 +00:00
Marek Marczykowski-Górecki
ec32be73ed
Specify expected shell in su calls
When calling su with a specific script, specify /bin/sh shell to be sure
to use posix compliant shell. User shell may not be a one (like fish).

Fixes QubesOS/qubes-issues#5135
2019-07-05 20:38:04 +02:00
Marek Marczykowski-Górecki
d2c28d12a2
Remove dead code 2019-07-05 20:35:31 +02:00
Marek Marczykowski-Górecki
da3c22b4a6
version 4.1.2 2019-06-27 01:07:20 +02:00
Marek Marczykowski-Górecki
ba702a0fd6
Merge remote-tracking branch 'origin/pr/163'
* origin/pr/163:
  init/functions: better not use ipcalc which is not present on minimal distro
  Handle errors for non-present ip gateways
  Better use '-z' and '-n' for readibility
  init/functions: handle non-present /qubes-mac qubesdb and check if iface exists
  configure_network: use classical function parsing
  Handle legacy non-present /qubes-mac qubesdb entry
  Refactor and handle new network qubesdb configuration
2019-06-25 04:27:06 +02:00
Marek Marczykowski-Górecki
91436a2887
Delay qubes-sync-time service after qrexec is started
The qubes-sync-time needs qrexec running to work, so set start order
appropriately.
2019-06-25 04:19:56 +02:00
Frédéric Pierret (fepitre)
3f5dc53d75
init/functions: better not use ipcalc which is not present on minimal distro 2019-06-23 09:59:37 +02:00
Frédéric Pierret (fepitre)
dba1020b4c
Handle errors for non-present ip gateways 2019-06-22 17:40:25 +02:00
Frédéric Pierret (fepitre)
cf03ae3e2a
Better use '-z' and '-n' for readibility 2019-06-20 16:32:08 +02:00
Frédéric Pierret (fepitre)
967060eb32
init/functions: handle non-present /qubes-mac qubesdb and check if iface exists 2019-06-20 16:09:24 +02:00
Frédéric Pierret (fepitre)
aa7ab25a78
configure_network: use classical function parsing 2019-06-19 21:10:00 +02:00
Frédéric Pierret (fepitre)
1c54101663
Handle legacy non-present /qubes-mac qubesdb entry 2019-06-19 19:21:38 +02:00
Frédéric Pierret (fepitre)
325eff2b13
Refactor and handle new network qubesdb configuration 2019-06-18 18:49:42 +02: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