Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Sep 05, 2015 9:40 pm 
Offline

Joined: Sat Sep 05, 2015 9:27 pm
Posts: 1
When installing iptables-persistent and its dependency, netfilter-persistent, the apt job kept failing. While netfilter-persistent still uses an init.d script and the server is on systemd, this error appeared in the log:

Sep 05 20:57:42 server systemd[1]: Unit systemd-modules-load.service entered failed state.
Sep 05 20:57:42 server systemd[1]: Dependency failed for netfilter persistent configuration.
Sep 05 20:57:42 server systemd[1]: Failed to start Load Kernel Modules.
Sep 05 20:57:42 server systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
Sep 05 20:57:42 server systemd-modules-load[21370]: Failed to lookup alias 'loop': Function not implemented
Sep 05 20:57:42 server systemd-modules-load[21370]: could not open moddep file '/lib/modules/4.1.5-x86_64-linode61/modules.dep.bin'
Sep 05 20:57:42 server systemd[1]: Starting Load Kernel Modules...

At first, I assumed that netfliter-persistent was just a bit dated. But I ran depmod and got this output:
depmod: WARNING: could not open /lib/modules/4.1.5-x86_64-linode61/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/4.1.5-x86_64-linode61/modules.builtin: No such file or directory

I then ran into this semi-related thread on the forum (viewtopic.php?f=20&t=10329) where @rsk mentions "ufw assumes a modular kernel and tries to blindly load the netfilter modules - while they're statically built in on a Linode kernel." Is this the case with netfilter-persistent perhaps? If so, what can I do about it?


Top
   
PostPosted: Sun Sep 13, 2015 4:57 pm 
Offline

Joined: Sun Sep 13, 2015 4:48 pm
Posts: 1
I ran into a similar issue earlier today.

This might be related to the issue you are experiencing:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=769356

The solution for me was to comment out "loop" in /etc/modules.


Top
   
PostPosted: Fri Sep 25, 2015 2:32 pm 
Offline

Joined: Fri Sep 25, 2015 2:30 pm
Posts: 1
I am experiencing the exact same issue in getting netfilter-persistent to run, with the exception that mine is complaining about 'fuse' instead of 'loop'. I also get the same error when running depmod. Any help would be appreciated.


Top
   
PostPosted: Wed Oct 14, 2015 7:28 am 
Offline

Joined: Wed Oct 14, 2015 7:22 am
Posts: 1
I was able to resolve this issue the following way:

Code:
sudo echo "fuse" >> /lib/modules/4.1.5-x86_64-linode61/modules.builtin
sudo touch /lib/modules/4.1.5-x86_64-linode61/modules.order
sudo depmod


You should now be able to install the iptables-persistent package.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group