Commit Graph

2607 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
587ac3b3a1
dnf: update for DNF 4+ API
Correctly extract packages from transaction items:
 - old (pre DNF 4): iterate over item.installs()
 - new (DNF 4+): item.pkg

The old DNF is not supported anymore, so do not care about it.
2020-06-27 05:37:55 +02:00
Marek Marczykowski-Górecki
3f728df888
Revert "Fix updates notification on Fedora 29"
The https://bugzilla.redhat.com/1650446 is fixed for enough time already
(included in all supported distributions). The workaround for the bug
have two issues:
 - may download repository metadata again
 - ignores various settings, including proxy, which breaks it in
   TemplateVM

This reverts commit 8d7313b928.
2020-06-27 05:35:19 +02:00
Marek Marczykowski-Górecki
630d94f5b2
Merge remote-tracking branch 'origin/pr/233'
* origin/pr/233:
  fixed qubes.GetAppmenus ignoring some correct .desktop files
2020-06-20 15:21:24 +02:00
Frédéric Pierret (fepitre)
8c3d181266
debian: add 'rpm' as dependency
- clean Makefile
2020-06-19 19:15:52 +02:00
Frédéric Pierret (fepitre)
704930852c
Use DNF instead of YUM if exists 2020-06-19 17:14:08 +02:00
Marta Marczykowska-Górecka
6e724f76f0
fixed qubes.GetAppmenus ignoring some correct .desktop files
.desktop files can have spaces around '=' symbols; previously
GetAppmenus discarded such files.

references QubesOS/qubes-issues#5692
2020-06-03 18:27:34 +02:00
Marek Marczykowski-Górecki
464f8f6afe
Merge remote-tracking branch 'origin/pr/231'
* origin/pr/231:
  Fix missing dependency for managing Network-Manager in active user session

Fixes QubesOS/qubes-issues#5836
2020-05-27 04:01:31 +02:00
Marek Marczykowski-Górecki
905b745c6e
Merge remote-tracking branch 'origin/pr/230'
* origin/pr/230:
  debian: conditional python version dependencies
2020-05-27 03:59:46 +02:00
Frédéric Pierret (fepitre)
c12d9ce75c
Fix missing dependency for managing Network-Manager in active user session
QubesOS/qubes-issues#5836
2020-05-26 22:57:07 +02:00
Frédéric Pierret (fepitre)
74a97b7e6a
debian: conditional python version dependencies 2020-05-26 16:30:57 +02:00
Marek Marczykowski-Górecki
810fc59cac
version 4.1.12 2020-05-25 03:35:46 +02:00
Marta Marczykowska-Górecka
fee9626dc9
Added a qubes-open-file-manager.desktop file
To be used by GUI tools to provide a convenient 'open file manager' shortcut.

references QubesOS/qubes-issues#5170
2020-05-15 14:04:51 +02:00
Marek Marczykowski-Górecki
707d4cad8b
qubes.ShowInTerminal needs a graphical session running
This specifically fixes qvm-console-dispvm tool, which uses
qubes.ShowInTerminal to show the actual console. This service uses
xterm, so it needs X session running already.

Fixes QubesOS/qubes-issues#5805
2020-05-09 05:13:14 +02:00
Marek Marczykowski-Górecki
bb1a6eb62e
Merge remote-tracking branch 'origin/pr/228'
* origin/pr/228:
  Override PAM config for su in RPM package
  Use pam-configs to override Debian PAM config
  Lock root password in passwordless-root package
  Enable root autologin on serial console
2020-05-09 05:10:55 +02:00
Paweł Marczewski
969ec301d5
Override PAM config for su in RPM package
In Red Hat based distributions, there is no pam-configs like
mechanism (authselect seems too heavy and is not configured by
default), so instead, we replace the PAM file.

Enable su for users in the qubes group, same as in the Debian
package.
2020-05-07 17:01:02 +02:00
Paweł Marczewski
da2fa46551
Use pam-configs to override Debian PAM config
Instead of the old workaround that replaces the whole PAM config,
use Debian's framework (pam-configs) to add a rule for su. Enable it
for users in qubes group only.

PAM Config framework documentation:
  https://wiki.ubuntu.com/PAMConfigFrameworkSpec

Issue:
  QubesOS/qubes-issues#5799

Original PR this change is based on:
  QubesOS/qubes-core-agent-linux#171
2020-05-07 15:31:47 +02:00
Paweł Marczewski
e52f4f1341
Lock root password in passwordless-root package
See QubesOS/qubes-issues#5799.

Undo the change to empty password previously performed by that
package.
2020-05-06 18:03:19 +02:00
Paweł Marczewski
212df1d586
Enable root autologin on serial console
See QubesOS/qubes-issues#5799.

Use an option to agetty:
  https://wiki.archlinux.org/index.php/Getty#Automatic_login_to_virtual_console

The --login-pause causes agetty to wait for Enter key. This is
important, because otherwise the root session prevents systemd from
shutting down, and probably causes other side effect.
2020-05-06 17:56:55 +02:00
Rusty Bird
25b304ccf3
qvm-run-vm: fix comment
While stderr isn't connected to the local_program argument (qrun-in-vm)
of qrexec-client-vm, it *is* connected (by qrexec-client-vm itself) to
the command the user passed to *to qvm-run-vm*.
2020-05-06 14:46:15 +00:00
Rusty Bird
ce3c1cfb7c
qvm-run-vm: translate --dispvm to modern @dispvm syntax 2020-05-06 14:46:14 +00:00
Rusty Bird
5c7d06b46e
qvm-run-vm: add +WaitForSession for modern @dispvm syntax too 2020-05-06 14:46:13 +00:00
Marek Marczykowski-Górecki
f023afdaa0
version 4.1.11 2020-05-01 02:39:18 +02:00
Frédéric Pierret (fepitre)
fef261499b
setup-ip: fallback to legacy if nmcli is no present 2020-04-17 15:29:40 +02:00
Marek Marczykowski-Górecki
b02dd6a768
dom0-updates: output diagnostics messages to stderr
Do not interfere with yum/dnf output, which can be parserd by salt in
dom0. This is especially the case for listing available updates.
2020-03-16 02:10:14 +01:00
Marek Marczykowski-Górecki
b8a39a7fe2
version 4.1.10 2020-03-01 03:42:33 +01:00
Marek Marczykowski-Górecki
1eb1b8e2cd
Merge remote-tracking branch 'origin/pr/223'
* origin/pr/223:
  spec: add 'parted' dependency
  spec: fix missing python3 gi module
2020-03-01 03:32:43 +01:00
Marek Marczykowski-Górecki
2893b9d67c
version 4.1.9 2020-03-01 03:31:40 +01:00
Marek Marczykowski-Górecki
d0d0b82d05
Merge remote-tracking branch 'origin/pr/224'
* origin/pr/224:
  qubes.Restore: remove bashism found by new ShellCheck
2020-03-01 03:15:00 +01:00
Marek Marczykowski-Górecki
731a87f292
Adjust version of required qubes-gui-agent
The "qubes-sysinit: set GUI_OPTS in gui-agent-linux" commit breaks
gui-agent-linux lacking its counterpart. Express this in the package
metadata.

QubesOS/qubes-issues#5662
2020-03-01 03:11:11 +01:00
Rusty Bird
cd3d870fd0
qubes.Restore: remove bashism found by new ShellCheck 2020-02-26 18:47:44 +00:00
Marek Marczykowski-Górecki
6738926ce9
Merge remote-tracking branch 'origin/pr/204'
* origin/pr/204:
  qubes-sysinit: set GUI_OPTS in gui-agent-linux
2020-02-26 04:40:35 +01:00
Frédéric Pierret (fepitre)
b8ca3e2c59
spec: add 'parted' dependency 2020-02-20 17:47:43 +01:00
Frédéric Pierret (fepitre)
2ef0641996
spec: fix missing python3 gi module
QubesOS/qubes-issues#5289
2020-02-20 17:20:38 +01:00
Yukikoo
5239e1ff62
archlinux: clean references to my server
(cherry picked from commit 18e1952e432560b93b79be8ab7dc26a725340e9c)
2020-02-18 22:14:35 +01:00
Neowutran
8bb7c27344
archlinux: remove old maintainer key (olivier medoc)
(cherry picked from commit 237df4edd9d95a5bb55ebc8855aa96376f3097f7)
2020-02-18 22:14:18 +01:00
Neowutran
03e6199ee2
archlinux: update dependencies
(cherry picked from commit 9013b0bcc549242381d78f7ff15ceb585476d27f)
2020-02-18 22:13:37 +01:00
Marek Marczykowski-Górecki
b23ecea1c4
Merge remote-tracking branch 'origin/pr/221'
* origin/pr/221:
  Disable unnecessary services in Debian
2020-02-17 04:42:57 +01:00
Marek Marczykowski-Górecki
7e9756081b
Merge remote-tracking branch 'origin/pr/220'
* origin/pr/220:
  init/setup-rwdev: don't write a journal in DispVMs
  init/functions: fix DispVM detection
2020-02-17 04:41:34 +01:00
Marek Marczykowski-Górecki
4bc273bb85
Merge remote-tracking branch 'origin/pr/218'
* origin/pr/218:
  Disable package caching in apt operations
2020-02-17 04:35:38 +01:00
Marek Marczykowski-Górecki
59dfcd7867
Merge remote-tracking branch 'origin/pr/217'
* origin/pr/217:
  signed
  qubes.GetAppmenus: skip unreadable .desktop files
2020-02-17 04:25:22 +01:00
unman
e54ecfb040
Disable unnecessary services in Debian 2020-02-15 21:12:34 +00:00
Amber M. Breslau
22a3346f5d
init/setup-rwdev: don't write a journal in DispVMs 2020-02-14 11:35:05 -05:00
Amber M. Breslau
be9155ef11
init/functions: fix DispVM detection 2020-02-14 11:24:29 -05:00
Saswat Padhi
f96c00d975
signed 2020-02-08 04:01:48 -08:00
Saswat Padhi
600df100df qubes.GetAppmenus: skip unreadable .desktop files 2020-02-08 10:13:41 +00:00
Zaoqi
5ae5b46ac0
archlinux/PKGBUILD: fix typo 2020-02-08 14:25:33 +08:00
Marek Marczykowski-Górecki
2f2067ac0b
Merge remote-tracking branch 'origin/pr/215'
* origin/pr/215:
  spec: replace python3 by python%{python3_pkgversion}
2020-02-06 23:18:46 +01:00
Marek Marczykowski-Górecki
f1b60dbe13
Merge remote-tracking branch 'origin/pr/213'
* origin/pr/213:
  archlinux/PKGBUILD: remove python2
  fix https://github.com/QubesOS/qubes-issues/issues/5619
2020-02-06 23:18:02 +01:00
Frédéric Pierret (fepitre)
024c040a4b
spec: replace python3 by python%{python3_pkgversion} 2020-02-06 17:54:06 +01:00
Zaoqi
7dea32379c
archlinux/PKGBUILD: remove python2 2020-02-06 14:05:07 +08:00