1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00
Commit Graph

597 Commits

Author SHA1 Message Date
Nguyễn Gia Phong
3433fb987b services: Add fossil-service-type.
* gnu/services/version-control.scm
  (fossil-service-type, fossil-configuration): New public variables.
* gnu/tests/version-control.scm (%test-fossil): Add system tests.
* doc/guix.texi (Version Control Services): Add Fossil documentation.

Change-Id: I84e09fe8c11e161ed7c4bdba42b0ae38ef4c2096
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2026-03-11 18:27:46 +01:00
Efraim Flashner
06c6c3ede5 tests: debian-install: Refresh test inputs.
* gnu/tests/foreign.scm (debian-13-qcow2, debian-uidmap-deb-file):
Replace with newer versions.

Change-Id: Ic3a3972a4a210ae95e5dad8a80e91f19353b4554
2026-03-10 12:05:52 +02:00
Giacomo Leidi
520785e315 gnu: Add soju-service-type.
* gnu/services/messaging.scm (%default-soju-shepherd-requirement): New
variable.
(soju-ssl-certificate): New configuration record.
(soju-database): New configuration record.
(soju-configuration): New configuration record.
(serialize-soju-configuration,soju-activation,soju-accounts,
soju-shepherd-services): New procedures.
(soju-service-type): New service.
(serialize-ngircd-configuration): Reformat.
(pounce-configuration): Reformat.
* doc/guix.texi: Document the new soju service.
* gnu/tests/messaging.scm: Test the new soju service.

Change-Id: I6223ecac1aaaab76bd75461851ffe4cec0678118
2026-03-09 23:17:24 +01:00
Yelninei
d4ee8de214 system: hurd: Remove %hurd64-default-* variants.
Since 8f852885de these are aliases.

* gnu/system/hurd.scm (%hurd64-default-operating-system,
%hurd64-default-operating-system-kernel): Delete variables.

* gnu/system/images/hurd.scm (hurd64-barebones-os): Replace
%hurd64-default-operating-system with %hurd-default-operating-system
* gnu/system/examples/bare-hurd64.tmpl (%hurd64-os): Same.
* gnu/tests/virtualization.scm (%childhurd64-os): Remove usage of
%hurd64-default-operating-system-kernel.

Merges: #5544.

Change-Id: Ie7345cd99dc37712e7a0f7683ad738c194c70fa7
2026-03-09 13:01:10 +01:00
Giacomo Leidi
fbe8f6d765 tests: Add tuned-service-type tests.
* gnu/tests/linux.scm (%test-tuned): New system test.
* gnu/local.mk: Add it.

Change-Id: Ia257dd5f33c8f9a1eea395b462aee28e16b5e316
2026-03-07 22:28:01 +01:00
Vagrant Cascadian
2126b510ce gnu: Remove linux-libre 5.4.
gnu/packages/linux.scm (linux-libre-5.4-version, linux-libre-5.4-gnu-revision,
deblob-scripts-5.4, linux-libre-5.4-pristine-source, linux-libre-5.4-source,
linux-libre-headers-5.4, linux-libre-5.4, linux-libre-headers-5.4,
linux-libre-arm-generic-5.4, linux-libre-arm64-generic-5.4): Remove variables.
* gnu/packages/patches/linux-libre-support-for-Pinebook-Pro.patch: Delete
file.
* gnu/local.mk [dist_patch_DATA]: Deregister patch.
* gnu/packages/aux-files/linux-libre/5.4-arm.conf,
gnu/packages/aux-files/linux-libre/5.4-arm64.conf,
gnu/packages/aux-files/linux-libre/5.4-i686.conf,
gnu/packages/aux-files/linux-libre/5.4-x86_64.conf: Delete files.
* Makefile.am [AUX_FILES]: Deregister them.
* gnu/packages/android.scm (adb)[native-inputs]: Use linux-libre-headers-5.15.
* gnu/packages/vpn.scm (wireguard-linux-compat): Remove variable.
* gnu/tests/base.scm (%test-linux-libre-5.4): Remove variable.
2026-03-05 14:59:55 -08:00
Giacomo Leidi
a375202ad3 gnu: libvirt: Configure default libvirt network.
* gnu/services/virtualization.scm (%libvirt-activation): Activate
default libvirt network configuration file.
* gnu/tests/virtualization.scm (run-libvirt-test): Drop network
definition test and replace it with a test checking that the default
network is inactive by default.

Change-Id: I03b6314a390c6d93ebf886d7033867ff5cacad74
2026-03-04 20:18:02 +01:00
Giacomo Leidi
cbbf6b1d57 tests: Test lowering of file-like objects values for oci-image.
This patch is supposed to introduce a test case to ensure use cases like
the one of https://codeberg.org/guix/guix/issues/3818 are working.

* gnu/tests/containers.scm (%guile-oci-image): New variable.
(%guile-bash-oci-image): New variable.
(%oci-rootless-podman-os)[fist-container]: Use %guile-oci-image.
[second-container]: Use file-like object as oci-image value.
(%oci-docker-os): Ditto.

Change-Id: I0052243dba2d901d497e1c0976a5aa1ebe9864a0
Reviewed-by: Owen T. Heisler <writer@owenh.net>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-25 22:17:41 +00:00
Rodion Goritskov
396a9451d4 services: Add configuration action to miniflux-service-type.
* gnu/services/web.scm (miniflux-shepherd-service): Add configuration action.
* gnu/tests/web.scm (run-miniflux-test): Add configuration action check.

Change-Id: I515653070cc0c39fcbe31fef19d8745a1a8d47cb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-23 23:58:25 +00:00
Rutherther
e3d8fc1147 file-systems: mount-file-system: Guard against missing devices.
When a device with a UUID is missing, canonicalize-device-spec will throw an
error. This error is not handled for mount-may-fail? devices. That means
that if you use UUID device and it isn't available, the boot will hang on
the user-file-systems not being started. All user services depend on that
service.

Also added a test for this behavior.

* gnu/build/file-systems.scm
(mount-file-system): Guard canonicalize-device-spec call.
(canonicalize-device-spec): Throw &partition-lookup-error on missing
partition.
(&partition-lookup-error): New variable.
* gnu/tests/base.scm (%test-missing-file-system): New variable.

Change-Id: I3b8d652251cef421cff6d2fdafb8d9d7d1fc74b5
Reported-By: renbus, on IRC
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
2026-02-23 11:46:09 +09:00
Sughosha
4b8cfa7f69 services: readymedia: Run with a pid file.
* gnu/services/upnp.scm (%readymedia-default-pid-directory): New variable.
(%readymedia-pid-file): New procedure.
(readymedia-shepherd-service)[start]: Start with the pid file.
(readymedia-activation): Create the pid directory.
* gnu/tests/upnp.scm (run-readymedia-test): Test the pid directory and file.

Merges: https://codeberg.org/guix/guix/pulls/1007
Change-Id: I454a89d25afe0e9bb0414645b1e4594afdf89058
Signed-off-by: Giacomo Leidi <therewasa@fishinthecalculator.me>
2026-02-22 17:15:19 +01:00
Sughosha
f19ddd6dfe services: readymedia: Fix configurations.
* gnu/services/upnp.scm (%readymedia-default-log-directory): Remove variable.
(%readymedia-default-log-file): New procedure.
(%readymedia-default-cache-directory): Turn it into a procedure.
(<readymedia-configuration>)[log-directory]: Remove field.
[log-file]: New field.
[cache-directory]: Set to %readymedia-default-cache-directory.
(readymedia-configuration->config-file): Remove "user" and "log_dir" fields.
(readymedia-shepherd-service)[modules]: Add (shepherd support).
[start]: Do not map the log-directory. For home services, do not wrap the
program with least-authority-wrapper.
(readymedia-activation): Do not create the log-directory.
* gnu/home/services/upnp.scm (%readymedia-cache-file, %readymedia-cache-path,
%readymedia-log-path): Remove variables.
(run-readymedia-test): Use the procedures properly. Do not test the
log directory. Test the log file.
* doc/guix.texi (Miscellaneous Services)[DLNA/UPnP Services]: Update doc.

Change-Id: I97d84b5287c374ddb26a495f20a36f986b0c142d
Signed-off-by: Giacomo Leidi <therewasa@fishinthecalculator.me>
2026-02-22 17:15:16 +01:00
Sören Tempel
64622248cd services: web: Add go-webdav.
* gnu/services/web.scm (go-webdav-service-type): New service.
(go-webdav-account-service): New variable.
(go-webdav-shepherd-service): New procedures.
* gnu/tests/web.scm (%test-go-webdav): Add tests for the service.
* doc/guix.texi (Web Services): Document it.

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
2026-02-08 23:53:58 +01:00
Cayetano Santos
22db59d243 gnu: easyeffects: Update dependency on tbb.
* gnu/packages/audio.scm (easyeffects)[inputs]: Remove tbb; add
onetbb.

Change-Id: Icfbb4c4dca2d9c4277499392b46b4e2b1bf365f8
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-25 21:24:56 +01:00
Noé Lopez
1d455fb8bf tests: install: Fix timezone check.
The default timezone is set to Europe/Zaghreb, however the new check
introduced in 0a9eb3f3e2 was checking for the
one in the operating-system definition, which is Europe/Paris.

* gnu/tests/install.scm (gui-test-program): Explicitely set timezone to
Europe/Paris.

Change-Id: I7b5d327f13760632c9fbc0c1223a6a9bbc624f4d
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4977
2026-01-15 20:26:28 +01:00
Rodion Goritskov
b73427bf6b tests: mail: Add Radicale test.
* gnu/tests/mail.scm
(%radicale-os): New variable.
(run-radicale-test): New function with basic tests.
(%test-radicale): New variable.

Change-Id: I4a4e093ca7ac2a20a575bcf38b6ff763edf67652
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #5361
2026-01-09 15:22:45 +01:00
Nguyễn Gia Phong
211ee32c95 tests: %test-nss-mdns: Fix test order.
Before this, the test failed because Avahi CLI utilities
exit with a non-zero status in case of a cache miss
(instead of blocking?).

* gnu/tests/avahi.scm (run-nss-mdns-test): Move the Avahi CLI tests
  after other name resolution tests.

Change-Id: I88ab03abf39cf24ee2ce763c719444ac65504cc2
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #4955
2026-01-09 15:22:45 +01:00
Danny Milosavljevic
ac92638bce services: Add opensnitch-service.
* gnu/services/opensnitch.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add reference to it.
* doc/guix.texi (Miscellaneous Services, Security): Document it.
* gnu/tests/security.scm (%test-opensnitch): New variable.

Change-Id: I63d1b6636b3aaecf399664ec97383d82ff1391d1
2026-01-08 01:53:57 +01:00
Maxim Cournoyer
47af617b5c services: Add luanti-service-type.
* gnu/services/games.scm (luanti-configuration): New variable.
(%luanti-account): Likewise.
(luanti-activation): New procedure.
(luanti-shepherd-service): Likewise.
(luanti-service-type): New variable.
* gnu/tests/games.scm: New file.

Change-Id: I65a1dcf832fa8add9c9d278d82bab91ca3eef086
Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-01-06 22:00:50 +09:00
Rodion Goritskov
65432c00fc tests: Add Fedora foreign distribution test.
* gnu/tests/foreign.scm (qcow-image-with-marionette):
  - Create .autorelabel file to make copied Guile work
    on SELinux-enabled systems.
(resize-lvm-xfs-partition): New variable.
(run-foreign-install-test): Increase RAM for VM to 1024
  as 512 is not sufficient to run Guix installation
  on Fedora.
(fedora-qcow2): New variable.
(%test-fedora-install): New variable.

Change-Id: Ib247a174dfea8630d830763410391077516a8c16
Merges: #5007
2025-12-28 12:38:29 +01:00
Rutherther
f1c1fb9340 tests: foreign: Add Ubuntu test.
This one is a bit more complicated than the other ones, because the qcow2
image is too small to hold the tarball contents.  So I have decided to add in
logic to resize the qemu img, the partition and the filesystem.

* gnu/tests/foreign.scm
(ubuntu-qcow2): New variable.
(ubuntu-uidmap-deb-file): New variable.
(ubuntu-libsuid4-deb-file): New variable.
(%test-ubuntu-install): New variable.

Change-Id: Ib705cfe0aeab5e6ede284b8eff06483aea617349e
Signed-off-by: Rutherther <rutherther@ditigal.xyz>

Merges: #4997
Change-Id: I17472d160665fa4965d1c1ee00d671746bd5fb74
2025-12-28 12:38:28 +01:00
Rutherther
0c74e5835e tests: foreign: Add utilities for resizing foreign images.
* gnu/tests/foreign.scm
(qcow-image-with-marionette): Add resize-image and
resize-proc to resize the image, the partition and the file system.
(resize-ext4-partition): New variable.
(run-foreign-install-test): Add resize-image and resize-proc; Pass them to
qcow-image-with-marionette.

Change-Id: I92dbe0cdcafb5ff0a0b6c3e9b96205b4ad9d10e8
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-12-28 12:38:27 +01:00
Rutherther
e51032b257 tests: foreign: Add test restarting guix-daemon.
* gnu/tests/foreign.scm (run-foreign-install-test): Restart the
daemon, build and gc afterwards.

Followup of 9a78e76076.

Change-Id: Ia2304d6b9c83b5b8f410426ce00e078c2f004198
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-12-25 13:18:48 +01:00
Ludovic Courtès
3e2bd2e30b services: nscd: Cause PID 1 to drop nscd database mappings on shutdown.
Partly fixes guix/guix#4269.

Fixes a bug whereby shepherd (PID 1) could retain memory mappings for
/var/run/nscd/dbXXX, which are created by glibc’s NSS from database file
descriptors sent by nscd.  Those mappings could then prevent
‘root-file-system’ from re-mounting the root file system as read-write.
This change causes PID 1 to drop these mappings.

PID 1 typically calls libc database functions such as ‘getgr’ when dealing
with AF_UNIX endpoints for socket-activated services, to look up the socket’s
owner and group.  This is where the bug would manifest.

The regression may have been introduced by
85ac164c41, which caused nscd to handle the
password and group databases.

* gnu/services/base.scm (nscd-shepherd-service): In ‘stop’ procedure, call
‘getpw’, ‘getgr’, and ‘getaddrinfo’.
* gnu/tests/base.scm (run-root-unmount-test) <"open libc NSS database">: New
test.
(%test-root-unmount): Add #:imported-modules.

Change-Id: I197cc8c82165c631f857415898137412ce9bd439
Reported-by: Rutherther <rutherther@ditigal.xyz>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Merges: #4828
2025-12-19 00:05:43 +01:00
Giacomo Leidi
c425bac93d Update Giacomo's email address.
The change was automated via:

git grep -l goodoldpaul@autistici.org |
    xargs sed -i 's/goodoldpaul@autistici.org/therewasa@fishinthecalculator.me/g'

* .mailmap: New entry.

Change-Id: I1629388334695d221647afe6a14faf61af5fe0d6
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
2025-12-03 14:38:09 +09:00
Maxim Cournoyer
0a9eb3f3e2 tests: Add test to validate /etc/locatime is a symlink.
Match the modern desktop expectation set by systemd [0] and relied on by some
software (GNOME/glib, icecat, ungoogle-chromium, etc.).

[0]  https://www.man7.org/linux/man-pages/man5/localtime.5.html

* gnu/tests/base.scm
("/etc/localtime is a symlink to the timezone data file"): New test.

Change-Id: I8fb95abb6a3e455dd7019d5d798f7862d16b6263
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2025-12-01 14:59:30 +09:00
Christopher Baines
5db3da8811 tests: guix: Remove %nar-herder-os from the end of the module.
As this is just for local testing.

* gnu/tests/guix.scm: Remove %nar-herder-os at module end.

Change-Id: I214cabb80f69a23e0e49c865a75b76c9a6e9f840
2025-11-25 11:28:18 +00:00
Efraim Flashner
28d60948a1 tests: debian-install: Use download mirror for uidmap source.
* gnu/tests/foreign.scm (debian-uidmap-deb-file): Download using a
mirror-url.

Change-Id: I6036c553e6caba132c961658cb542d06d05e29b3
2025-11-24 19:09:39 +02:00
Efraim Flashner
acf95352b9 tests: debian-install: Fix debian-13 qcow2 image.
* gnu/tests/foreign.scm (debian-13-qcow2): Adjust source uri to point to
the same image.

Change-Id: I975140f2febcf0781e6a9c67981b3896629de050
2025-11-24 19:09:39 +02:00
Christopher Baines
f7125fb55d gnu: Fix patchwork service test.
* gnu/packages/patchutils.scm (patchwork):[arguments]: Write version.txt,
tweak some indentation, patch the STATICFILES_DIRS entry.
[propagated-inputs]: Add python-tzdata.
* gnu/services/web.scm (patchwork-settings-module-compiler): Don't set
STATIC_ROOT on debug, as this clashes with STATICFILES_DIRS.
(patchwork-django-admin-gexp): Fix.
(patchwork-shepherd-services): Workaround issue referencing random-token.
* gnu/tests/web.scm (patchwork-initial-database-setup-service): Don't use
primitive-fork, as this doesn't work with newer shepherds.
(run-patchwork-test): Check the setup runs.

Change-Id: I7dfeb816b4f6c9070358d433fb7ca8faa1fbfd2a
2025-11-10 10:27:36 +00:00
Mathieu Othacehe
130421225e gnu: tests: Fix timescaledb test.
The telemtry error message now looks like:

2025-11-08 11:04:23 localhost postgres[222]: [57-83]
2025-11-08 10:04:23.196 GMT [222] CONTEXT: SQL expression "telemetry_string"
2025-11-08 11:04:23 localhost postgres[222]: [57-84] PL/pgSQL function inline_code_block line 16 at RAISE
2025-11-08 11:04:23 localhost postgres[222]: [57-85]
2025-11-08 10:04:23.196 GMT [222] STATEMENT: CREATE EXTENSION timescaledb
2025-11-08 11:04:23 localhost postgres[234]: [8-1]
2025-11-08 10:04:23.267 GMT [234] LOG: job 3 threw an error
2025-11-08 11:04:23 localhost postgres[234]: [9-1]
2025-11-08 10:04:23.268 GMT [234] ERROR: functionality not supported under the current "apache" license. Learn more at https://timescale.com/.
2025-11-08 11:04:23 localhost postgres[234]: [9-2]
2025-11-08 10:04:23.268 GMT [234] HINT: To access all features and the best time-series experience, try out Timescale Cloud.
2025-11-08 11:04:23 localhost postgres[151]: [8-1]
2025-11-08 10:04:23.270 GMT [151] LOG: background worker "Job History Log Retention Policy [3]" (PID 234) exited with exit code 1

* gnu/tests/databases.scm (run-timescaledb-test): The error message is now
part of the syslog and not displayed by psql anymore.

Fixes: guix/guix#3551
Change-Id: I60a0615add53e30b9b26f760f5cacbbdbe14a36c
2025-11-08 11:28:33 +01:00
Mathieu Othacehe
6aded64869 gnu: tests: Fix opensmtpd.
The test has two issues:
- it uses /var/spool/mail instead of /var/mail
- the client often takes more than 30 seconds to connect to the smtpd server,
because the server tries to perform name resolution on 10.0.2.3

* gnu/tests/mail.scm (%qemu-static-networking-no-nameserver): New variable.
(%opensmtpd-os): Use it instead of the dhcpcd-service-type service.
(run-opensmtpd-test): Use /var/mail instead of /var/spool/mail.

Fixes: guix/guix#3978
Change-Id: I429edbf2460f380f8a617ee1fccd145f34a1f3d6
2025-11-08 11:26:14 +01:00
Mathieu Othacehe
cdcfa59864 gnu: tests: Fix the samba test.
* gnu/tests/samba.scm (run-samba-test): De-duplicate the smbclient test and
introduce some retries.

Fixes: guix/guix#3981
Change-Id: Id9a68ddd98b31138564f19b85aca68357ad73351
2025-11-08 11:26:03 +01:00
Mathieu Othacehe
23fce946eb gnu: tests: Fix fail2ban tests.
As discussed here: https://github.com/fail2ban/fail2ban/issues/1593, the
monitored file has to be present before the fail2ban service starts. Create
this file in a dedicated activation service.

* gnu/tests/security.scm (%auth-log-activation-service): New variable.
(run-fail2ban-basic-test, run-fail2ban-simple-test)
(run-fail2ban-extension-test): Use it.

Fixes: guix/guix#3645
Change-Id: Ic12891cc5438abbd041ceb19e1d22dae51c7c848
2025-11-08 11:25:55 +01:00
Mathieu Othacehe
efb910877f gnu: tests: Fix getmail.
When Shepherd starts the getmail service, the TESTBOX mailbox needs to be
present, otherwise getmail fails with:

Copyright (C) 1998-2023 Charles Cazabon and others. Licensed under GNU GPL version 2.
SimpleIMAPRetriever:alice@localhost:143:
  mailbox b'TESTBOX' not selectable (TESTBOX) - verify the mailbox exists and you have sufficient permissions
  0 messages (0 bytes) retrieved, 0 skipped from SimpleIMAPRetriever:alice@localhost:143

* gnu/tests/mail.scm (run-getmail-test): Move the TESTBOX creation from here ...
(%getmail-os): ... to the dovecot configuration.

Change-Id: Ic6348565629c69e8b7bccf7c61460ca96850e6bd
2025-11-08 11:24:56 +01:00
Fredrik Salomonsson
09014b57fd installer: Add Sway as an option in the Desktop environment page.
* gnu/installer/services.scm (%system-services): desktop-environment for sway
and its minimal companion packages.
* gnu/tests/install.scm (installation-target-desktop-os-for-gui-tests): Add
sway and its companion packages to operating-system packages.

Change-Id: I22f4cb67752ce1a15009680a1ba081fae129d45a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-04 17:49:29 +01:00
Rutherther
1f024990dd installer: Add KDE Plasma desktop environment.
* gnu/installer/services.scm (%system-services): Add KDE Plasma environment.
* gnu/tests/install.scm
(installation-target-desktop-os-for-gui-tests): Add
plasma-desktop-service-type to operating-system services.
(%test-gui-inst)led-desktop-os-encrypted): Extend side for Plasma.

Change-Id: Iaf55bb85f40865ee5b79abef23a98a3e04a1e244
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-11-03 17:18:39 +01:00
Mathieu Othacehe
5b3fa1658c gnu: tests: Fix gitile.
* gnu/tests/version-control.scm (%gitile-os): Disable strict owner validation
as /srv/git is root-owned.

Change-Id: I25457d2b333ec355822141f81d861087b719f782
2025-11-02 14:48:38 +01:00
Efraim Flashner
6cfea0e121 tests: samba: Add delay in some tests.
* gnu/tests/samba.scm (run-samba-test)[smbclient connect, smbclient
connect]: Add a delay before checking the connection to the samba
server.

Change-Id: Iffe378756f05b8b1a63e861ed626c943aceb3fc2
2025-10-26 13:02:36 +02:00
Christopher Baines
edb1d29cf5 tests: nar-herder: Test the control port.
* gnu/services/guix.scm (nar-herder-shepherd-services): Add missing variables.
* gnu/tests/guix.scm (%nar-herder-os): Have the control server listen on all
interfaces.
(run-nar-herder-test): Test connecting to the control server.

Change-Id: I40949e8adaf0c6491ee56c59d611395a639d497b
2025-10-25 10:54:05 +01:00
Ludovic Courtès
633ed510fa tests: guix-daemon: Check that build processes can chown to “kvm”.
* gnu/tests/base.scm (guix-daemon-test-cases)[chown-snippet]: New
variable.
["kvm GID mapped"]: New test.

Change-Id: I0ce7a9250539766628eb2459d60abce7c05a36ee
2025-10-21 16:52:30 +02:00
Ludovic Courtès
ab01e5adb2 tests: debian-install: Install the ‘uidmap’ package.
* gnu/tests/foreign.scm (run-foreign-install-test): Add #:deb-files.
[test]("install extra .deb packages"): New test.
(debian-uidmap-deb-file): New variable.
(%test-debian-install): Pass it via #:deb-files.

Change-Id: I489056131d6ff20763457c29610af71866a396b2
2025-10-21 16:52:02 +02:00
Rodion Goritskov
21ce6b392a tests: Update Archlinux image for foreign install test.
* guix/tests/foreign.scm (archlinux-qcow2): update URL and checksum.
  (%test-archlinux-install): add comment on possible test failure.

Change-Id: Ib1d6040f416a0a1117f956bc15111a0240dfb86b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-10-20 10:52:25 +03:00
Rodion Goritskov
1d1778da39 tests: Update Debian image for foreign install test to Debian 13.
* guix/tests/foreign.scm (debian-12-qcow2): rename to debian-13-qcow2.
  (debian-13-qcow2): new URL and checksum.
  (%test-debian-install): use new variable.
  (%test-debian-install): add comment on possible test failures.

Change-Id: I0eb241b5c88f73a822edb20815fe09f8c76a2b6b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-10-20 10:52:22 +03:00
Efraim Flashner
c787d90fff tests: install: Expand the default partition size to 2GiB.
* gnu/tests/install.scm (%simple-installation-script,
%extlinux-gpt-installation-script,
%simple-installation-script-for-/dev/vda,
%separate-store-installation-script, %raid-root-installation-script,
%lvm-separate-home-installation-script,
%encrypted-home-installation-script,
%encrypted-root-not-boot-installation-script,
%btrfs-raid-root-installation-script): Enlarge the install partition
to 2GiB.
(%test-raid-root-os, %test-lvm-separate-home-os,
%test-encrypted-root-not-boot-os, %test-btrfs-raid-root-os,
%test-gui-uefi-installed-os): Adjust accordingly.

Change-Id: Idaf8a9c2a3ccd268b838decf18793c24716154d4
2025-10-17 17:23:20 +03:00
45mg
73cbb94d1d mapped-devices/luks: Support extra options.
Allow passing extra options to the 'cryptsetup open' command.

* gnu/system/mapped-devices.scm (luks-device-mapping-with-options):
[#:extra-options]: New argument.
(open-luks-device): Use it.
(check-luks-device): Validate it.
* doc/guix.texi (Mapped Devices): Document it.
* gnu/tests/install.scm (%test-encrypted-root-extra-options-os): New
test for it, as well as the previously untested #:allow-discards?
option.
(%encrypted-root-extra-options-os): New os declaration for the test.

Change-Id: I265a431efb0c81ed7cfc984344c6b8a4cc2f1624
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-06 10:21:16 +02:00
Anderson Torres
6853465ca0 gnu: Merge (gnu packages openbox) with (gnu packages wm).
This file contains two package definitions that should be on wm.scm.
They are not overly complex, not tightly couple and small, so there is
few to no reason keeping them in a dedicated file.

* gnu/packages/openbox.scm (obconf, openbox): Move from here ...
* gnu/packages/wm.scm: ... to here.

* gnu/packages/openbox.scm: Delete file.
* gnu/local.mk: Remove reference to openbox.scm.

* gnu/packages/kde-frameworks.scm: Fixup reference to (gnu packages openbox) module.
* gnu/packages/lxde.scm: Remove reference to (gnu packages openbox) module.
* gnu/packages/lxqt.scm: Fixup reference to (gnu packages openbox) module.
* gnu/tests/install.scm: Remove reference to (gnu packages openbox) module.
* po/packages/POTFILES.in: Remove reference to openbox.scm.

Change-Id: I0b887debb97e8fcc7880c9f05d29981226d06077
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-09-28 22:24:06 +01:00
Rodion Goritskov
054aae7bb2 services: Add miniflux-service-type.
* doc/guix.texi: Document Miniflux service and configuration.
* gnu/services/web.scm: New service.
* gnu/services/web.scm: Define shepherd service and account roles.
* gnu/tests/web.scm: (%miniflux-create-admin-credentials,
miniflux-base-system, %test-miniflux-admin-string, %test-miniflux-admin-file,
%test-miniflux-socket): Add system tests for Miniflux service.

Change-Id: I4a336e677ec8b46aed632f0ded9cc11c2d38975f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-09-26 21:39:40 +02:00
Maxim Cournoyer
10482f731e Reapply "Update Maxim's email address."
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:

grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
  --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
  xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'

Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18 13:44:12 +09:00
Maxim Cournoyer
a7db92d9b3 Revert "Update Maxim's email address."
This reverts commit d0d87a744d. Oops! This
caused a world rebuild.

Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18 12:07:31 +09:00