systemd-modules-load.service fails: /etc/modules contains nonexisting module "rtc"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hw-detect (Ubuntu) |
Fix Released
|
Undecided
|
Dimitri John Ledkov | ||
kmod (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since day one, when I have switched on systemd as PID 1 , the service [systemd-
:~$ systemctl list-units --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
systemd-
:~# systemctl status systemd-
systemd-
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Τετ 2014-05-07 14:39:26 EEST; 38min ago
Docs: man:systemd-
Process: 337 ExecStart=
I have ran the service directly via:
:~# /lib/systemd/
and the errors was
Module 'fuse' is builtin
Failed to find module 'rtc'
could not find module by name='off'
Failed to insert 'off': Function not implemented
could not find module by name='off'
Failed to insert 'off': Function not implemented
I have searched/found and removed the affected modules from
/etc/modules (which is a symlink on /etc/modules-
Now [systemd-
Certainly I didn't add these modules manually at the related directories and I am thinking if this is a bug on how the affected modules should be loaded and how the related configuration files should be written.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: systemd 204-10ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.2-0ubuntu2
Architecture: amd64
Date: Wed May 7 15:16:23 2014
InstallationDate: Installed on 2014-03-24 (43 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140323)
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in hw-detect (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in hw-detect (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in kmod (Ubuntu): | |
status: | Triaged → Fix Committed |
Ah, thanks for filing that. It was on my TODO list for a week, but didn't get to it yet :)
The root cause is that "rtc" has stopped being a module ages ago. Plan:
- fix hw-detect to not put it into /etc/modules any more. While being on that, let's also remove lp, as cups/cups-browsed's init scripts/jobs already load it.
- Remove "rtc" (and "lp") on upgrades. I think kmod's postinst would be an appropriate place for that.