Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/QubesOS/qubes-core-agent-linux

Qubes component: core-agent-linux
https://github.com/QubesOS/qubes-core-agent-linux

network: fix uplink setup relation to network.target

[email protected] was missing a Before=network.target
ordering. Such an ordering is ...

de5929b5dd37c889ed028bf8092ac2414f0ae0ce authored almost 2 years ago by Rusty Bird <[email protected]>
qvm-connect-tcp: print usage on invalid parameters

65d1045f26d0a2fbbf86562bc86aeae5a7da1ea4 authored almost 2 years ago by Maja Kądziołka <[email protected]>
Do not install SELinux-related services on Debian

Besides SELinux not supported on Debian here, default behaviour of
maintainer scripts there woul...

9b1e03ca725994a9c2c0ec986d355977e4a678e3 authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
tests: update IP of yum.qubes-os.org

c140522b20084bd3842e899375d4c62c530bfa5b authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix restoring backup using DispVM

This broke due to an SELinux policy bug.

560ee2aabd8209cda8d9d36529ba046777ff3d68 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
version 4.2.5

c7a0ed9dc0fe81ab3dbe7417422bc4ea46512405 authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Move pulseaudio drop-in to pulseaudio-qubes package

Move it together with related preset file that disables conflicting
pipewire.

That was the last...

57862b0860f3cd62d9935647cb9a0d85133a5e77 authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
debian: cleaup remaining selinux package

Don't support SELinux in Debian yet.

43e671472aad9a904426ce7f4842b6b860645ade authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/343'

* origin/pr/343: (53 commits)
Allow init_t and unconfined_service_t to transition to anything
...

3b1f5617bdbabe0348ce2bab82c6720281929f9a authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
rpm: add missing dbus-tool dep

dbus-send is used in qubes.Suspend{Pre,Post} services.

289bb581f85a957eadcd275c447bb72b3b054719 authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.2.4

3323957d743e97429f84e48d2bc91fbf831f289f authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: fix dnf download plugin

Fix typo, use correct variable.

91c4e12f2908e6c01481b97e19c4fb21a795d939 authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Allow init_t and unconfined_service_t to transition to anything

The former is needed for SELinuxContext= in systemd unit files to work
for all domains. The lat...

0b501510989c23770d8a341b2109a95cd3cb1272 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Allow 'xl devd' to get information about all block devices

Needed for block device export.

bc96279546928f0735fb19b482c4670e3246106b authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Make SELinux permissive if not yet relabeled

Otherwise the system will not boot.

9c0618ebfea170feb254e98f05881faa49e6587d authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Drop SELinux on Debian

It won't make the R4.2 release.

fc9e7eb96c2f82ebfb49be2a4c6429c54d354713 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Fix Debian build

All scripts in init/ get installed, but relabel-root.sh is expected only
for SELinux, which isn'...

861dd7f8332c5ae8fca0ba7cc383997bf7a12443 authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Add missing build deps

18003b71dc6dfc8fda165e29dc11baaee69b837a authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Enable SELinux in Debian build

2019a3a60076cf8c60f66134ef1a53001408f584 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Try to get SELinux policy working for Debian

It probably does not work.

7e6d634ca2082dd60192174bda5a0e646a4af7f0 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
shut up shellcheck

This file will always exist at runtime.

23e3624130e2e9d9ddb66af9fb97479fa9e7a19e authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Debian fix

239bde8991a81a4443d6508603e9c725e302c1a8 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
minor cleanups

0e22478fb6671c49ac38bef47ec790d8c94abbba authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Fix bogus sed call

-i was being considered an argument for -e, but it isn't syntactically
correct.

0c3aea3aee9eb4271035c5ab7035852db2d7f546 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Debug stuff

fdcadde5715290601b5fab0176894b58231ed2b8 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Avoid unbootable system

which will happen if selinux-autorelabel.service (which now just runs
/bin/true) cannot be started.

05d2267badbadb6afd66db787c82fb8d7a2e871b authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Try to fix autorelabel

da2d9b09a4ebc76d037292ace4d8d2fb429b92fe authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Enable SELinux when installing policy

This will trigger a relabel on the next reboot.

27980b3d481a386e0f585d32c9597ea9bce21cb5 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Do not install SELinux stuff with SELinux disabled

It breaks the Debian build.

de88b38d9686e25d69c2809118e80e6ad8a63ac5 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Mark a bunch of packages as noarch

They are noarch, so mark them as such.

fe8ea757ff6d68bffed23ec4be34714eab5e399e authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Move SELinux stuff to its package

It does not belong in the main package.

204c8b05352935818bc2065934a209912c1b96a4 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Revert "Require relabeling for boot to succeed"

It is a worse user experience.

This reverts commit 4886bc6451dfb9f8b473e9d6aa3d708c0a1e241a.

77b30eab13b9c08fe27637bfecbf5026a3ff14ec authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Fix typo

53a4b710eb2d9defba34d46ef24440cd4cd68d7c authored almost 2 years ago by Demi Marie Obenour <[email protected]>
install missing file

e463b833de33bf037afd9c311e25b374ae074cbf authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Require relabeling for boot to succeed

If relabeling fails then so should boot.

fdfba65ccca3c80affe9ebeebc50ef3d98a383b7 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Force autorelabel after installation

cdc05a7b2a83bf2739a78c89863e03d19f8fe046 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Override selinux-autorelabel.target

Force it to pull in qubes-relabel-root.service instead of the default
selinux-autorelabel.servic...

65a934a0857389fcdcd4440cc89ee5aee7bdd8e9 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Only relabel a few directories in postinst

The rest will be relabeled after reboot.

e973bb1d82e021d8aad17d9ae0851f322cdb6765 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Pass -f to rm

Otherwise it will fail if /.autorelabel doesn’t exist.

91d3a1093cdbfa66fe2dd55b28dacd50b663de63 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Reboot after relabeling root FS

The label of PID 1 might be wrong. Also conflict with shutdown.target.

b55bda2a115e25fb72955d12a0943906a4cc77d7 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Enable qubes-relabel-root for automatic relabeling

This replaces the standard service.

09ed7455a71f0186538ae19880688e8a63685bda authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Check SELinux is not enforcing before disabling relabeling

Otherwise the user could wind up with a broken system.

25e301341b45e98f8c5974bcb4cf5d0ee9257f9e authored almost 2 years ago by Demi Marie Obenour <[email protected]>
SELinux: Forcibly relabel root filesystem on install

This is necessary to ensure that the system is properly labeled for the
next boot.

744421436c3fe60b4d4197d9c7d2a89a0590c0ea authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Conflict with standard SELinux autorelabeling

selinux-autorelabel.service is buggy and does a bunch of stuff that
makes no sense in Qubes OS. ...

49034e21ebf1ebff0df5dc0d79183fcec4d11d5d authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Only relabel persistent volumes

If a volume is not persistent, then the next boot of the VM would need
to relabel it again. Ins...

7044655556f7690c0890d07b1cf11130a38c42e2 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Relabel root filesystem as needed

Otherwise various mount points do not get relabeled, which causes
breakage.

bb5c55f277c109dd02b2a9e99afabdf72ffa9522 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Add marker file for VM persistence

This will be used by later autorelabel code.

26d2cdb10451bc578e2ab36a847cdb058af05aab authored almost 2 years ago by Demi Marie Obenour <[email protected]>
qubes-sysinit.sh: reject bad service names

This changes qubes-sysinit.sh to check for bad service names and for
errors. This ensures that ...

82e43ce603a90fe003cb2597ef48b3b443c05351 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Allow RPM commands to write to qrexec stderr fifo

This might be a cause of OpenQA failures.

eb68f88c7bd033593993452ca473d65bb759bef8 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Allow local_login_t to start systemd units

Needed by qrexec possibly?

1f235d8360d66e25770befa52430e614cce16ce1 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Enable qubes-relabel-rw.service

b21e4134835cfe74d38a8db3cb35055d7cf4a526 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Allow iptables to access Xen device files

This is probably a bug somewhere else.

db5ed057663080711093548b957818f2d29d7b31 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Perform SELinux relabeling when necessary

This ensures correct labeling of volumes. systemd units are used to
ensure that SELinux being e...

5e99b94151876f323d25daa1ededd725e8b6d6a6 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Allow systemd-modules-load to log to journal

Needed for rather obvious reasons.

db8538e15dc800b1c0780a78f6fc4f1ab7c73186 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Fewer calls to mkdir(1)

Trivial performance win

cf6ba7ad3c2e3ae52ec1df039fe35ad583387335 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Create directories with proper SELinux contexts

I believe this is why qubesdb kept failing to start.

3906db418e0495b9b1ab32a677e4d332db167556 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Fix file equivalency management

The scriptlet needs to handle the case where the file is empty, which
breaks sed. Also lock bot...

8d17b4b4ac39314a625c41b54ed1304b9b256405 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Extra file contexts

These needed to be added to qubes-misc.fc.

f028aadcc777dd451d575a215337f755848a3f7a authored almost 2 years ago by Demi Marie Obenour <[email protected]>
File context substitutions are not recursive

so /rw/usrlocal and /usr/local need to be handled separately.

ca5c51a85677e3956ab795bd50e623d51e465b8e authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Fix qubes-core-agent-selinux preun scriptlet

It didn't uninstall the qubes-misc policy module, and it unconditionally
removed the substitutio...

54d1bfc3f60c263daa8e36f572ab8f317066e882 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Move misc policies into their own module

Also avoid depending on a specific policy type

e20cb8fd618b03dbae5054b92590e3228233f15a authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Require the SELinux policies if SELinux is present

This uses RPM rich dependency syntax.

1b1711a8f04e85e30eadc623e53d3608ef232e41 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
SELinux policies for xendriverdomain.service

Another step towards making Qubes OS work with SELinux enforcing.

f955f2f1952c33c543f3456abaaad735d1214385 authored almost 2 years ago by Demi Marie Obenour <[email protected]>
Set SELinux contexts of home directories

This avoids problems due to SELinux.

8c712b975c0acdef557c62caf023f111417f51b1 authored about 2 years ago by Demi Marie Obenour <[email protected]>
Enable SELinux support

This sets up the needed file context substitutions. It also provides
polices for qfile-unpacker...

107a8dc7588b50d33c240b695f916f6edfacdcb6 authored about 2 years ago by Demi Marie Obenour <[email protected]>
Merge remote-tracking branch 'origin/pr/391'

* origin/pr/391:
Add upgrades-status-notify and upgrades-installed-check to archlinux package

2ebe96454fa8627b7e5589a58c07dec72d63e9b5 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/354'

* origin/pr/354:
Declare each target (other than .PHONY) only once
makefile fix
simplify m...

c35ffeeab6db3f910b8f3621b4df4424c890e0a3 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/393'

* origin/pr/393:
qvm-template: fallback to other mirrors

eb12c6596d5341ff8a9e74260e7b2b46ccc73f57 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/397'

* origin/pr/397:
Replace ImageMagick with GraphicsMagick

d2aba566ee5237640615e80a4dfef38572c8237a authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.2.3

e248fae8e4b7cc89dc6f1b26e68b114fabbdf78a authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
firewall: remove debug print

f2bd5c5e4fc29809bb78f27fab8b41beaa5e61fc authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/399'

* origin/pr/399:
Add purging of no longer allowed connections from conntrack

f7f7a026229b70f4952259bcc0a0a5d41316b266 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
ci: fix uploading coverage to codecov

765661af37e447eb009278ceaedcd26d744b4246 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
archlinux: update example repo to r4.2 too

f2db11ae93593682c2868df920e99c8649947b83 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Revert "temporarily pretend to be 4.1"

Finally switch to R4.2 repositories.

This reverts commit cdc12084ef6cbd935ffee2803ed782b2175fc156.

90478b0b197b93623f263073af88220797516787 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Add purging of no longer allowed connections from conntrack

Previously adding a firewall rule didn't close already established connections:
https://github.c...

292a8ac170c0cc7fd183960285b98e3a51047126 authored about 2 years ago by Mateusz Piórkowski <[email protected]>
qubes-rpc/nautilus: Execute external commands asynchronously

Using GLib.spawn_async instead of subprocess.call or subprocess.Popen
This prevents Nautilus fro...

119eb3acdcb0b7182c2cd60089da9f5b28218216 authored about 2 years ago by noskb <[email protected]>
Replace ImageMagick with GraphicsMagick

https://github.com/QubesOS/qubes-issues/issues/5009

a1f4ebfad988d523c26c9a4a8c2b21ad6f092cdf authored about 2 years ago by Mateusz Piórkowski <[email protected]>
qubes-rpc/nautilus: Add support for Nautilus API 4.0

The get_file_items method of Nautilus.MenuProvider no longer take the window argument.

https://g...

0f7f0d6f811039a22208fd402cef21ebc02f801f authored about 2 years ago by noskb <[email protected]>
version 4.2.2

45a7af946524c63e1fb3328a571a5fb626db8e5a authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Add R4.2 CentOS key too

c7ca77d4d263ddbb83e254a6f4e0aa8ac91b5b30 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.2.1

16e32363377973df2fde5b24f723b18d8d4081a9 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
deb: update repo to R4.2, including new key

6bfc858e3930735f114ae65b8b4b02a477ca5cad authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
rpm: update repo definition to R4.2, add new key

761230f0b8e61d7d5a46d5dbfcc2cb424ba082b4 authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/371' into switch-r4.2

* origin/pr/371:
Cohere with debian guidance on using 3rd party repos

d8a5f02fdc738245ffdc29897a8b0842e454975c authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: fallback to other mirrors

If download from a selected mirror failed to start at all (missing file,
connection error etc), ...

a9e15dd6f218991f5ecc226fb55612c8f2c65e1c authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Declare each target (other than .PHONY) only once

This avoids a pitfall: if commands are given for a target in more than
one place, all but the la...

a07a2ea84fe8ee7d03da89786ccbf26d3582a49b authored about 2 years ago by Demi Marie Obenour <[email protected]>
makefile fix

d10d43cfc63b269b43b982ccefa8ad4dca235cbe authored about 2 years ago by Demi Marie Obenour <[email protected]>
simplify mime packaging

190e3619afb4ae9ab20988b720a0b65bd2010020 authored about 2 years ago by Demi Marie Obenour <[email protected]>
Allow controlling hardening with qvm-service

This lets the harden-network-interfaces service control hardening.

cae4590add76e66ebb4c95e9376d143ec035f6a7 authored about 2 years ago by Demi Marie Obenour <[email protected]>
Rely exclusively on systemd-sysctl

This ensures that any Qubes-provided configuration can be overridden by
the user.

2e3bed7eb18dbe6994afc06d6cc007fba99a703b authored about 2 years ago by Demi Marie Obenour <[email protected]>
Set -e in setup_ip

to ensure that errors are properly handled

c6874f26c595f35857519cd925d6f6365f5dff9f authored about 2 years ago by Demi Marie Obenour <[email protected]>
Bail out if vif-route-qubes can't find itself

This indicates a serious problem.

674fb76d4f2d5ff21335a9ef26f65ee5e1a9b3e7 authored about 2 years ago by Demi Marie Obenour <[email protected]>
Harden network interfaces before enabling them

This is done via various sysctls.

42560df2e8f889d17a17fe37bcc279bae06cf079 authored about 2 years ago by Demi Marie Obenour <[email protected]>
Merge remote-tracking branch 'origin/pr/347'

* origin/pr/347:
Make qubes-sync-time.service oneshot
Better error message when 'date' fails...

3be651302be917e2864e577858abe522ce7d4bea authored about 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Add upgrades-status-notify and upgrades-installed-check to archlinux package

eee6b0a3b219d06cfd8d8fa46c70a9afcec69c00 authored about 2 years ago by Alexander Paetzelt <[email protected]>
qvm-copy-to-vm.gnome: avoid 'zenity --auto-close'

'zenity --progress --auto-close' exits on reading a progress input of
100 or more. If the estima...

340029820402263c5235fa2282fca1c09a4cc220 authored over 2 years ago by Rusty Bird <[email protected]>
Merge remote-tracking branch 'origin/pr/384'

* origin/pr/384:
Use link scope for routes

6c56efe18bb988601b1da403c2f2e383218de686 authored over 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/385'

* origin/pr/385:
prepare-suspend: do not disable virtual interfaces before suspend
prepare-s...

ac42e170fc70ec6b275d75bdad056a71bea06a0d authored over 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge branch 'qvm-template-resume'

* qvm-template-resume:
qvm-template: resume failed downloads
qvm-template: move cleanup to '...

10c90eee6672d5c95b6c1b831c8d1b383480810d authored over 2 years ago by Marek Marczykowski-Górecki <[email protected]>