[Bug 1317077] Re: systemd-modules-load.service fails: /etc/modules contains nonexisting module "rtc"

Martin Pitt martin.pitt at ubuntu.com
Thu May 8 03:38:47 UTC 2014


Nik.Th. [2014-05-07 16:08 -0000]:
> my /etc/modules file has been modified by me, when I tried to fix the
> failure of the service.

Right, and I was interested in whether you modified it in a way that
is supposed to be compatible with kmod, or it really was an invalid
syntax.

> But I can assure you that didn't contain anything related to  "off"
> or similar.  Now it has only 'lp' module there. Maybe it was related
> to 'rtc'

Yes, it definitively was related to rtc, that's what Dimitri's updates
fixed (i. e. removes rtc on new installs and upgrades).

> Also, if you can take care off this fuse.conf file inside /lib/modules-
> load.d/ directory it would be better. I mean, this configuration file
> has the same impact on the systemd-module-load.service, it causes its
> failure.

Not here. Can you please show me "systemctl status systemd-module-load"?
That ought to have an error message about that.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hw-detect in Ubuntu.
https://bugs.launchpad.net/bugs/1317077

Title:
  systemd-modules-load.service fails: /etc/modules contains nonexisting
  module "rtc"

Status in “hw-detect” package in Ubuntu:
  Fix Released
Status in “kmod” package in Ubuntu:
  Fix Released

Bug description:
  Since day one, when I have switched on systemd as PID 1 , the service
  [systemd-modules-load.service] always exited with a FAILURE status=1.

  :~$ systemctl list-units --failed
  UNIT                                                 LOAD     ACTIVE    SUB       DESCRIPTION
  systemd-modules-load.service   loaded   failed       failed     Load Kernel Modules

  :~# systemctl status systemd-modules-load.service
  systemd-modules-load.service - Load Kernel Modules
     Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
     Active: failed (Result: exit-code) since Τετ 2014-05-07 14:39:26 EEST; 38min ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
    Process: 337 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)

  I have ran the service directly via:

  :~# /lib/systemd/systemd-modules-load

  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-load.d/modules.conf)

  and

  /lib/modules-load.d/fuse.conf (this I have renamed to fuse.conf.bad)

  Also I saw that [fuse.service] is masked, but I guess this is on
  purpose due to active developing.

  Now [systemd-modules-load.service] is exiting with a SUCCESS status=0.

  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
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hw-detect/+bug/1317077/+subscriptions



More information about the foundations-bugs mailing list