Debian Bug report logs -
#769356
systemd-modules-load.service fails when modules.builtin is not present
Reported by: Rother That <rthatbuddy@gmail.com>
Date: Wed, 12 Nov 2014 23:30:17 UTC
Severity: important
Tags: jessie
Done: Michael Biebl <biebl@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to
debian-bugs-dist@lists.debian.org, Jonathan Wiltshire <jmw@debian.org>:
Bug#769356; Package
src:iptables-persistent.
(Wed, 12 Nov 2014 23:30:21 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rother That <rthatbuddy@gmail.com>:
New Bug report received and forwarded. Copy sent to
Jonathan Wiltshire <jmw@debian.org>.
(Wed, 12 Nov 2014 23:30:21 GMT)
Full text and
rfc822 format available.
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: netfilter-persistent
Source: iptables-persistent
Version: 1.0.2
Severity: important
Tags: jessie
I'm running Debian Jessie on Linode's kernel on multiple VM. It works
great. However, I started having this error recently:
> $ sudo systemctl start netfilter-persistent
> A dependency job for netfilter-persistent.service failed. See 'journalctl -xn' for details.
> $ sudo journalctl -xn 30
> -- Logs begin at Fri 2014-10-17 17:30:02 UTC, end at Fri 2014-10-17 17:47:11 UTC. --
> [...]
> Oct 17 17:46:56 prod sudo[5176]: puppet : TTY=pts/0 ; PWD=/home/puppet ; USER=root ; COMMAND=/bin/systemctl start netfilter-persistent
> Oct 17 17:46:56 prod sudo[5176]: pam_unix(sudo:session): session opened for user root by puppet(uid=0)
> Oct 17 17:46:56 prod systemd[1]: Starting Load Kernel Modules...
> -- Subject: Unit systemd-modules-load.service has begun with start-up
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit systemd-modules-load.service has begun starting up.
> Oct 17 17:46:56 prod systemd-modules-load[5179]: could not open builtin file '/lib/modules/3.15.4-x86_64-linode45/modules.builtin.bin'
> Oct 17 17:46:56 prod systemd-modules-load[5179]: Failed to find module 'loop'
> Oct 17 17:46:56 prod systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
> Oct 17 17:46:56 prod systemd[1]: Failed to start Load Kernel Modules.
> -- Subject: Unit systemd-modules-load.service has failed
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit systemd-modules-load.service has failed.
> --
> -- The result is failed.
> Oct 17 17:46:56 prod systemd[1]: Dependency failed for netfilter persistent configuration.
> -- Subject: Unit netfilter-persistent.service has failed
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit netfilter-persistent.service has failed.
> --
> -- The result is dependency.
> Oct 17 17:46:56 prod sudo[5176]: pam_unix(sudo:session): session closed for user root
> Oct 17 17:46:56 prod systemd[1]: Unit systemd-modules-load.service entered failed state.
> [...]
Linode doesn't provide /lib/modules/kernel-linode/modules.builtin, but
this shouldn't be a problem.
Thank you.
Regards,
Roger.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Jonathan Wiltshire <jmw@debian.org>:
Bug#769356; Package
src:iptables-persistent.
(Wed, 19 Nov 2014 18:00:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Roger That <rthatbuddy@gmail.com>:
Extra info received and forwarded to list. Copy sent to
Jonathan Wiltshire <jmw@debian.org>.
(Wed, 19 Nov 2014 18:00:05 GMT)
Full text and
rfc822 format available.
Message #10 received at 769356@bugs.debian.org (full text, mbox, reply):
Control: reassign -1 netfilter-persistent,systemd
I guess this could be fixed in systemd as well.
The fixes are either systemd-modules-load.service shouldn't require
modules.builtin, or netfilter-persistent.service shouldn't depend
systemd-modules-load.service.
No longer marked as found in versions iptables-persistent/1.0.2.
Request was from
Roger That <rthatbuddy@gmail.com>
to
769356-submit@bugs.debian.org.
(Wed, 19 Nov 2014 18:00:06 GMT)
Full text and
rfc822 format available.
Changed Bug title to 'systemd-modules-load.service fails when modules.builtin is not present' from 'netfilter-persistent.service shouldn't require systemd-modules-load.service'
Request was from
Michael Biebl <biebl@debian.org>
to
control@bugs.debian.org.
(Fri, 20 Mar 2015 01:51:12 GMT)
Full text and
rfc822 format available.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Jonathan Wiltshire <jmw@debian.org>, Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>:
Bug#769356; Package
netfilter-persistent,systemd.
(Fri, 20 Mar 2015 01:57:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to
Jonathan Wiltshire <jmw@debian.org>, Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>.
(Fri, 20 Mar 2015 01:57:04 GMT)
Full text and
rfc822 format available.
Message #21 received at 769356@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
control: tags -1 moreinfo
On Wed, 12 Nov 2014 16:28:47 -0700 Rother That <rthatbuddy@gmail.com> wrote:
> Package: netfilter-persistent
> Source: iptables-persistent
> Version: 1.0.2
> Severity: important
> Tags: jessie
>
> I'm running Debian Jessie on Linode's kernel on multiple VM. It works
> great. However, I started having this error recently:
>
> > $ sudo systemctl start netfilter-persistent
> > A dependency job for netfilter-persistent.service failed. See 'journalctl -xn' for details.
> > $ sudo journalctl -xn 30
> > -- Logs begin at Fri 2014-10-17 17:30:02 UTC, end at Fri 2014-10-17 17:47:11 UTC. --
> > [...]
> > Oct 17 17:46:56 prod sudo[5176]: puppet : TTY=pts/0 ; PWD=/home/puppet ; USER=root ; COMMAND=/bin/systemctl start netfilter-persistent
> > Oct 17 17:46:56 prod sudo[5176]: pam_unix(sudo:session): session opened for user root by puppet(uid=0)
> > Oct 17 17:46:56 prod systemd[1]: Starting Load Kernel Modules...
> > -- Subject: Unit systemd-modules-load.service has begun with start-up
> > -- Defined-By: systemd
> > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> > --
> > -- Unit systemd-modules-load.service has begun starting up.
> > Oct 17 17:46:56 prod systemd-modules-load[5179]: could not open builtin file '/lib/modules/3.15.4-x86_64-linode45/modules.builtin.bin'
> > Oct 17 17:46:56 prod systemd-modules-load[5179]: Failed to find module 'loop'
I suspect, the real problem is the failure to load the loop module.
Which either looks like a bug in your configuration or the kernel
missing that module.
> > Oct 17 17:46:56 prod systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
> > Oct 17 17:46:56 prod systemd[1]: Failed to start Load Kernel Modules.
> > -- Subject: Unit systemd-modules-load.service has failed
> > -- Defined-By: systemd
> > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> > --
> > -- Unit systemd-modules-load.service has failed.
> > --
> > -- The result is failed.
> > Oct 17 17:46:56 prod systemd[1]: Dependency failed for netfilter persistent configuration.
> > -- Subject: Unit netfilter-persistent.service has failed
> > -- Defined-By: systemd
> > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> > --
> > -- Unit netfilter-persistent.service has failed.
> > --
> > -- The result is dependency.
> > Oct 17 17:46:56 prod sudo[5176]: pam_unix(sudo:session): session closed for user root
> > Oct 17 17:46:56 prod systemd[1]: Unit systemd-modules-load.service entered failed state.
> > [...]
>
> Linode doesn't provide /lib/modules/kernel-linode/modules.builtin, but
> this shouldn't be a problem.
>
Why should that not be a problem if modules.builtin is missing?
https://www.kernel.org/doc/Documentation/kbuild/kbuild.txt says, that
you really want that, if you don't want modprobe to not fail for builtin
modules.
Is loop builtin in your case?
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[signature.asc (application/pgp-signature, attachment)]
Added tag(s) moreinfo.
Request was from
Michael Biebl <biebl@debian.org>
to
769356-submit@bugs.debian.org.
(Fri, 20 Mar 2015 01:57:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Jonathan Wiltshire <jmw@debian.org>, Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>:
Bug#769356; Package
netfilter-persistent,systemd.
(Fri, 20 Mar 2015 17:39:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Roger That <rthatbuddy@gmail.com>:
Extra info received and forwarded to list. Copy sent to
Jonathan Wiltshire <jmw@debian.org>, Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>.
(Fri, 20 Mar 2015 17:39:04 GMT)
Full text and
rfc822 format available.
Message #28 received at 769356@bugs.debian.org (full text, mbox, reply):
control: tag -1 - moreinfo
On 19/03/15 19:55, Michael Biebl wrote:
> On Wed, 12 Nov 2014 16:28:47 -0700 Rother That <rthatbuddy@gmail.com> wrote:
[...]
>>
>> Linode doesn't provide /lib/modules/kernel-linode/modules.builtin, but
>> this shouldn't be a problem.
>>
>
> Why should that not be a problem if modules.builtin is missing?
In the case of Linode, they boot on a third party kernel which doesn't
provide anything in /lib/modules/ because the kernel is not on the disk.
Another use case would be if you were to boot on a PXE kernel which has
every of its modules built-in. You want to fail silently if
/lib/modules/kernel/modules.builtin doesn't exist.
>
> https://www.kernel.org/doc/Documentation/kbuild/kbuild.txt says, that
> you really want that, if you don't want modprobe to not fail for builtin
> modules.
>
> Is loop builtin in your case?
Yes. Loop is builtin.
Removed tag(s) moreinfo.
Request was from
Roger That <rthatbuddy@gmail.com>
to
769356-submit@bugs.debian.org.
(Fri, 20 Mar 2015 17:39:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Jonathan Wiltshire <jmw@debian.org>, Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>:
Bug#769356; Package
netfilter-persistent,systemd.
(Fri, 20 Mar 2015 17:48:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to
Jonathan Wiltshire <jmw@debian.org>, Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>.
(Fri, 20 Mar 2015 17:48:05 GMT)
Full text and
rfc822 format available.
Message #35 received at 769356@bugs.debian.org (full text, mbox, reply):
Am 2015-03-20 17:36, schrieb Roger That:
> control: tag -1 - moreinfo
>
> On 19/03/15 19:55, Michael Biebl wrote:
>> On Wed, 12 Nov 2014 16:28:47 -0700 Rother That <rthatbuddy@gmail.com>
>> wrote:
> [...]
>>>
>>> Linode doesn't provide /lib/modules/kernel-linode/modules.builtin,
>>> but
>>> this shouldn't be a problem.
>>>
>>
>> Why should that not be a problem if modules.builtin is missing?
>
> In the case of Linode, they boot on a third party kernel which doesn't
> provide anything in /lib/modules/ because the kernel is not on the
> disk.
>
> Another use case would be if you were to boot on a PXE kernel which
> has every of its modules built-in. You want to fail silently if
> /lib/modules/kernel/modules.builtin doesn't exist.
>
>>
>> https://www.kernel.org/doc/Documentation/kbuild/kbuild.txt says, that
>> you really want that, if you don't want modprobe to not fail for
>> builtin
>> modules.
>>
>> Is loop builtin in your case?
>
> Yes. Loop is builtin.
Do you have loop in /etc/modules or /etc/modules-load.d/*?
If so, the error is expected behaviour, as outlined above.
If you don't want the error, either ship a modules.builtin with your
kernel or don't try to load a builtin module.
Information forwarded
to
debian-bugs-dist@lists.debian.org, Jonathan Wiltshire <jmw@debian.org>, Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>:
Bug#769356; Package
netfilter-persistent,systemd.
(Fri, 20 Mar 2015 21:21:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Roger That <rthatbuddy@gmail.com>:
Extra info received and forwarded to list. Copy sent to
Jonathan Wiltshire <jmw@debian.org>, Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>.
(Fri, 20 Mar 2015 21:21:05 GMT)
Full text and
rfc822 format available.
Message #40 received at 769356@bugs.debian.org (full text, mbox, reply):
control: thanks
I'm not sure how to close this bug.
On 20/03/15 11:45, Michael Biebl wrote:
> Do you have loop in /etc/modules or /etc/modules-load.d/*?
>
> If so, the error is expected behaviour, as outlined above.
> If you don't want the error, either ship a modules.builtin with your
> kernel or don't try to load a builtin module.
Okay. Nevermind, you're totally right. 'loop' is in /etc/modules.
This is a bug between the chair and the keyboard.
Sorry about that.
Thank you.
Reply sent
to
Michael Biebl <biebl@debian.org>:
You have taken responsibility.
(Fri, 20 Mar 2015 21:24:06 GMT)
Full text and
rfc822 format available.
Notification sent
to
Rother That <rthatbuddy@gmail.com>:
Bug acknowledged by developer.
(Fri, 20 Mar 2015 21:24:06 GMT)
Full text and
rfc822 format available.
Message #45 received at 769356-done@bugs.debian.org (full text, mbox, reply):
Am 2015-03-20 21:15, schrieb Roger That:
> control: thanks
>
> I'm not sure how to close this bug.
Appending a -done to the bug number in the email adress closes the bug
[0]. See [1] and [2] how to manipulate bug reports.
> On 20/03/15 11:45, Michael Biebl wrote:
>> Do you have loop in /etc/modules or /etc/modules-load.d/*?
>>
>> If so, the error is expected behaviour, as outlined above.
>> If you don't want the error, either ship a modules.builtin with your
>> kernel or don't try to load a builtin module.
>
> Okay. Nevermind, you're totally right. 'loop' is in /etc/modules.
> This is a bug between the chair and the keyboard.
>
> Sorry about that.
No problem,
Michael
[0] https://www.debian.org/Bugs/Developer#closing
[1] https://www.debian.org/Bugs/Developer
[2] https://www.debian.org/Bugs/server-control
Bug archived.
Request was from
Debbugs Internal Request <owner@bugs.debian.org>
to
internal_control@bugs.debian.org.
(Sat, 18 Apr 2015 07:27:37 GMT)
Full text and
rfc822 format available.
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jan 6 01:22:33 2016;
Machine Name:
beach
Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.