Commit Graph

1367 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
ccc3d43963
Move .desktop launching code to python moules so it can be reused
(cherry picked from commit d710970e4d)
2015-09-28 00:38:59 +02:00
Marek Marczykowski-Górecki
1ac66136ac
debian: remove Recommends: chrony
It isn't used anywhere - we only call `ntpdate` as part of
qubes.SyncNtpTime.

If user want to install it, he/she is free to do that.

(reported by @adrelanos)
Fixes qubesos/qubes-issues#1102

(cherry picked from commit af03300b3a)

Conflicts:
	debian/control
2015-09-28 00:38:59 +02:00
Jason Mehring
be49fbe745
debian: Reformat depends in control for better readability
(cherry picked from commit e2b4961c5b)

Conflicts:
	debian/control - updated to match R2 dependencies
2015-09-28 00:33:31 +02:00
Marek Marczykowski-Górecki
fb5e8e85c5
qubes-desktop-run: start the Dbus service (if needed)
Much tidier way to solve the issue, provided by @Unman.

qubesos/qubes-issues#1031

(cherry picked from commit 93e090469c)
2015-09-28 00:27:16 +02:00
Jason Mehring
e5e01ba89a
debian: Renamed incorrect filename: 00notiy-hook -> 00notify-hook
(cherry picked from commit 15f1df4947)
2015-09-28 00:03:28 +02:00
Patrick Schleizer
191076ba74
also inform in cli if no new updates are available
(cherry picked from commit e1e5162720)
2015-09-28 00:03:00 +02:00
Marek Marczykowski-Górecki
9a142fb654
version 2.1.66 2015-07-17 16:11:50 +02:00
Marek Marczykowski-Górecki
c3e4d0fd64
fedora: ensure that /etc/sysconfig/iptables exists (Fedora 20)
Even when iptables.service is configured to use different file, the
service would not start when there is no /etc/sysconfig/iptables. Fedora
20 package does not provide it.

(cherry picked from commit 3aca3f8c48)
2015-07-17 16:08:33 +02:00
Marek Marczykowski-Górecki
158500fbc4 version 2.1.65 2015-06-23 20:12:30 +02:00
Marek Marczykowski-Górecki
1a2f283931 Do not override file pointed by /etc/localtime symlink
On Fedora 21 (and probably others) /etc/localtime is no longer file
copy, but a symlink to original timezone file. Using `cp` to change
timezone here would override original file instead of just changing the
timezone.

Details:
https://groups.google.com/d/msgid/qubes-users/4a0de9457e08b93d1a39ac4cdbc6b632%40ruggedinbox.com
(cherry picked from commit 549761a144)
2015-06-23 20:12:20 +02:00
Marek Marczykowski-Górecki
4a3a53ae74 dom0-updates: make the tool working on Debian
Restore support for older yum: no --downloadonly option, so use
yumdownloader.
Also add some a code to handle some Debian quirks - especially default
rpmdb location in user home...

(cherry picked from commit 3fdb67ac2b)

Conflicts:
	debian/control
	misc/qubes-download-dom0-updates.sh
2015-06-23 20:12:18 +02:00
Marek Marczykowski-Górecki
4b8e6b8cff fedora, debian: make sure that default locale is generated
Otherwise some GUI applications would not start.

(cherry picked from commit b368ffe5c6)
2015-06-23 20:08:29 +02:00
Marek Marczykowski-Górecki
556293a8a2 rpm: improve setting iptables rules
Instead of overriding /etc/sysconfig/ip{,6}tables, store qubes rules in
/etc/sysconfig/iptables.qubes and configure the service to use that file
instead. This will prevent conflict on that file and also handle upgrades.

(cherry picked from commit 0382f84eae)

Conflicts:
	rpm_spec/core-vm.spec
2015-06-23 20:08:26 +02:00
Marek Marczykowski-Górecki
8ceff72810 version 2.1.64 2015-06-11 04:05:51 +02:00
Marek Marczykowski-Górecki
dd61c3a901 Tag for commit e4445855ac
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJVeKZ1AAoJEBu5sftaTG2tB5UP/0ZvsGpixgfFb8VV6jbor320
 pejrxHsa5IBpvrlUE7JPQ2+TAKwQUZ7BIlYlHHU49vHzejpTd7rAEOnIUg5o6gml
 ViEo2KociGsK6kwZgV2lTbr0yM9i5DEUhp+c+uf5QJr73rSfMWYIbpJLNjNEk3ri
 vduL9CfcGiNApABT6YreTlBU5/utr6zoQDij3Wu8XV5/uPcoohnTezr3AuA8id6W
 2PWHSuvu73szv5etE19iIbXundwmISgMwwsQ9baCqI+Qbithg0ANDyrlWlN2v0V9
 mOnJBBJlhFEKfRtnDwtOJAmZGGKbSJBdndXyn6w+KBAJhBlpFa5Xob5DF9ZSLJdm
 t91O5wIgInPmroalX+IRkwGSTdOirUs2gOXU+3pdUYgSe5hSKdnHRKuUzBWzJ8X0
 rCsrp8eIFfxOjde+zO6QnXNTMkaNxFTPRlZ5IzCYw8jW6aNoX4WLHg+am9i6BcbD
 5XgzxvS66g+fETqMBce2gZeDOyIeO/Qd/8ab3MyjmH8+BXbe0opUA0dNVBbsLHrG
 js5vsev7mLH8tiFu7vPdxvlWftyf0xfQtHpMkUcDQKEt/Vkq+9A9tmDCRIaHKnZm
 GOEX1CVf0yHcRlwpEWd29ctYLtJClUqyi1E2H88grc/59rzUUCTB/BBVUv4mojdt
 QfggjOjV+/qPrmv6lD4Q
 =VmGJ
 -----END PGP SIGNATURE-----

Merge tag 'jm_e4445855' into release2

Tag for commit e4445855ac

# gpg: Signature made Wed 10 Jun 2015 11:04:53 PM CEST using RSA key ID 5A4C6DAD
# gpg: Good signature from "Jason Mehring (Qubes OS Signing Key) <nrgaway@gmail.com>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: E0E3 2283 FDCA C1A5 1007  8F27 1BB9 B1FB 5A4C 6DAD

* tag 'jm_e4445855':
  Set a default locale if missing
2015-06-11 04:05:30 +02:00
Jason Mehring
e4445855ac
Set a default locale if missing 2015-06-10 17:04:45 -04:00
Marek Marczykowski-Górecki
a1a6a0c9b4 version 2.1.63 2015-06-08 08:48:02 +02:00
Marek Marczykowski-Górecki
fbfa79529b debian: fix apt sources.list generation (missing debian version field)
Add Build-Depends: lsb-release, which is used for that.
2015-06-08 08:45:25 +02:00
Marek Marczykowski-Górecki
80c78133c2 version 2.1.62 2015-06-02 11:21:05 +02:00
Marek Marczykowski-Górecki
846bdd11f8 rpm: mark service files as configuration to not override user changes
(cherry picked from commit 447bb4cd9c)
2015-05-16 00:57:44 +02:00
Marek Marczykowski-Górecki
ead7405b94 appmenus: hide message about missing /usr/local/share/applications
Debian template doesn't have this directory by default.

(cherry picked from commit 6c288d0ac2)
2015-05-16 00:57:27 +02:00
Marek Marczykowski-Górecki
370529b24f Tag for commit faf20db7ac
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJVQ0GkAAoJEBu5sftaTG2tlMUQAKTq+kKcnB3TG42jfVUU82lM
 5VV6u+uXhEnSJXfyP7iyJuiWixYjF8/0VuXMZAVUpZFpmkQouNZZMJBEAeE4u9Qc
 O07BQLyGUgnNydl4zD/SeHQUnfoC4JeQ1cKEdPQFtbERTFE5xs6+mpzaRtNTstgl
 f9DKNvSEJnYS5TK4OOTr2cR7xkawmhaC0bnRpO5edGvDaCkiJgOby6kqgd5U4IlU
 taDvvCSbtGtKhOBbicPbWf8U/o9iZcsBQ8unitX3gkUvD/fj7zcdz8L3Llis19Oe
 7GTJcyryrq9V0Uqtxj+HO07TXsv8C9YuaX40fX5MuiNdpxC4msPSau4K0Fi22003
 JPVhQuW58e45B23acMxCf/gAqEIYw0dyNbqVh8zBmjPHyqPo3yoldmjUpsk9ibn8
 uV6cwUtBE0d2qa5wcR6RpcGOMu8TnhFG2mHA+dSp1hPz6VYat+LC+yWn/O9A3nhh
 9TIJ5T48b140rO3MjktGCB6D8pj2lbCbDp89J+L+WNVTEbVoqywztVUd8T/d0NYj
 lx/2KeAjzehyYJlq8ZDAycgjiGS6x8WVLDhOltOl8UoU5c9Pzd3dWPKceRgE/ae8
 1xKwCrekansig9kGd1CqqqcPB/3lsO0RVkSW561hWOiC0iEhciYNj8/4KJpLfhVD
 JfhWlZkm7LiLioGRtpP7
 =lSMY
 -----END PGP SIGNATURE-----

Merge tag 'jm_faf20db7' into release2

Tag for commit faf20db7ac

# gpg: Signature made Fri 01 May 2015 11:04:36 AM CEST using RSA key ID 5A4C6DAD
# gpg: Good signature from "Jason Mehring (Qubes OS Signing Key) <nrgaway@gmail.com>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: E0E3 2283 FDCA C1A5 1007  8F27 1BB9 B1FB 5A4C 6DAD

* tag 'jm_faf20db7':
  debian: Allow apt-get post hook to fail gracefully (won't work in chroot)
  debian: Only notify dom0 on apt-get post hook; don't update package index
2015-05-10 04:22:27 +02:00
Jason Mehring
faf20db7ac
debian: Allow apt-get post hook to fail gracefully (won't work in chroot) 2015-05-01 05:04:17 -04:00
Jason Mehring
d39112fa8c
debian: Only notify dom0 on apt-get post hook; don't update package index
There is a possiblilty of the apt-get post hook getting triggered
more than once for each apt-get session, therefore we only notify
dom0 that there are no updates available and do not perform an
apt-get update.

The qubes-update-check.service will still perform an update so even
if the dist-upgrade failed and there was actually more files to update
the qubes-update-check.serivce would then at some point notify dom0
about those updates being available
2015-05-01 01:42:48 -04:00
Marek Marczykowski-Górecki
fc623f8586 version 2.1.61 2015-04-28 03:19:31 +02:00
Marek Marczykowski-Górecki
45ecc7a256 Tag for commit bbcfdd4c90
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJVPJPkAAoJEBu5sftaTG2tTYcP/1fVgOL+VyvE3WLMn+8kql5q
 Nt4kLazCSUUQGKL3XIKf53RsQACbWPVPB+47Fzak9Jmr4ta8c4Q18ZfCdQ4mHUfJ
 r2z2VowmqEvqn2WYPfypqC4Z0sGUpRAVSpMN0lhEsSVtBHDwDanNAA2K2sSqLWfb
 591D38IiEzkFTMa/fv+4J9DBuPkByBWgHBjFwPGBPyiJl8yEls86yytiopzmGndM
 b3CeSUAphp17R1NLael8yTQYJG+NpwAvB17CYw7WTpzSE7601gxsN50nGI/okFt/
 guLLcJtx9jMTC/O2VpyBYNs7Hc9iPnL1DO+n3jdI8V30Lvs9RJJP+BEq6/OfjzpK
 mAo/x2pHjCPcwkOKoiXMpzoQk8C0aKii9cEElnmcOtzb/czhRinYjseu5pxFekAX
 oJRyQBkf12T0Kc06139vw9c4nyiiHb3lowOLoeoDnA2V1cD2kYFFnzilAXNhPLMW
 /H5o6ACqMWoxI+NcOBwyu79LZVWxhI5MPawRNlFPZlgrkUaewYWsz2oI1FruW/Y2
 Aai2UMgHZk0hNrzErNZ1kUg5cfnspD1lQ3haXDHZ+j/0EQJTDbvrR2+qOoC/lLMG
 ak/q9rOy8ThCuG5eGOyhrZCHvm0gxqx2YddIJmX/CE4tK8GzXABJrODZUPQe6Fz1
 EZLvVcI9YO5vd0aRtKrT
 =o9uA
 -----END PGP SIGNATURE-----

Merge tag 'jm_bbcfdd4c' into release2

Tag for commit bbcfdd4c90

# gpg: Signature made Sun Apr 26 09:29:40 2015 CEST using RSA key ID 5A4C6DAD
# gpg: Good signature from "Jason Mehring (Qubes OS Signing Key) <nrgaway@gmail.com>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: E0E3 2283 FDCA C1A5 1007  8F27 1BB9 B1FB 5A4C 6DAD

* tag 'jm_bbcfdd4c':
  debian: Update notification now notifies dom0 when an upgrade is completed
2015-04-28 03:07:12 +02:00
Jason Mehring
bbcfdd4c90
debian: Update notification now notifies dom0 when an upgrade is completed 2015-04-26 03:29:13 -04:00
Marek Marczykowski-Górecki
34fe857f9e version 2.1.60 2015-04-25 02:30:13 +02:00
Jason Mehring
482f003283 Changed location of PROTECTED_FILE_LIST to /etc/qubes/protected-files.d 2015-04-25 02:29:39 +02:00
Jason Mehring
24cfe20e1f whonix: Added protected-files file used to prevent scripts from modifying files that need to be protected
A file is created in /var/lib/qubes/protected-files.  Scripts can grep this file before modifying
known files to be protected and skip any modifications if the file path is within protected-files.

Usage Example:
    if ! grep -q "^/etc/hostname$" "${PROTECTED_FILE_LIST}" 2>/dev/null; then

Also cleaned up maintainer scripts removing unneeded systemd status functions and streamlined
the enable/disable systemd unit files functions
2015-04-25 02:29:38 +02:00
Marek Marczykowski-Górecki
24224496c1 network: restart updates proxy after network change to reload DNS address 2015-04-25 00:16:30 +02:00
Marek Marczykowski-Górecki
293ef14f90 upgrade: package for simplify upgrade from R2 to R3.0 2015-04-23 00:43:45 +02:00
Marek Marczykowski-Górecki
82eedd306e version 2.1.59 2015-04-16 15:55:55 +02:00
Marek Marczykowski-Górecki
d5a0e1985b systemd: disable avahi-daemon and dnf-makecache
Especially dnf-makecache is senseless as its state will not survive VM
restart, but it takes a lot of CPU time.

(cherry picked from commit 285071bd59)
2015-04-16 15:55:38 +02:00
Marek Marczykowski-Górecki
ab71ae9ae3 version 2.1.58 2015-04-16 03:40:01 +02:00
Marek Marczykowski-Górecki
592029ef83 Do not load xen-usbfront automatically
We no longer provide this module (it looks to be a dead project).
Instead in newer kernel USBIP can be used.

(cherry picked from commit 04b5bd1b0a)
2015-04-16 03:01:51 +02:00
Wojtek Porczyk
04fe5a524f sudoers: do not require TTY
This is required to run sudo from qubes-rpc.

(cherry picked from commit daf4a72f28)
2015-04-16 03:01:36 +02:00
Marek Marczykowski-Górecki
35b364dfac debian: fix handling SysV units in disableSystemdUnits
systemctl is-enabled always reports "disabled" for them (actually not a
real "disabled", but and error, but exit code is the same). So simply
always disable the unit, it is no-op for already disabled ones.
BTW systemctl preset also do not work for them.

(cherry picked from commit 52d502bce2)
2015-04-16 03:00:14 +02:00
Marek Marczykowski-Górecki
fc646bc71b debian: update NetworkManager configuration
Especially add unmanaged-devices, otherwise NM will break vif*
configuration.

(cherry picked from commit d41ae5bc7f)
2015-04-16 02:59:18 +02:00
Marek Marczykowski-Górecki
48715ef863 debian: install qubes-download-dom0-updates.sh
(cherry picked from commit ab38410f5c)

Conflicts:
	debian/control
2015-04-16 02:57:13 +02:00
Marek Marczykowski-Górecki
7f2683580d Fix resizing of /rw partition (private.img)
Offline resize requires to run fsck -f first. Because we support only
growing that image, we can simply use online resize instead.

This finally fixes qubesos/qubes-issues#772

(cherry picked from commit 65bc22fd1d)

Conflicts:
	vm-init.d/qubes-core
	vm-systemd/mount-home.sh
2015-04-16 02:56:19 +02:00
Matt McCutchen
f955dba590 Switch to preset file for systemd units to disable.
(cherry picked from commit 377e0b4cd4)
2015-04-16 02:54:41 +02:00
Matt McCutchen
a732008296 Make qvm-run bidirectional and document its limitations.
(cherry picked from commit b37d391f91)
2015-04-16 02:54:41 +02:00
Marek Marczykowski-Górecki
f2665db67b version 2.1.57 2015-04-04 18:57:40 +02:00
Marek Marczykowski-Górecki
1393f849d5 rpm: add missing BuildRequires: libX11-devel
misc/close-window.c requires it.

(cherry picked from commit 0f67930d0e)

Conflicts:
	rpm_spec/core-vm.spec
2015-04-04 18:47:23 +02:00
Marek Marczykowski-Górecki
de0b4b73f7 qrexec: move qrexec-client-vm to /usr/bin 2015-03-15 01:53:03 +01:00
Marek Marczykowski-Górecki
21cb5bc512 qrexec: add simple stdio handling in qrexec-client-vm without a child process
This way simple qrexec services like qubes.VMShell would be much easier
to implement - no need to do anything at client side.
2015-03-15 01:40:05 +01:00
Marek Marczykowski-Górecki
6160ae8230 qrexec: expand tabs, no functional change 2015-03-15 00:54:43 +01:00
Marek Marczykowski-Górecki
4a7928212b version 2.1.56 2015-03-05 03:40:08 +01:00
Jason Mehring
e549897f57 debian: Remove 'exit 0' in maintainer section scripts to all other debhelpers (if any) to also execute
(cherry picked from commit 328430d3bf)
2015-03-05 01:00:05 +01:00