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
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
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
3a1f0a7b1f
version 4.1.1
2019-06-09 18:35:55 +02:00
Marek Marczykowski-Górecki
b30e01632c
Merge branch 'r4.1-repos'
2019-06-09 17:11:49 +02:00
Marek Marczykowski-Górecki
152cec3e2d
version 4.1.0
2019-06-08 05:45:54 +02:00
Marek Marczykowski-Górecki
4cc9ae5a1d
rpm,deb: add Conflicts: qubes-gui-agent < 4.1.0
...
This version will not work with qubes-gui-agent not supporting -d
option.
QubesOS/qubes-issues#2619
2019-06-08 05:36:40 +02:00
Marek Marczykowski-Górecki
f3b8298081
Merge remote-tracking branch 'origin/pr/118'
...
* origin/pr/118:
Pass GUI domain id to GUI agent
2019-06-08 05:32:14 +02:00
Marek Marczykowski-Górecki
08a853b960
Merge branch 'remove-qrexec'
...
* remove-qrexec:
travis: update for R4.1
Remove qrexec-agent related files
2019-06-06 23:20:11 +02:00
Frédéric Pierret (fepitre)
e2a33e69e3
Handle empty ip and vif_type
2019-05-30 15:31:57 +02:00
Frédéric Pierret (fepitre)
73ed5e85fc
Handle network hooks located in /rw/config/network-hooks.d
...
Example:
/rw/config/network-hooks.d/test.sh
\#!/bin/bash
command="$1"
vif="$2"
ip="$3"
if [ "$ip" == '10.137.0.100' ]; then
case "$command" in
online)
ip route add 192.168.0.100 via 10.137.0.100
;;
offline)
ip route del 192.168.0.100
;;
esac
fi
2019-05-30 11:40:40 +02:00
Marek Marczykowski-Górecki
da33d87c23
Merge remote-tracking branch 'qubesos/pr/159'
...
* qubesos/pr/159:
setup-ip: handle default conf if /qubes-mac returns empty value
setup-ip: only assign IP configuration of Qubes managed iface
Handle default value for get_iface_from_mac
Handle default value for get_qubes_managed_iface
Make ShellCheck happy
Handle non-default 'eth0' Qubes managed interface
2019-05-25 22:46:28 +02:00
Frédéric Pierret (fepitre)
27fddadc22
setup-ip: handle default conf if /qubes-mac returns empty value
2019-05-21 17:32:09 +02:00
Frédéric Pierret (fepitre)
f7dd41206d
setup-ip: only assign IP configuration of Qubes managed iface
2019-05-21 17:21:51 +02:00
Frédéric Pierret (fepitre)
902da9f837
Handle default value for get_iface_from_mac
2019-05-21 17:21:51 +02:00
Frédéric Pierret (fepitre)
da162d7615
Handle default value for get_qubes_managed_iface
2019-05-21 17:21:51 +02:00
Frédéric Pierret (fepitre)
b18efe3257
Make ShellCheck happy
2019-05-21 17:21:51 +02:00