Package: netfilter-persistent
Version: 1.0.2
Severity: wishlist

Dear Maintainer,

I've found a small edge case that may affect a few users.  I run a
couple laptops with read-only root and /etc partitions.  For them, I
place files that I occasionally modify into /var/local/etc because it is
mounted read/write.  This created a small problem with
netfilter-persistent because it would run the firewall loading before
/var was mounted.  So the files that were linked were not available yet.

I was able to fix the issue by making one small change to the file:
        /lib/systemd/system/netfilter-persistent.service

I modified the line:
        After=systemd-modules-load.service
To read:
        After=systemd-modules-load.service local-fs.target

And it appears to wait for the filesystems to be mounted before running
its scripts.  It does not appear to slow down the boot cycle in any
noticeable way and I was curious if this might not be an acceptable
change to the service file?  Or is it something I should just track for
my own use?

Thanks,

Dave

-- System Information:
Debian Release: sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages netfilter-persistent depends on:
ii  init-system-helpers  1.21
ii  lsb-base             4.1+Debian13

netfilter-persistent recommends no packages.

netfilter-persistent suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /lib/systemd/system/netfilter-persistent.service
(from netfilter-persistent package)

-- 
Dave Vehrs                          dve...@gmail.com


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to