Michele Petrazzo - Unipex: You should be able to mount tmpfs under /var/lib/shorewall: mount -t tmpfs tmpfs /var/lib/shorewall
You get a writable in-memory filesystem. Well, it would be reasonable to mount whole /var from tmpfs, since it is *meant* to contain files variable with time! Write an initscript for that, just remember to move files around before and after. > Hi list, > I have some "firewall box" that have / mounted in read-only. When I try > to restart shorewall, it say that can't create temporary directory in > /var/lib/shorewall. Looking inside configuration I don't find a > directive where I can specify an alternative writable directory ( /tmp > or /var/tmp ?) where shorewall can do what it want. > Is there a solution? > > Thanks, > Michele > > My test: > > fw:~# shorewall version > 4.4.10 > fw:~# shorewall restart > Compiling... > ERROR: Unable to create temporary file in directory /var/lib/shorewall/ > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Shorewall-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/shorewall-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
