<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hi Wayne,<BR>
 <BR>
Just re-did the instructions from scratch:<BR>
 <BR>
 <BR>
voyage:/var/lib/shorewall# mv /var/lib/shorewall /ro/var/lib/shorewall<BR>voyage:/var/lib/shorewall# ln -s /rw//var/lib/shorewall /var/lib/shorewall<BR>remountro<BR>
fastreboot<BR>
<BR>However on start its complaining shorewall directory is a symbolic link!<BR>
<BR>voyage:/etc/shorewall# shorewall start<BR>Compiling...<BR>
Initializing...<BR>   ERROR: /var/lib/shorewall is a Symbolic Link<BR><BR>I will try and hunt in the scripts it i can just set the above directory elsewhere to the ram disk /var/tmp<BR>
 <BR>
Any ideas on the above?<BR>
 <BR>
Many thanks,<BR>
 <BR>
Chris<BR><BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
Subject: RE: [Voyage-linux] Shorewall Read Only /var/lib/shorewall/ problem<BR>Date: Wed, 12 Mar 2008 13:03:08 +0000<BR>From: wayne.lee@link-connect.com<BR>To: voyage-linux@voyage.hk<BR>CC: <BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .EC_shape
{;}
</STYLE>

<STYLE>
.ExternalClass EC_p.MsoNormal, .ExternalClass EC_li.MsoNormal, .ExternalClass EC_div.MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass EC_span.MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass EC_span.MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass EC_span.EmailStyle18
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .EC_MsoChpDefault
{font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;}
.ExternalClass EC_div.Section1
{page:Section1;}

</STYLE>

<DIV class=EC_Section1>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Chris</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I also noticed when using shorewall it did slow down the throughput of the data.</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I can get double the amount without shorewall, the test was done on a old version of shorewall and voyage and I have not retested recently.</SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"> </SPAN></P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=EC_MsoNormal><B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN lang=EN-US style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> voyage-linux-bounces+wayne.lee=link-connect.com@list.voyage.hk [mailto:voyage-linux-bounces+wayne.lee=link-connect.com@list.voyage.hk] <B>On Behalf Of </B>Chris Morley<BR><B>Sent:</B> 12 March 2008 12:50<BR><B>To:</B> voyage-linux@voyage.hk<BR><B>Subject:</B> [Voyage-linux] Shorewall Read Only /var/lib/shorewall/ problem</SPAN></P></DIV></DIV>
<P class=EC_MsoNormal> </P>
<P class=EC_MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Hi,<BR> <BR>I am trying to get shorewall running and whilst it installs from apt-get fine, i am having issues with the Read only file system. Shorewall seems to write the compiled scripts into /var/lib/shorewall. When i run remountrw there is no problem, however with remountro hitting 'shorewall start' in the shell gives a whole raft of errors:<BR><BR>Compiling...<BR>/usr/share/shorewall/functions: line 1704: /var/lib/shorewall/.modulesdir: Read-only file system<BR>cp: cannot remove `/var/lib/shorewall/.modules': Read-only file system<BR><BR>[..snip..]<BR><BR>/var/lib/shorewall/.start: line 1046: /var/lib/shorewall/chains: Read-only file system<BR>/var/lib/shorewall/.start: line 1048: /var/lib/shorewall/nat: Read-only file system<BR>/var/lib/shorewall/.start: line 1050: /var/lib/shorewall/proxyarp: Read-only file system<BR>/var/lib/shorewall/.start: line 1052: /var/lib/shorewall/zones: Read-only file system<BR>/var/lib/shorewall/.start: line 1065: /var/lib/shorewall/restarted: Read-only file system<BR>Processing /etc/shorewall/start ...<BR>/usr/share/shorewall/functions: line 2368: /var/lib/shorewall/state: Read-only file system<BR>Processing /etc/shorewall/started ...<BR>cp: cannot remove `/var/lib/shorewall/.restore': Read-only file system<BR>done.<BR> <BR>Is there any way that this /var/lib/shorewall/ directory can be made rw? Or perhaps even plain old ramdisk is ok, but consist of a default set of files upon boot? Would appreciate insights if the two options above are possible.<BR> <BR>The other option is for me to change the init.d/shorewall scripts to remountrw and remountro around the start and stop parts, but i would prefer the solution above and it would also help me learn about voyage linux which rocks :)<BR> <BR>Many thanks in advance,<BR> <BR>Chris</SPAN></P>
<DIV class=EC_MsoNormal style="TEXT-ALIGN: center" align=center><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
<HR align=center width="100%" SIZE=2>
</SPAN></DIV>
<P class=EC_MsoNormal><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Everything in one place. <A href="http://www.windowslive.co.uk/get-live" target=_blank>All new Windows Live!</A></SPAN></P></DIV></BLOCKQUOTE><br /><hr />Think you know your TV, music and film? <a href='https://www.searchcharades.com' target='_new'>Try Search Charades!</a></body>
</html>