guix/gnu/tests
Maxim Cournoyer 3bb6147fdc
services: udev: Also create subsystem nodes at boot.
This is a more correct fix to CDROM/DVDROM events/auto-mounting than was made
in the now-reverted commit 670724edcf ("gnu: eudev: Fix optical discs
detection/auto-mounting.")

This changes causes the 60-block.rules udev rules file shipped with eudev to
correctly set the default polling period to 2000 ms on block devices, which is
necessary for kernel events to be fired for CDROM drives for example.  To
validate it is set:

  # cat /sys/module/block/parameters/events_dfl_poll_msecs
  2000

Before, it would return 0.

* gnu/services/base.scm (udev-shepherd-service): <#:start>: Add a 'udevadm
trigger --change=add --type=subsystems' invocation, so that it also creates
subsystem nodes, as done in Void Linux or LinuxFromScratch init scripts for
example.
* gnu/tests/base.scm (run-basic-test): Add test.

Fixes: <https://issues.guix.gnu.org/35584>
Change-Id: Idc0eb5640163b27e41b72cc0c1885412a60805c1
2025-05-14 22:10:44 +09:00
..
data
audio.scm
avahi.scm tests: Move Avahi test to its own file. 2025-03-10 15:41:33 +01:00
base.scm services: udev: Also create subsystem nodes at boot. 2025-05-14 22:10:44 +09:00
cachefilesd.scm
ci.scm
containers.scm services: rootless-podman: Enable I/O delegation. 2025-01-11 23:36:58 +01:00
cups.scm
databases.scm services: postgresql-role: Add support for password files. 2025-05-02 15:32:25 +09:00
desktop.scm tests: elogind: Adjust expected output for new version. 2025-04-25 10:42:16 +09:00
dict.scm
dns.scm services: dns: Add unbound service. 2025-01-11 23:36:58 +01:00
docker.scm
emacs.scm
file-sharing.scm
foreign.scm tests: Factorize ‘guix-daemon’ test cases. 2025-03-10 15:41:34 +01:00
ganeti.scm tests: ganeti: Increase VM memory size. 2025-03-23 19:30:32 +01:00
gdm.scm
guix.scm
image.scm
install.scm tests: Make ‘operating-system-with-console-syslog’ public. 2025-03-23 19:30:12 +01:00
ldap.scm
lightdm.scm
linux-modules.scm
mail.scm tests: dovecot: Add sieve. 2025-02-25 10:57:51 +00:00
mcron.scm tests: Move mcron test to its own file. 2025-03-10 15:41:33 +01:00
messaging.scm tests: Fix failing 'guix-system-tests' derivation during 'guix pull'. 2025-04-22 14:09:40 +09:00
monitoring.scm
networking.scm services: networking: Add dhcpcd service. 2025-03-08 16:09:41 +01:00
nfs.scm gnu: Adjust tests for ‘shepherd-system-log-service-type’. 2025-03-10 00:38:05 +01:00
package-management.scm
pam.scm
reconfigure.scm gnu: Adjust tests for ‘shepherd-system-log-service-type’. 2025-03-10 00:38:05 +01:00
rsync.scm
samba.scm
sddm.scm
security-token.scm
security.scm
shadow.scm
singularity.scm
ssh.scm
telephony.scm
upnp.scm
version-control.scm
virtualization.scm services: libvirt: Add UEFI firmware support. 2025-03-27 21:21:06 +09:00
vnc.scm
vnstat.scm
web.scm tests: web: Add nginx+anonip test. 2025-02-13 00:07:21 +09:00