Public bug reported:
Further Information / Description:
1. Issue Description:
On modern hardware configurations that lack a physical parallel port (LPT)
interface, the boot process is significantly delayed by exactly 90 seconds. The
delay is caused by systemd-modules-load.service timing out while attempting to
load legacy modules (lp, ppdev, and parport_pc). These modules are forcibly
declared in /etc/modules-load.d/cups-filters.conf by the cups-filters package.
Because the hardware is absent, the kernel modules fail to initialize
gracefully and do not fail-fast. This blocks the module loading thread,
causing systemd-modules-load.service to hang indefinitely until systemd
terminates it via SIGTERM upon reaching the default 90-second timeout.
2. Steps to Reproduce:
Install Ubuntu on a modern motherboard without a hardware parallel
port.
Ensure the cups-filters package is installed and has generated
/etc/modules-load.d/cups-filters.conf containing the lp, ppdev, and
parport_pc modules (often triggered by LOAD_LP_MODULE=yes in
/etc/default/cups).
Reboot the system.
Observe the 90-second boot delay.
3. Expected Behavior:
The system should boot without artificial delays. The package should either
avoid blindly forcing legacy hardware modules on modern systems without
probing, or the modules should fail fast and return an error immediately,
allowing systemd-modules-load.service to proceed.
4. Actual Behavior:
The boot process hangs. journalctl -b -u systemd-modules-load.service shows the
following:
[TIME] systemd[1]: systemd-modules-load.service: start operation timed out.
Terminating.
[TIME] systemd[1]: systemd-modules-load.service: Main process exited,
code=killed, status=15/TERM
5. Workaround Applied:
Commenting out the module names in /etc/modules-load.d/cups-filters.conf
immediately resolves the boot delay.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: cups-filters 2.0.1-0ubuntu4
ProcVersionSignature: Ubuntu 6.19.0-9.9-generic 6.19.5
Uname: Linux 6.19.0-9-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.33.1-0ubuntu4
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Mar 21 16:10:09 2026
InstallationDate: Installed on 2026-03-13 (8 days ago)
InstallationMedia: Ubuntu 26.04 LTS "Resolute Raccoon" - Daily amd64 (20260313)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No
destinations added.
MachineType: ASUS System Product Name
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_o2oj4n@/vmlinuz-6.19.0-9-generic
root=ZFS=rpool/ROOT/ubuntu_o2oj4n ro no_console_suspend initcall_debug
ignore_loglevel
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: cups-filters
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/25/2025
dmi.bios.release: 30.1
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3001
dmi.board.asset.tag: Default string
dmi.board.name: ROG MAXIMUS Z790 HERO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvr3001:bd04/25/2025:br30.1:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnROGMAXIMUSZ790HERO:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: ASUS
modified.conffile..etc.modules-load.d.cups-filters.conf: [modified]
mtime.conffile..etc.modules-load.d.cups-filters.conf: 2026-03-21T16:06:26.720249
** Affects: cups-filters (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2145092
Title:
systemd-modules-load.service hangs for 90s on boot trying to load
legacy parallel port modules (lp, ppdev, parport_pc) from cups-
filters.conf
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/2145092/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs